public class OWLDataPropertyImpl extends OWLPropertyExpressionImpl<OWLDataRange,OWLDataPropertyExpression> implements OWLDataProperty
| Type | Property and Description |
|---|---|
OWLAnnotationProperty |
asOWLAnnotation
A convenience method that obtains this entity as an OWLAnnotationProperty
(in order to avoid explicit casting).
|
OWLDataProperty |
asOWLData
If the property is a named data property then this method will obtain the
property as such.
|
OWLObjectProperty |
asOWLObject
A convenience method that obtains this entity as an OWLObjectProperty (in
order to avoid explicit casting).
|
boolean |
isOWLAnnotation
Gets the value of the property oWLAnnotationProperty.
|
boolean |
isOWLBottomData
Gets the value of the property oWLBottomDataProperty.
|
boolean |
isOWLBottomObject
Gets the value of the property oWLBottomObjectProperty.
|
boolean |
isOWLData
Gets the value of the property oWLDataProperty.
|
boolean |
isOWLObject
Gets the value of the property oWLObjectProperty.
|
boolean |
isOWLTopData
Gets the value of the property oWLTopDataProperty.
|
boolean |
isOWLTopObject
Gets the value of the property oWLTopObjectProperty.
|
NO_ANNOTATIONS, OWL_THING| Constructor and Description |
|---|
OWLDataPropertyImpl(IRI iri) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OWLEntityVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLEntityVisitorEx<O> visitor)
Accepts a visitor
|
void |
accept(OWLNamedObjectVisitor visitor)
Accepts a visitor
|
void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
void |
accept(OWLPropertyExpressionVisitor visitor) |
<O> O |
accept(OWLPropertyExpressionVisitorEx<O> visitor) |
OWLAnnotationProperty |
asOWLAnnotationProperty()
A convenience method that obtains this entity as an OWLAnnotationProperty
(in order to avoid explicit casting).
|
OWLClass |
asOWLClass()
A convenience method that obtains this entity as an OWLClass (in order to
avoid explicit casting).
|
OWLDataProperty |
asOWLDataProperty()
If the property is a named data property then this method will obtain the
property as such.
|
OWLDatatype |
asOWLDatatype()
A convenience method that obtains this entity as an OWLDatatype (in order
to avoid explicit casting).
|
OWLNamedIndividual |
asOWLNamedIndividual()
A convenience method that obtains this entity as an OWLNamedIndividual
(in order to avoid explicit casting).
|
OWLObjectProperty |
asOWLObjectProperty()
A convenience method that obtains this entity as an OWLObjectProperty (in
order to avoid explicit casting).
|
protected int |
compareObjectOfSameType(OWLObject object) |
boolean |
equals(Object obj) |
Set<OWLAnnotationAssertionAxiom> |
getAnnotationAssertionAxioms(OWLOntology ontology) |
Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology)
Gets the annotations for this entity.
|
Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology,
OWLAnnotationProperty annotationProperty)
Obtains the annotations on this entity where the annotation has the
specified annotation property.
|
protected Set<? extends OWLNaryPropertyAxiom<OWLDataPropertyExpression>> |
getDisjointPropertiesAxioms(OWLOntology ontology) |
protected Set<? extends OWLPropertyDomainAxiom<?>> |
getDomainAxioms(OWLOntology ontology) |
EntityType<?> |
getEntityType()
Gets the entity type for this entity
|
protected Set<? extends OWLNaryPropertyAxiom<OWLDataPropertyExpression>> |
getEquivalentPropertiesAxioms(OWLOntology ontology) |
IRI |
getIRI()
Gets the IRI of this object
|
<E extends OWLEntity> |
getOWLEntity(EntityType<E> entityType)
Gets an entity that has the same IRI as this entity but is of the
specified type.
|
protected Set<? extends OWLPropertyRangeAxiom<OWLDataPropertyExpression,OWLDataRange>> |
getRangeAxioms(OWLOntology ontology) |
Set<OWLAxiom> |
getReferencingAxioms(OWLOntology ontology)
Gets the axioms in the specified ontology that contain this entity in
their signature.
|
Set<OWLAxiom> |
getReferencingAxioms(OWLOntology ontology,
boolean includeImports)
Gets the axioms in the specified ontology and possibly its imports
closure that contain this entity in their signature.
|
protected Set<? extends OWLSubPropertyAxiom<OWLDataPropertyExpression>> |
getSubPropertyAxioms(OWLOntology ontology) |
protected Set<? extends OWLSubPropertyAxiom<OWLDataPropertyExpression>> |
getSubPropertyAxiomsForRHS(OWLOntology ont) |
boolean |
isAnonymous()
Determines if this property expression is anonymous.
|
boolean |
isBottomEntity()
Determines if this object is either, owl:Nothing (the bottom class),
owl:bottomObjectProperty (the bottom object property) ,
owl:bottomDataProperty (the bottom data property).
|
boolean |
isBuiltIn()
Determines if this entity is a built in entity.
|
boolean |
isDataPropertyExpression() |
boolean |
isFunctional(OWLOntology ontology)
Determines if this property is functional in the specified ontology.
|
boolean |
isFunctional(Set<OWLOntology> ontologies)
Determines if the property is functional because there is an axiom in one
of the specified ontologies that assert this to be the case.
|
boolean |
isObjectPropertyExpression() |
boolean |
isOWLAnnotationProperty()
Gets the value of the property oWLAnnotationProperty.
|
boolean |
isOWLBottomDataProperty()
Gets the value of the property oWLBottomDataProperty.
|
boolean |
isOWLBottomObjectProperty()
Gets the value of the property oWLBottomObjectProperty.
|
boolean |
isOWLClass()
A convenience method that determines if this entity is an OWLClass
|
boolean |
isOWLDataProperty()
Gets the value of the property oWLDataProperty.
|
boolean |
isOWLDatatype()
A convenience method that determines if this entity is an OWLDatatype
|
boolean |
isOWLNamedIndividual()
A convenience method that determines if this entity is an
OWLNamedIndividual
|
boolean |
isOWLObjectProperty()
Gets the value of the property oWLObjectProperty.
|
boolean |
isOWLTopDataProperty()
Gets the value of the property oWLTopDataProperty.
|
boolean |
isOWLTopObjectProperty()
Gets the value of the property oWLTopObjectProperty.
|
boolean |
isTopEntity()
Determines if this object is either, owl:Thing (the top class),
owl:topObjectProperty (the top object property) , owl:topDataProperty
(the top data property) or rdfs:Literal (the top datatype).
|
boolean |
isType(EntityType<?> entityType)
Tests to see if this entity is of the specified type
|
String |
toStringID()
Returns a string representation that can be used as the ID of this
entity.
|
getDisjointProperties, getDisjointProperties, getDomains, getDomains, getEquivalentProperties, getEquivalentProperties, getRanges, getRanges, getSubProperties, getSubProperties, getSuperProperties, getSuperPropertiescompareLists, compareSets, compareTo, containsEntityInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDisjointProperties, getDisjointProperties, getDomains, getDomains, getEquivalentProperties, getEquivalentProperties, getRanges, getRanges, getSubProperties, getSubProperties, getSuperProperties, getSuperPropertiesgetAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignaturecompareTocontainsEntityInSignaturepublic OWLDataProperty asOWLDataProperty
asOWLDataProperty in interface OWLDataPropertyExpressionasOWLDataProperty in interface OWLEntitypublic OWLObjectProperty asOWLObjectProperty
asOWLObjectProperty in interface OWLEntitypublic boolean isOWLDataProperty
isOWLDataProperty in interface OWLEntitypublic boolean isOWLObjectProperty
isOWLObjectProperty in interface OWLEntitypublic boolean isOWLTopObjectProperty
isOWLTopObjectProperty in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>public boolean isOWLBottomObjectProperty
isOWLBottomObjectProperty in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>public boolean isOWLTopDataProperty
isOWLTopDataProperty in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>public boolean isOWLBottomDataProperty
isOWLBottomDataProperty in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>public OWLAnnotationProperty asOWLAnnotationProperty
asOWLAnnotationProperty in interface OWLEntitypublic boolean isOWLAnnotationProperty
isOWLAnnotationProperty in interface OWLEntitypublic OWLDataPropertyImpl(IRI iri)
iri - property iripublic boolean isTopEntity()
OWLObjectisTopEntity in interface OWLObjectisTopEntity in class OWLObjectImpltrue if this object corresponds to one of the above
entities.public boolean isBottomEntity()
OWLObjectisBottomEntity in interface OWLObjectisBottomEntity in class OWLObjectImpltrue if this object corresponds to one of the above
entities.public EntityType<?> getEntityType()
OWLEntitygetEntityType in interface OWLEntitypublic <E extends OWLEntity> E getOWLEntity(EntityType<E> entityType)
OWLEntitygetOWLEntity in interface OWLEntityE - entity typeentityType - The type of the entity to obtain. This entity is not affected in
any way.public boolean isType(EntityType<?> entityType)
OWLEntitypublic String toStringID()
OWLEntitytoStringID in interface OWLEntitypublic boolean isDataPropertyExpression()
isDataPropertyExpression in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>public boolean isObjectPropertyExpression()
isObjectPropertyExpression in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>public IRI getIRI()
OWLNamedObjectgetIRI in interface HasIRIgetIRI in interface OWLNamedObjectpublic boolean isBuiltIn()
OWLEntitypublic boolean isFunctional(OWLOntology ontology)
OWLPropertyExpressionisFunctional in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>ontology - The ontology to be tested for a functional property axiom.true if the specified ontology contains an axiom stating
that the property is functional, other wise false.public boolean isFunctional(Set<OWLOntology> ontologies)
OWLPropertyExpressionisFunctional in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>ontologies - The ontologies which will be searched for axioms which specify
that this property is fuctional.true if the property is functional, or false if
the property is not functional.protected Set<? extends OWLNaryPropertyAxiom<OWLDataPropertyExpression>> getDisjointPropertiesAxioms(OWLOntology ontology)
getDisjointPropertiesAxioms in class OWLPropertyExpressionImpl<OWLDataRange,OWLDataPropertyExpression>protected Set<? extends OWLPropertyDomainAxiom<?>> getDomainAxioms(OWLOntology ontology)
getDomainAxioms in class OWLPropertyExpressionImpl<OWLDataRange,OWLDataPropertyExpression>protected Set<? extends OWLPropertyRangeAxiom<OWLDataPropertyExpression,OWLDataRange>> getRangeAxioms(OWLOntology ontology)
getRangeAxioms in class OWLPropertyExpressionImpl<OWLDataRange,OWLDataPropertyExpression>protected Set<? extends OWLSubPropertyAxiom<OWLDataPropertyExpression>> getSubPropertyAxioms(OWLOntology ontology)
getSubPropertyAxioms in class OWLPropertyExpressionImpl<OWLDataRange,OWLDataPropertyExpression>protected Set<? extends OWLNaryPropertyAxiom<OWLDataPropertyExpression>> getEquivalentPropertiesAxioms(OWLOntology ontology)
getEquivalentPropertiesAxioms in class OWLPropertyExpressionImpl<OWLDataRange,OWLDataPropertyExpression>protected Set<? extends OWLSubPropertyAxiom<OWLDataPropertyExpression>> getSubPropertyAxiomsForRHS(OWLOntology ont)
getSubPropertyAxiomsForRHS in class OWLPropertyExpressionImpl<OWLDataRange,OWLDataPropertyExpression>public boolean equals(Object obj)
equals in class OWLPropertyExpressionImpl<OWLDataRange,OWLDataPropertyExpression>public Set<OWLAnnotation> getAnnotations(OWLOntology ontology)
OWLEntitygetAnnotations in interface OWLEntityontology - The ontology to be examined for annotation assertion axiomspublic Set<OWLAnnotationAssertionAxiom> getAnnotationAssertionAxioms(OWLOntology ontology)
getAnnotationAssertionAxioms in interface OWLEntityontology - the ontology to usepublic Set<OWLAnnotation> getAnnotations(OWLOntology ontology, OWLAnnotationProperty annotationProperty)
OWLEntitygetAnnotations in interface OWLEntityontology - The ontology to examine for annotation axiomsannotationProperty - The annotation propertyOWLAnnotation objects that have the specified
URI.public void accept(OWLEntityVisitor visitor)
OWLEntitypublic void accept(OWLPropertyExpressionVisitor visitor)
accept in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>visitor - visitor to acceptpublic void accept(OWLObjectVisitor visitor)
OWLObjectpublic void accept(OWLNamedObjectVisitor visitor)
OWLNamedObjectaccept in interface OWLNamedObjectvisitor - The visitorpublic <O> O accept(OWLEntityVisitorEx<O> visitor)
OWLEntitypublic <O> O accept(OWLPropertyExpressionVisitorEx<O> visitor)
accept in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>O - visitor return typevisitor - visitor to acceptpublic <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectpublic boolean isAnonymous()
OWLPropertyExpressionisAnonymous in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>true if the property expression is anonymous (because it
is the inverse of a property). false if this property is
a named object property or named data property.public OWLDataProperty asOWLDataProperty()
OWLDataPropertyExpressionisAnonymous method should first be used to determine if the
property is named (i.e. not an object property expression such as
inv(p)). If the property is named then this method may be used to obtain
the property as a named property without casting.asOWLDataProperty in interface OWLDataPropertyExpressionasOWLDataProperty in interface OWLEntitypublic OWLClass asOWLClass()
OWLEntityasOWLClass in interface OWLEntitypublic OWLDatatype asOWLDatatype()
OWLEntityasOWLDatatype in interface OWLEntitypublic OWLNamedIndividual asOWLNamedIndividual()
OWLEntityasOWLNamedIndividual in interface OWLEntitypublic OWLObjectProperty asOWLObjectProperty()
OWLEntityasOWLObjectProperty in interface OWLEntitypublic boolean isOWLClass()
OWLEntityisOWLClass in interface OWLEntitytrue if this entity is an OWLClass, otherwise
falsepublic boolean isOWLDataProperty()
isOWLDataProperty in interface OWLEntitypublic boolean isOWLDatatype()
OWLEntityisOWLDatatype in interface OWLEntitytrue if this entity is an OWLDatatype, otherwise
falsepublic boolean isOWLNamedIndividual()
OWLEntityisOWLNamedIndividual in interface OWLEntitytrue if this entity is an OWLNamedIndividual, otherwise
falsepublic boolean isOWLObjectProperty()
isOWLObjectProperty in interface OWLEntitypublic boolean isOWLTopObjectProperty()
isOWLTopObjectProperty in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>public boolean isOWLBottomObjectProperty()
isOWLBottomObjectProperty in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>public boolean isOWLTopDataProperty()
isOWLTopDataProperty in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>public boolean isOWLBottomDataProperty()
isOWLBottomDataProperty in interface OWLPropertyExpression<OWLDataRange,OWLDataPropertyExpression>public OWLAnnotationProperty asOWLAnnotationProperty()
OWLEntityasOWLAnnotationProperty in interface OWLEntitypublic boolean isOWLAnnotationProperty()
isOWLAnnotationProperty in interface OWLEntitypublic Set<OWLAxiom> getReferencingAxioms(OWLOntology ontology)
OWLEntitygetReferencingAxioms in interface OWLEntityontology - The ontology that will be searched for axiomspublic Set<OWLAxiom> getReferencingAxioms(OWLOntology ontology, boolean includeImports)
OWLEntitygetReferencingAxioms in interface OWLEntityontology - The ontology that will be searched for axiomsincludeImports - If true then axioms in the imports closure will also be
returned, if false then only the axioms in the specified
ontology will be returned.protected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType in class OWLObjectImplCopyright © 2014 The University of Manchester. All Rights Reserved.