org.semanticweb.HermiT.model
Class Role

java.lang.Object
  extended by org.semanticweb.HermiT.model.Role
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AtomicRole, InverseRole

public abstract class Role
extends java.lang.Object
implements java.io.Serializable

Represents a role.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
Role()
           
 
Method Summary
static Role fromString(java.lang.String s)
           
static Role fromString(java.lang.String s, Namespaces n)
           
abstract  Role getInverse()
           
abstract  boolean isRestrictedToDatatypes()
           
 java.lang.String toString()
           
abstract  java.lang.String toString(Namespaces namespaces)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

Role

public Role()
Method Detail

getInverse

public abstract Role getInverse()

isRestrictedToDatatypes

public abstract boolean isRestrictedToDatatypes()

toString

public abstract java.lang.String toString(Namespaces namespaces)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

fromString

public static Role fromString(java.lang.String s,
                              Namespaces n)

fromString

public static Role fromString(java.lang.String s)