uk.ac.manchester.cs.owl
Class OWLValueRestrictionImpl<P extends OWLPropertyExpression,V extends OWLObject>

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.OWLValueRestrictionImpl<P,V>
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAnonymousDescription, OWLDescription, OWLObject, OWLPropertyRange, OWLRestriction<P>, OWLValueRestriction<P,V>
Direct Known Subclasses:
OWLDataValueRestrictionImpl, OWLObjectValueRestrictionImpl

public abstract class OWLValueRestrictionImpl<P extends OWLPropertyExpression,V extends OWLObject>
extends OWLRestrictionImpl<P>
implements OWLValueRestriction<P,V>

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


Method Summary
 boolean equals(java.lang.Object obj)
           
 V getValue()
          Gets the value which is the filler for this restriction.
 
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.OWLValueRestriction
asSomeValuesFrom
 
Methods inherited from interface org.semanticweb.owl.model.OWLRestriction
getProperty
 
Methods inherited from interface org.semanticweb.owl.model.OWLDescription
accept, accept, asOWLClass, getComplementNNF, getNNF, isAnonymous, isLiteral, isOWLNothing, isOWLThing
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, accept, getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getValue

public V getValue()
Description copied from interface: OWLValueRestriction
Gets the value which is the filler for this restriction. In the case of an object restriction this will be an individual, in the case of a data restriction this will be a constant (data value).

Specified by:
getValue in interface OWLValueRestriction<P extends OWLPropertyExpression,V extends OWLObject>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class OWLRestrictionImpl<P extends OWLPropertyExpression>