uk.ac.manchester.cs.owl
Class OWLObjectValueRestrictionImpl

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<OWLObjectPropertyExpression,OWLIndividual>
                  extended by uk.ac.manchester.cs.owl.OWLObjectValueRestrictionImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAnonymousDescription, OWLDescription, OWLObject, OWLObjectValueRestriction, OWLPropertyRange, OWLRestriction<OWLObjectPropertyExpression>, OWLValueRestriction<OWLObjectPropertyExpression,OWLIndividual>

public class OWLObjectValueRestrictionImpl
extends OWLValueRestrictionImpl<OWLObjectPropertyExpression,OWLIndividual>
implements OWLObjectValueRestriction

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


Constructor Summary
OWLObjectValueRestrictionImpl(OWLDataFactory dataFactory, OWLObjectPropertyExpression property, OWLIndividual value)
           
 
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 asSomeValuesFrom()
          A convenience method that obtains this restriction as an existential restriction with a nominal filler.
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLValueRestrictionImpl
getValue
 
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
getValue
 
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

OWLObjectValueRestrictionImpl

public OWLObjectValueRestrictionImpl(OWLDataFactory dataFactory,
                                     OWLObjectPropertyExpression property,
                                     OWLIndividual value)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class OWLValueRestrictionImpl<OWLObjectPropertyExpression,OWLIndividual>

asSomeValuesFrom

public OWLDescription asSomeValuesFrom()
Description copied from interface: OWLValueRestriction
A convenience method that obtains this restriction as an existential restriction with a nominal filler.

Specified by:
asSomeValuesFrom in interface OWLValueRestriction<OWLObjectPropertyExpression,OWLIndividual>
Returns:
The existential equivalent of this value restriction. simp(HasValue(p a)) = some(p {a})

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