|
|||||||||
| 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.OWLDataOneOfImpl
public class OWLDataOneOfImpl
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006
| Constructor Summary | |
|---|---|
OWLDataOneOfImpl(OWLDataFactory dataFactory,
java.util.Set<? extends OWLLiteral> values)
|
|
| Method Summary | ||
|---|---|---|
void |
accept(OWLDataRangeVisitor visitor)
|
|
|
accept(OWLDataRangeVisitorEx<O> visitor)
|
|
void |
accept(OWLDataVisitor visitor)
|
|
|
accept(OWLDataVisitorEx<O> visitor)
|
|
void |
accept(OWLObjectVisitor visitor)
|
|
|
accept(OWLObjectVisitorEx<O> visitor)
|
|
OWLDatatype |
asOWLDatatype()
If this data range is a datatype then this method may be used to obtain it as a datatype (rather than using an explicit cast). |
|
protected int |
compareObjectOfSameType(OWLObject object)
|
|
boolean |
equals(java.lang.Object obj)
|
|
DataRangeType |
getDataRangeType()
Gets the type of this data range |
|
java.util.Set<OWLLiteral> |
getValues()
Gets the values ( OWLLiterals) that this data range consists of. |
|
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, getNestedClassExpressions, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, isBottomEntity, isTopEntity, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OWLDataOneOfImpl(OWLDataFactory dataFactory,
java.util.Set<? extends OWLLiteral> values)
| Method Detail |
|---|
public DataRangeType getDataRangeType()
OWLDataRange
getDataRangeType in interface OWLDataRangepublic java.util.Set<OWLLiteral> getValues()
OWLDataOneOfOWLLiterals) that this data range consists of. These values may be a mixture
of org.semanticweb.owlapi.model.OWLTypedLiterals and org.semanticweb.owlapi.model.OWLStringLiterals.
getValues in interface OWLDataOneOfpublic boolean isDatatype()
OWLDataRange
isDatatype in interface OWLDataRangetrue 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 OWLDataRangetrue if this data range is the top datatype otherwise
falsepublic OWLDatatype asOWLDatatype()
OWLDataRange
asOWLDatatype in interface OWLDataRangeOWLDatatypepublic boolean equals(java.lang.Object obj)
equals in class OWLObjectImplpublic void accept(OWLDataVisitor visitor)
accept in interface OWLDataRangepublic void accept(OWLObjectVisitor visitor)
accept in interface OWLObjectpublic <O> O accept(OWLDataVisitorEx<O> visitor)
accept in interface OWLDataRangepublic <O> O accept(OWLObjectVisitorEx<O> visitor)
accept in interface OWLObjectpublic void accept(OWLDataRangeVisitor visitor)
accept in interface OWLDataRangepublic <O> O accept(OWLDataRangeVisitorEx<O> visitor)
accept in interface OWLDataRangeprotected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType in class OWLObjectImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||