|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
uk.ac.manchester.cs.owl.owlapi.OWLDatatypeRestrictionImpl
public class OWLDatatypeRestrictionImpl
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006
Constructor Summary | |
---|---|
OWLDatatypeRestrictionImpl(OWLDataFactory dataFactory,
OWLDatatype datatype,
java.util.Set<OWLFacetRestriction> facetRestrictions)
|
Method Summary | ||
---|---|---|
void |
accept(OWLDataVisitor visitor)
|
|
|
accept(OWLDataVisitorEx<O> visitor)
|
|
void |
accept(OWLObjectVisitor visitor)
|
|
|
accept(OWLObjectVisitorEx<O> visitor)
|
|
OWLDatatype |
asOWLDatatype()
|
|
protected int |
compareObjectOfSameType(OWLObject object)
|
|
boolean |
equals(java.lang.Object obj)
|
|
DataRangeType |
getDataRangeType()
Gets the type of this data range |
|
OWLDatatype |
getDatatype()
Gets the data range that this data range restricts. |
|
java.util.Set<OWLFacetRestriction> |
getFacetRestrictions()
Gets the facet restrictions on this data range |
|
boolean |
isDatatype()
Determines if this data range is a datatype (int, float, ...) |
|
boolean |
isTopDatatype()
Determines if this data range is the top data type. |
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl |
---|
compareSets, compareTo, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OWLDatatypeRestrictionImpl(OWLDataFactory dataFactory, OWLDatatype datatype, java.util.Set<OWLFacetRestriction> facetRestrictions)
Method Detail |
---|
public DataRangeType getDataRangeType()
OWLDataRange
getDataRangeType
in interface OWLDataRange
public boolean isDatatype()
OWLDataRange
isDatatype
in interface OWLDataRange
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.public boolean isTopDatatype()
OWLDataRange
isTopDatatype
in interface OWLDataRange
true
if this data range is the top datatype otherwise
false
public OWLDatatype asOWLDatatype()
asOWLDatatype
in interface OWLDataRange
public OWLDatatype getDatatype()
OWLDatatypeRestriction
getDatatype
in interface OWLDatatypeRestriction
public java.util.Set<OWLFacetRestriction> getFacetRestrictions()
getFacetRestrictions
in interface OWLDatatypeRestriction
Set
of facet restrictions that apply to
this data rangepublic boolean equals(java.lang.Object obj)
equals
in class OWLObjectImpl
public void accept(OWLDataVisitor visitor)
accept
in interface OWLDataRange
public void accept(OWLObjectVisitor visitor)
accept
in interface OWLObject
public <O> O accept(OWLDataVisitorEx<O> visitor)
accept
in interface OWLDataRange
public <O> O accept(OWLObjectVisitorEx<O> visitor)
accept
in interface OWLObject
protected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType
in class OWLObjectImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |