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

All Superinterfaces:
java.lang.Comparable<OWLObject>, OWLAnonymousDescription, OWLDescription, OWLObject, OWLPropertyRange, OWLQuantifiedRestriction<P,F>, OWLRestriction<P>
All Known Subinterfaces:
OWLDataCardinalityRestriction, OWLDataExactCardinalityRestriction, OWLDataMaxCardinalityRestriction, OWLDataMinCardinalityRestriction, OWLObjectCardinalityRestriction, OWLObjectExactCardinalityRestriction, OWLObjectMaxCardinalityRestriction, OWLObjectMinCardinalityRestriction

public interface OWLCardinalityRestriction<P extends OWLPropertyExpression,F extends OWLPropertyRange>
extends OWLQuantifiedRestriction<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.owl.model.OWLQuantifiedRestriction
getFiller
 
Methods inherited from interface org.semanticweb.owl.model.OWLRestriction
getProperty
 
Methods inherited from interface org.semanticweb.owl.model.OWLDescription
accept, accept, asOWLClass, isAnonymous, isOWLNothing, isOWLThing
 

Method Detail

getCardinality

int getCardinality()
Gets 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.