uk.ac.manchester.cs.owl
Class OWLObjectExactCardinalityRestrictionImpl

java.lang.Object
  extended by uk.ac.manchester.cs.owl.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.OWLAnonymousDescriptionImpl
          extended by uk.ac.manchester.cs.owl.OWLRestrictionImpl<P>
              extended by uk.ac.manchester.cs.owl.OWLCardinalityRestrictionImpl<OWLObjectPropertyExpression,OWLDescription>
                  extended by uk.ac.manchester.cs.owl.OWLObjectCardinalityRestrictionImpl
                      extended by uk.ac.manchester.cs.owl.OWLObjectExactCardinalityRestrictionImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAnonymousDescription, OWLCardinalityRestriction<OWLObjectPropertyExpression,OWLDescription>, OWLDescription, OWLObject, OWLObjectCardinalityRestriction, OWLObjectExactCardinalityRestriction, OWLPropertyRange, OWLQuantifiedRestriction<OWLObjectPropertyExpression,OWLDescription>, OWLRestriction<OWLObjectPropertyExpression>

public class OWLObjectExactCardinalityRestrictionImpl
extends OWLObjectCardinalityRestrictionImpl
implements OWLObjectExactCardinalityRestriction

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


Constructor Summary
OWLObjectExactCardinalityRestrictionImpl(OWLDataFactory dataFactory, OWLObjectPropertyExpression property, int cardinality, OWLDescription filler)
           
 
Method Summary
 void accept(OWLDescriptionVisitor visitor)
          Accepts a visit from an OWLDescriptionVisitor
<O> O
accept(OWLDescriptionVisitorEx<O> visitor)
           
 void accept(OWLObjectVisitor visitor)
           
<O> O
accept(OWLObjectVisitorEx<O> visitor)
           
 OWLDescription asIntersectionOfMinMax()
          Obtains an equivalent form that is a conjunction of a min cardinality and max cardinality restriction.
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectCardinalityRestrictionImpl
isQualified
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLCardinalityRestrictionImpl
getCardinality, getFiller
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLRestrictionImpl
getProperty, isLiteral
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLAnonymousDescriptionImpl
asOWLClass, getComplementNNF, getNNF, isAnonymous, isOWLNothing, isOWLThing
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectImpl
compareTo, getOWLDataFactory, getSignature, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.model.OWLCardinalityRestriction
getCardinality, isQualified
 
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
asOWLClass, getComplementNNF, getNNF, isAnonymous, isLiteral, isOWLNothing, isOWLThing
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OWLObjectExactCardinalityRestrictionImpl

public OWLObjectExactCardinalityRestrictionImpl(OWLDataFactory dataFactory,
                                                OWLObjectPropertyExpression property,
                                                int cardinality,
                                                OWLDescription filler)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class OWLObjectCardinalityRestrictionImpl

asIntersectionOfMinMax

public OWLDescription asIntersectionOfMinMax()
Description copied from interface: OWLObjectExactCardinalityRestriction
Obtains an equivalent form that is a conjunction of a min cardinality and max cardinality restriction.

Specified by:
asIntersectionOfMinMax in interface OWLObjectExactCardinalityRestriction
Returns:
The semantically equivalent but structurally simpler form simp(= 1 R C) = >= 1 R C and <= 1 R C

accept

public void accept(OWLDescriptionVisitor visitor)
Description copied from interface: OWLDescription
Accepts a visit from an OWLDescriptionVisitor

Specified by:
accept in interface OWLDescription
Parameters:
visitor - The visitor that wants to visit

accept

public void accept(OWLObjectVisitor visitor)
Specified by:
accept in interface OWLObject

accept

public <O> O accept(OWLDescriptionVisitorEx<O> visitor)
Specified by:
accept in interface OWLDescription

accept

public <O> O accept(OWLObjectVisitorEx<O> visitor)
Specified by:
accept in interface OWLObject