org.semanticweb.HermiT.model
Class AtMostAbstractRoleGuard

java.lang.Object
  extended by org.semanticweb.HermiT.model.Concept
      extended by org.semanticweb.HermiT.model.LiteralConcept
          extended by org.semanticweb.HermiT.model.AtomicConcept
              extended by org.semanticweb.HermiT.model.AtMostAbstractRoleGuard
All Implemented Interfaces:
java.io.Serializable, DLPredicate

public class AtMostAbstractRoleGuard
extends AtomicConcept

Represents a guard for number restrictions on abstract roles.

See Also:
Serialized Form

Field Summary
protected  int m_cardinality
           
protected  Role m_onRole
           
protected  AtomicConcept m_toAtomicConcept
           
protected static InterningManager<AtMostAbstractRoleGuard> s_interningManager
           
private static long serialVersionUID
           
 
Fields inherited from class org.semanticweb.HermiT.model.AtomicConcept
m_uri, NOTHING, RDFS_LITERAL, THING
 
Constructor Summary
protected AtMostAbstractRoleGuard(int cardinality, Role onRole, AtomicConcept toAtomicConcept)
           
 
Method Summary
static AtMostAbstractRoleGuard create(int cardinality, Role onRole, AtomicConcept toAtomicConcept)
           
 int getCaridnality()
           
 Role getOnRole()
           
 AtomicConcept getToAtomicConcept()
           
protected  java.lang.Object readResolve()
           
 java.lang.String toString(Namespaces namespaces)
           
 
Methods inherited from class org.semanticweb.HermiT.model.AtomicConcept
create, getArity, getExisting, getURI
 
Methods inherited from class org.semanticweb.HermiT.model.Concept
toString
 
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

m_cardinality

protected final int m_cardinality

m_onRole

protected final Role m_onRole

m_toAtomicConcept

protected final AtomicConcept m_toAtomicConcept

s_interningManager

protected static InterningManager<AtMostAbstractRoleGuard> s_interningManager
Constructor Detail

AtMostAbstractRoleGuard

protected AtMostAbstractRoleGuard(int cardinality,
                                  Role onRole,
                                  AtomicConcept toAtomicConcept)
Method Detail

getCaridnality

public int getCaridnality()

getOnRole

public Role getOnRole()

getToAtomicConcept

public AtomicConcept getToAtomicConcept()

readResolve

protected java.lang.Object readResolve()
Overrides:
readResolve in class AtomicConcept

toString

public java.lang.String toString(Namespaces namespaces)
Specified by:
toString in interface DLPredicate
Overrides:
toString in class AtomicConcept

create

public static AtMostAbstractRoleGuard create(int cardinality,
                                             Role onRole,
                                             AtomicConcept toAtomicConcept)