uk.ac.manchester.cs.owl
Class OWLDataExactCardinalityRestrictionImpl

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<OWLDataPropertyExpression,OWLDataRange>
                  extended by uk.ac.manchester.cs.owl.OWLDataCardinalityRestrictionImpl
                      extended by uk.ac.manchester.cs.owl.OWLDataExactCardinalityRestrictionImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAnonymousDescription, OWLCardinalityRestriction<OWLDataPropertyExpression,OWLDataRange>, OWLDataCardinalityRestriction, OWLDataExactCardinalityRestriction, OWLDescription, OWLObject, OWLPropertyRange, OWLQuantifiedRestriction<OWLDataPropertyExpression,OWLDataRange>, OWLRestriction<OWLDataPropertyExpression>

public class OWLDataExactCardinalityRestrictionImpl
extends OWLDataCardinalityRestrictionImpl
implements OWLDataExactCardinalityRestriction

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


Constructor Summary
OWLDataExactCardinalityRestrictionImpl(OWLDataFactory dataFactory, OWLDataPropertyExpression property, int cardinality, OWLDataRange 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.OWLDataCardinalityRestrictionImpl
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

OWLDataExactCardinalityRestrictionImpl

public OWLDataExactCardinalityRestrictionImpl(OWLDataFactory dataFactory,
                                              OWLDataPropertyExpression property,
                                              int cardinality,
                                              OWLDataRange filler)
Method Detail

equals

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

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

asIntersectionOfMinMax

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

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