|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.manchester.cs.owl.OWLObjectImpl
uk.ac.manchester.cs.owl.OWLPropertyExpressionImpl<OWLObjectPropertyExpression,OWLDescription>
uk.ac.manchester.cs.owl.OWLObjectPropertyExpressionImpl
uk.ac.manchester.cs.owl.OWLObjectPropertyImpl
public class OWLObjectPropertyImpl
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006
| Constructor Summary | |
|---|---|
OWLObjectPropertyImpl(OWLDataFactory dataFactory,
java.net.URI uri)
|
|
| 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)
|
|
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). |
|
OWLIndividual |
asOWLIndividual()
A convenience method that obtains this entity as an OWLIndividual (in order to avoid explicit casting). |
|
OWLObjectProperty |
asOWLObjectProperty()
If the property is a named object property then this method will obtain the property as such. |
|
boolean |
equals(java.lang.Object obj)
|
|
java.util.Set<OWLAnnotationAxiom> |
getAnnotationAxioms(OWLOntology ontology)
|
|
java.util.Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology)
Obtains annotations on this entity where the annotation have been asserted on the specified entity. |
|
java.util.Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology,
java.net.URI annotationURI)
Obtains the annotations on this entity where the annotation has the specified URI. |
|
java.net.URI |
getURI()
Gets the name of this object. |
|
boolean |
isAnonymous()
Determines if this property expression is anonymous. |
|
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 |
isOWLIndividual()
A convenience method that determines if this entity is an OWLIndividual |
|
boolean |
isOWLObjectProperty()
A convenience method that determines if this entity is an OWLObjectProperty |
|
| Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectPropertyExpressionImpl |
|---|
getInverseProperty, getInverses, getInverses, getNamedProperty, getSimplified, isAntiSymmetric, isAntiSymmetric, isAsymmetric, isAsymmetric, isFunctional, isFunctional, isInverseFunctional, isInverseFunctional, isIrreflexive, isIrreflexive, isReflexive, isReflexive, isSymmetric, isSymmetric, isTransitive, isTransitive |
| Methods inherited from class uk.ac.manchester.cs.owl.OWLPropertyExpressionImpl |
|---|
getDisjointProperties, getDisjointProperties, getDomains, getDomains, getEquivalentProperties, getEquivalentProperties, getRanges, getRanges, getSubProperties, getSubProperties, getSuperProperties, getSuperProperties |
| Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectImpl |
|---|
compareTo, getOWLDataFactory, getSignature, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.semanticweb.owl.model.OWLObjectPropertyExpression |
|---|
getInverseProperty, getInverses, getInverses, getNamedProperty, getSimplified, isAntiSymmetric, isAntiSymmetric, isAsymmetric, isAsymmetric, isInverseFunctional, isInverseFunctional, isIrreflexive, isIrreflexive, isReflexive, isReflexive, isSymmetric, isSymmetric, isTransitive, isTransitive |
| Methods inherited from interface org.semanticweb.owl.model.OWLPropertyExpression |
|---|
getDisjointProperties, getDisjointProperties, getDomains, getDomains, getEquivalentProperties, getEquivalentProperties, getRanges, getRanges, getSubProperties, getSubProperties, getSuperProperties, getSuperProperties, isFunctional, isFunctional |
| Methods inherited from interface org.semanticweb.owl.model.OWLObject |
|---|
getSignature |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public OWLObjectPropertyImpl(OWLDataFactory dataFactory,
java.net.URI uri)
| Method Detail |
|---|
public java.net.URI getURI()
OWLNamedObject
getURI in interface OWLNamedObjectURI that represents the name
of the objectpublic boolean equals(java.lang.Object obj)
equals in class OWLObjectPropertyExpressionImplpublic void accept(OWLEntityVisitor visitor)
accept in interface OWLEntitypublic void accept(OWLPropertyExpressionVisitor visitor)
accept in interface OWLPropertyExpression<OWLObjectPropertyExpression,OWLDescription>public void accept(OWLObjectVisitor visitor)
accept in interface OWLObjectpublic void accept(OWLNamedObjectVisitor visitor)
accept in interface OWLNamedObjectpublic <O> O accept(OWLEntityVisitorEx<O> visitor)
accept in interface OWLEntitypublic <O> O accept(OWLPropertyExpressionVisitorEx<O> visitor)
accept in interface OWLPropertyExpression<OWLObjectPropertyExpression,OWLDescription>public <O> O accept(OWLObjectVisitorEx<O> visitor)
accept in interface OWLObjectpublic boolean isAnonymous()
OWLPropertyExpression
isAnonymous in interface OWLPropertyExpression<OWLObjectPropertyExpression,OWLDescription>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()
OWLObjectPropertyExpressionisAnonymous 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.
asOWLObjectProperty in interface OWLEntityasOWLObjectProperty in interface OWLObjectPropertyExpressionOWLObjectProperty if possible.public java.util.Set<OWLAnnotation> getAnnotations(OWLOntology ontology)
OWLEntity
getAnnotations in interface OWLEntitypublic java.util.Set<OWLAnnotationAxiom> getAnnotationAxioms(OWLOntology ontology)
getAnnotationAxioms in interface OWLEntity
public java.util.Set<OWLAnnotation> getAnnotations(OWLOntology ontology,
java.net.URI annotationURI)
OWLEntity
getAnnotations in interface OWLEntityontology - The ontology to examine for annotation axiomsannotationURI - The annotation URI
OWLAnnotation objects that have the specified
URI.public OWLDataProperty asOWLDataProperty()
OWLEntity
asOWLDataProperty in interface OWLEntitypublic OWLDataType asOWLDataType()
OWLEntity
asOWLDataType in interface OWLEntitypublic OWLIndividual asOWLIndividual()
OWLEntity
asOWLIndividual in interface OWLEntitypublic OWLClass asOWLClass()
OWLEntity
asOWLClass in interface OWLEntitypublic boolean isOWLClass()
OWLEntity
isOWLClass in interface OWLEntitytrue if this entity is an OWLClass, otherwise falsepublic boolean isOWLDataProperty()
OWLEntity
isOWLDataProperty in interface OWLEntitytrue if this entity is an OWLDataProperty, otherwise falsepublic boolean isOWLDataType()
OWLEntity
isOWLDataType in interface OWLEntitytrue if this entity is an OWLDataType, otherwise falsepublic boolean isOWLIndividual()
OWLEntity
isOWLIndividual in interface OWLEntitytrue if this entity is an OWLIndividual, otherwise falsepublic boolean isOWLObjectProperty()
OWLEntity
isOWLObjectProperty in interface OWLEntitytrue if this entity is an OWLObjectProperty, otherwise false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||