org.semanticweb.HermiT.model
Class AtomicRole
java.lang.Object
org.semanticweb.HermiT.model.Role
org.semanticweb.HermiT.model.AtomicRole
- All Implemented Interfaces:
- java.io.Serializable, DLPredicate
public class AtomicRole
- extends Role
- implements DLPredicate
Represents an atomic role.
- See Also:
- Serialized Form
Constructor Summary |
protected |
AtomicRole(java.lang.String iri)
|
Methods inherited from class org.semanticweb.HermiT.model.Role |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_iri
protected final java.lang.String m_iri
s_interningManager
protected static InterningManager<AtomicRole> s_interningManager
TOP_OBJECT_ROLE
public static final AtomicRole TOP_OBJECT_ROLE
BOTTOM_OBJECT_ROLE
public static final AtomicRole BOTTOM_OBJECT_ROLE
TOP_DATA_ROLE
public static final AtomicRole TOP_DATA_ROLE
BOTTOM_DATA_ROLE
public static final AtomicRole BOTTOM_DATA_ROLE
AtomicRole
protected AtomicRole(java.lang.String iri)
getIRI
public java.lang.String getIRI()
getArity
public int getArity()
- Specified by:
getArity
in interface DLPredicate
getInverse
public Role getInverse()
- Specified by:
getInverse
in class Role
getRoleAssertion
public Atom getRoleAssertion(Term term0,
Term term1)
- Specified by:
getRoleAssertion
in class Role
toString
public java.lang.String toString(Prefixes prefixes)
- Specified by:
toString
in interface DLPredicate
- Specified by:
toString
in class Role
readResolve
protected java.lang.Object readResolve()
create
public static AtomicRole create(java.lang.String iri)