org.semanticweb.owlapi.model
Interface OWLCardinalityRestriction<R extends OWLPropertyRange,P extends OWLPropertyExpression<R,P>,F extends OWLPropertyRange>

All Superinterfaces:
java.lang.Comparable<OWLObject>, OWLAnonymousClassExpression, OWLClassExpression, OWLObject, OWLPropertyRange, OWLQuantifiedRestriction<R,P,F>, OWLRestriction<R,P,F>, SWRLPredicate
All Known Subinterfaces:
OWLDataCardinalityRestriction, OWLDataExactCardinality, OWLDataMaxCardinality, OWLDataMinCardinality, OWLObjectCardinalityRestriction, OWLObjectExactCardinality, OWLObjectMaxCardinality, OWLObjectMinCardinality
All Known Implementing Classes:
OWLCardinalityRestrictionImpl, OWLDataCardinalityRestrictionImpl, OWLDataExactCardinalityImpl, OWLDataMaxCardinalityImpl, OWLDataMinCardinalityImpl, OWLObjectCardinalityRestrictionImpl, OWLObjectExactCardinalityImpl, OWLObjectMaxCardinalityImpl, OWLObjectMinCardinalityImpl

public interface OWLCardinalityRestriction<R extends OWLPropertyRange,P extends OWLPropertyExpression<R,P>,F extends OWLPropertyRange>
extends OWLQuantifiedRestriction<R,P,F>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group Date: 24-Oct-2006


Method Summary
 int getCardinality()
          Gets the cardinality of this restriction
 boolean isQualified()
          Determines if this restriction is qualified.
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLQuantifiedRestriction
getFiller
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLRestriction
getProperty, isDataRestriction, isObjectRestriction
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLClassExpression
accept, accept, asConjunctSet, asDisjunctSet, asOWLClass, containsConjunct, getClassExpressionType, getComplementNNF, getNNF, getObjectComplementOf, isAnonymous, isClassExpressionLiteral, isOWLNothing, isOWLThing
 

Method Detail

getCardinality

int getCardinality()
Gets the cardinality of this restriction

Returns:
The cardinality of this restriction

isQualified

boolean isQualified()
Determines if this restriction is qualified. Qualified cardinality restrictions are defined to be cardinality restrictions that have fillers which aren't TOP (owl:Thing or rdfs:Literal). An object restriction is unqualified if it has a filler that is owl:Thing. A data restriction is unqualified if it has a filler which is the top data type (rdfs:Literal).

Returns:
true if this restriction is qualified, or false if this restriction is unqualified.