uk.ac.manchester.cs.owl
Class OWLDataRangeRestrictionImpl
java.lang.Object
uk.ac.manchester.cs.owl.OWLObjectImpl
uk.ac.manchester.cs.owl.OWLDataRangeRestrictionImpl
- All Implemented Interfaces:
- java.lang.Comparable<OWLObject>, OWLDataRange, OWLDataRangeRestriction, OWLObject, OWLPropertyRange
public class OWLDataRangeRestrictionImpl
- extends OWLObjectImpl
- implements OWLDataRangeRestriction
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 |
OWLDataRangeRestrictionImpl
public OWLDataRangeRestrictionImpl(OWLDataFactory dataFactory,
OWLDataRange dataRange,
java.util.Set<OWLDataRangeFacetRestriction> facetRestrictions)
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.
getDataRange
public OWLDataRange getDataRange()
- Description copied from interface:
OWLDataRangeRestriction
- Gets the data range that this data range restricts.
- Specified by:
getDataRange
in interface OWLDataRangeRestriction
getFacetRestrictions
public java.util.Set<OWLDataRangeFacetRestriction> getFacetRestrictions()
- Gets the facet restrictions on this data range
- Specified by:
getFacetRestrictions
in interface OWLDataRangeRestriction
- Returns:
- A
Set
of facet restrictions that apply to
this data range
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