|
|||||||||
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.OWLPropertyExpressionImpl<OWLObjectPropertyExpression,OWLClassExpression>
uk.ac.manchester.cs.owl.owlapi.OWLObjectPropertyExpressionImpl
uk.ac.manchester.cs.owl.owlapi.OWLObjectPropertyImpl
public class OWLObjectPropertyImpl
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006
Constructor Summary | |
---|---|
OWLObjectPropertyImpl(OWLDataFactory dataFactory,
IRI iri)
|
Method Summary | ||
---|---|---|
void |
accept(OWLEntityVisitor visitor)
|
|
|
accept(OWLEntityVisitorEx<O> visitor)
|
|
void |
accept(OWLNamedObjectVisitor visitor)
|
|
void |
accept(OWLObjectVisitor visitor)
|
|
|
accept(OWLObjectVisitorEx<O> visitor)
|
|
void |
accept(OWLPropertyExpressionVisitor visitor)
|
|
|
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()
A convenience method that obtains this entity as an OWLDataProperty (in order to avoid explicit casting). |
|
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(java.lang.Object obj)
|
|
java.util.Set<OWLAnnotationAssertionAxiom> |
getAnnotationAssertionAxioms(OWLOntology ontology)
|
|
java.util.Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology)
Gets the annotations for this entity. |
|
java.util.Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology,
OWLAnnotationProperty annotationProperty)
Obtains the annotations on this entity where the annotation has the specified URI. |
|
EntityType |
getEntityType()
Gets the entity type for this entity |
|
IRI |
getIRI()
Gets the IRI of this object |
|
|
getOWLEntity(EntityType<E> entityType)
Gets an entity that has the same IRI as this entity but is of the specified type. |
|
protected java.util.Set<? extends OWLSubPropertyAxiom<OWLObjectPropertyExpression>> |
getSubPropertyAxiomsForRHS(OWLOntology ont)
|
|
java.net.URI |
getURI()
|
|
boolean |
isAnonymous()
Determines if this property expression is anonymous. |
|
boolean |
isBottomEntity()
|
|
boolean |
isBuiltIn()
Determines if this entity is a built in entity. |
|
boolean |
isOWLAnnotationProperty()
A convenience method that determines if this entity is an OWLAnnotationProperty |
|
boolean |
isOWLBottomDataProperty()
Determines if this is the owl:bottomDataProperty |
|
boolean |
isOWLBottomObjectProperty()
Determines if this is the owl:bottomObjectProperty |
|
boolean |
isOWLClass()
A convenience method that determines if this entity is an OWLClass |
|
boolean |
isOWLDataProperty()
A convenience method that determines if this entity is an 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()
A convenience method that determines if this entity is an OWLObjectProperty |
|
boolean |
isOWLTopDataProperty()
Determines if this is the owl:topDataProperty |
|
boolean |
isOWLTopObjectProperty()
Determines if this is the owl:topObjectProperty |
|
boolean |
isTopEntity()
|
|
boolean |
isType(EntityType entityType)
Tests to see if this entity is of the specified type |
|
java.lang.String |
toStringID()
Returns a string representation that can be used as the ID of this entity. |
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLObjectPropertyExpressionImpl |
---|
getDisjointPropertiesAxioms, getDomainAxioms, getEquivalentPropertiesAxioms, getInverseProperty, getInverses, getInverses, getNamedProperty, getRangeAxioms, getSimplified, getSubPropertyAxioms, isAsymmetric, isAsymmetric, isDataPropertyExpression, isFunctional, isFunctional, isInverseFunctional, isInverseFunctional, isIrreflexive, isIrreflexive, isObjectPropertyExpression, isReflexive, isReflexive, isSymmetric, isSymmetric, isTransitive, isTransitive |
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLPropertyExpressionImpl |
---|
getDisjointProperties, getDisjointProperties, getDomains, getDomains, getEquivalentProperties, getEquivalentProperties, getRanges, getRanges, getSubProperties, getSubProperties, getSuperProperties, getSuperProperties |
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 |
Methods inherited from interface org.semanticweb.owlapi.model.OWLObjectPropertyExpression |
---|
getInverseProperty, getInverses, getInverses, getNamedProperty, getSimplified, isAsymmetric, isAsymmetric, isInverseFunctional, isInverseFunctional, isIrreflexive, isIrreflexive, isReflexive, isReflexive, isSymmetric, isSymmetric, isTransitive, isTransitive |
Methods inherited from interface org.semanticweb.owlapi.model.OWLPropertyExpression |
---|
getDisjointProperties, getDisjointProperties, getDomains, getDomains, getEquivalentProperties, getEquivalentProperties, getRanges, getRanges, getSubProperties, getSubProperties, getSuperProperties, getSuperProperties, isDataPropertyExpression, isFunctional, isFunctional, isObjectPropertyExpression |
Methods inherited from interface org.semanticweb.owlapi.model.OWLPropertyExpression |
---|
getDisjointProperties, getDisjointProperties, getDomains, getDomains, getEquivalentProperties, getEquivalentProperties, getRanges, getRanges, getSubProperties, getSubProperties, getSuperProperties, getSuperProperties, isDataPropertyExpression, isFunctional, isFunctional, isObjectPropertyExpression |
Constructor Detail |
---|
public OWLObjectPropertyImpl(OWLDataFactory dataFactory, IRI iri)
Method Detail |
---|
public boolean isTopEntity()
isTopEntity
in interface OWLEntity
public boolean isBottomEntity()
isBottomEntity
in interface OWLEntity
public EntityType getEntityType()
getEntityType
in interface OWLEntity
public <E extends OWLEntity> E getOWLEntity(EntityType<E> entityType)
getOWLEntity
in interface OWLEntity
entityType
- The type of the entity to obtain. This entity is not affected in any way.
public boolean isType(EntityType entityType)
isType
in interface OWLEntity
entityType
- The entity type
true
if this entity is of the specified type, otherwise false
.public java.lang.String toStringID()
toStringID
in interface OWLEntity
public IRI getIRI()
OWLNamedObject
getIRI
in interface OWLNamedObject
public java.net.URI getURI()
public boolean isBuiltIn()
OWLEntity
isBuiltIn
in interface OWLEntity
true
if this entity is a built in entity, or false
if this entity is not a builtin entity.public boolean equals(java.lang.Object obj)
equals
in class OWLObjectPropertyExpressionImpl
public void accept(OWLEntityVisitor visitor)
accept
in interface OWLEntity
public void accept(OWLPropertyExpressionVisitor visitor)
accept
in interface OWLPropertyExpression<OWLObjectPropertyExpression,OWLClassExpression>
public void accept(OWLObjectVisitor visitor)
accept
in interface OWLObject
public void accept(OWLNamedObjectVisitor visitor)
accept
in interface OWLNamedObject
public <O> O accept(OWLEntityVisitorEx<O> visitor)
accept
in interface OWLEntity
public <O> O accept(OWLPropertyExpressionVisitorEx<O> visitor)
accept
in interface OWLPropertyExpression<OWLObjectPropertyExpression,OWLClassExpression>
public <O> O accept(OWLObjectVisitorEx<O> visitor)
accept
in interface OWLObject
public boolean isAnonymous()
OWLPropertyExpression
isAnonymous
in interface OWLPropertyExpression<OWLObjectPropertyExpression,OWLClassExpression>
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 OWLObjectProperty asOWLObjectProperty()
OWLEntity
asOWLObjectProperty
in interface OWLEntity
asOWLObjectProperty
in interface OWLObjectPropertyExpression
protected java.util.Set<? extends OWLSubPropertyAxiom<OWLObjectPropertyExpression>> getSubPropertyAxiomsForRHS(OWLOntology ont)
getSubPropertyAxiomsForRHS
in class OWLPropertyExpressionImpl<OWLObjectPropertyExpression,OWLClassExpression>
public java.util.Set<OWLAnnotation> getAnnotations(OWLOntology ontology)
OWLEntity
getAnnotations
in interface OWLEntity
ontology
- The ontology to be examined for annotation assertion axioms
public java.util.Set<OWLAnnotationAssertionAxiom> getAnnotationAssertionAxioms(OWLOntology ontology)
getAnnotationAssertionAxioms
in interface OWLEntity
public java.util.Set<OWLAnnotation> getAnnotations(OWLOntology ontology, OWLAnnotationProperty annotationProperty)
OWLEntity
getAnnotations
in interface OWLEntity
ontology
- The ontology to examine for annotation axiomsannotationProperty
- The annotation property
OWLAnnotation
objects that have the specified
URI.public OWLDataProperty asOWLDataProperty()
OWLEntity
asOWLDataProperty
in interface OWLEntity
public OWLDatatype asOWLDatatype()
OWLEntity
asOWLDatatype
in interface OWLEntity
public OWLNamedIndividual asOWLNamedIndividual()
OWLEntity
asOWLNamedIndividual
in interface OWLEntity
public OWLClass asOWLClass()
OWLEntity
asOWLClass
in interface OWLEntity
public boolean isOWLClass()
OWLEntity
isOWLClass
in interface OWLEntity
true
if this entity is an OWLClass, otherwise false
public boolean isOWLDataProperty()
OWLEntity
isOWLDataProperty
in interface OWLEntity
true
if this entity is an OWLDataProperty, otherwise false
public boolean isOWLDatatype()
OWLEntity
isOWLDatatype
in interface OWLEntity
true
if this entity is an OWLDatatype, otherwise false
public boolean isOWLNamedIndividual()
OWLEntity
isOWLNamedIndividual
in interface OWLEntity
true
if this entity is an OWLNamedIndividual, otherwise false
public boolean isOWLObjectProperty()
OWLEntity
isOWLObjectProperty
in interface OWLEntity
true
if this entity is an OWLObjectProperty, otherwise false
public OWLAnnotationProperty asOWLAnnotationProperty()
OWLEntity
asOWLAnnotationProperty
in interface OWLEntity
public boolean isOWLAnnotationProperty()
OWLEntity
isOWLAnnotationProperty
in interface OWLEntity
true
if this entity is an OWLAnnotationProperty, otherwise false
protected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType
in class OWLObjectImpl
public boolean isOWLTopObjectProperty()
isOWLTopObjectProperty
in interface OWLPropertyExpression<OWLObjectPropertyExpression,OWLClassExpression>
true
if this property is the owl:topObjectProperty otherwise false
public boolean isOWLBottomObjectProperty()
isOWLBottomObjectProperty
in interface OWLPropertyExpression<OWLObjectPropertyExpression,OWLClassExpression>
true
if this property is the owl:bottomObjectProperty otherwise false
public boolean isOWLTopDataProperty()
isOWLTopDataProperty
in interface OWLPropertyExpression<OWLObjectPropertyExpression,OWLClassExpression>
true
if this property is the owl:topDataProperty otherwise false
public boolean isOWLBottomDataProperty()
isOWLBottomDataProperty
in interface OWLPropertyExpression<OWLObjectPropertyExpression,OWLClassExpression>
true
if this property is the owl:bottomDataProperty otherwise false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |