java.lang.Object
uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
uk.ac.manchester.cs.owl.owlapi.OWLClassExpressionImpl
uk.ac.manchester.cs.owl.owlapi.OWLAnonymousClassExpressionImpl
uk.ac.manchester.cs.owl.owlapi.OWLRestrictionImpl<R,P,F>
uk.ac.manchester.cs.owl.owlapi.OWLCardinalityRestrictionImpl<R,P,F>
- All Implemented Interfaces:
- java.lang.Comparable<OWLObject>, OWLAnonymousClassExpression, OWLCardinalityRestriction<R,P,F>, OWLClassExpression, OWLObject, OWLPropertyRange, OWLQuantifiedRestriction<R,P,F>, OWLRestriction<R,P,F>, SWRLPredicate
- Direct Known Subclasses:
- OWLDataCardinalityRestrictionImpl, OWLObjectCardinalityRestrictionImpl
public abstract class OWLCardinalityRestrictionImpl<R extends OWLPropertyRange,P extends OWLPropertyExpression<R,P>,F extends OWLPropertyRange>
- extends OWLRestrictionImpl<R,P,F>
- implements OWLCardinalityRestriction<R,P,F>
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl |
compareSets, compareTo, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, isBottomEntity, isTopEntity, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.semanticweb.owlapi.model.OWLClassExpression |
accept, accept, asConjunctSet, asDisjunctSet, asOWLClass, containsConjunct, getClassExpressionType, getComplementNNF, getNNF, getObjectComplementOf, isAnonymous, isClassExpressionLiteral, isOWLNothing, isOWLThing |
OWLCardinalityRestrictionImpl
protected OWLCardinalityRestrictionImpl(OWLDataFactory dataFactory,
P property,
int cardinality,
F filler)
getCardinality
public int getCardinality()
- Description copied from interface:
OWLCardinalityRestriction
- Gets the cardinality of this restriction
- Specified by:
getCardinality
in interface OWLCardinalityRestriction<R extends OWLPropertyRange,P extends OWLPropertyExpression<R,P>,F extends OWLPropertyRange>
- Returns:
- The cardinality of this restriction
getFiller
public F getFiller()
- Specified by:
getFiller
in interface OWLQuantifiedRestriction<R extends OWLPropertyRange,P extends OWLPropertyExpression<R,P>,F extends OWLPropertyRange>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OWLRestrictionImpl<R extends OWLPropertyRange,P extends OWLPropertyExpression<R,P>,F extends OWLPropertyRange>
compareObjectOfSameType
protected final int compareObjectOfSameType(OWLObject object)
- Specified by:
compareObjectOfSameType
in class OWLObjectImpl