uk.ac.manchester.cs.owl
Class OWLDataOneOfImpl

java.lang.Object
  extended by uk.ac.manchester.cs.owl.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.OWLDataOneOfImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLDataOneOf, OWLDataRange, OWLObject, OWLPropertyRange

public class OWLDataOneOfImpl
extends OWLObjectImpl
implements OWLDataOneOf

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


Constructor Summary
OWLDataOneOfImpl(OWLDataFactory dataFactory, java.util.Set<? extends OWLConstant> values)
           
 
Method Summary
 void accept(OWLDataVisitor visitor)
           
<O> O
accept(OWLDataVisitorEx<O> visitor)
           
 void accept(OWLObjectVisitor visitor)
           
<O> O
accept(OWLObjectVisitorEx<O> visitor)
           
 boolean equals(java.lang.Object obj)
           
 java.util.Set<OWLConstant> getValues()
          Gets the values (constants) that this data range consists of.
 boolean isDataType()
          Determines if this data range is a datatype (int, float, ...)
 
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.OWLObject
getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OWLDataOneOfImpl

public OWLDataOneOfImpl(OWLDataFactory dataFactory,
                        java.util.Set<? extends OWLConstant> values)
Method Detail

getValues

public java.util.Set<OWLConstant> getValues()
Description copied from interface: OWLDataOneOf
Gets the values (constants) that this data range consists of. These may be typed or untyped constants.

Specified by:
getValues in interface OWLDataOneOf

isDataType

public boolean isDataType()
Description copied from interface: OWLDataRange
Determines if this data range is a datatype (int, float, ...)

Specified by:
isDataType in interface OWLDataRange
Returns:
true if this datarange is a datatype, or false if it is not a datatype and is some other data range such as a data range restriction, data oneOf or data complementOf.

equals

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

accept

public void accept(OWLDataVisitor visitor)
Specified by:
accept in interface OWLDataRange

accept

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

accept

public <O> O accept(OWLDataVisitorEx<O> visitor)
Specified by:
accept in interface OWLDataRange

accept

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