uk.ac.manchester.cs.owl
Class OWLDataOneOfImpl
java.lang.Object
uk.ac.manchester.cs.owl.OWLObjectImpl
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
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
OWLDataOneOfImpl
public OWLDataOneOfImpl(OWLDataFactory dataFactory,
java.util.Set<? extends OWLConstant> values)
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