public class OWLObjectPropertyImpl extends OWLObjectPropertyExpressionImpl implements OWLObjectProperty
| Type | Property and Description |
|---|---|
OWLAnnotationProperty |
asOWLAnnotation
A convenience method that obtains this entity as an OWLAnnotationProperty (in order to avoid
explicit casting).
|
OWLDataProperty |
asOWLData
A convenience method that obtains this entity as an OWLDataProperty (in order to avoid
explicit casting).
|
OWLObjectProperty |
asOWLObject
If the property is a named object property then this method will obtain the property as such.
|
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.
|
| Constructor and Description |
|---|
OWLObjectPropertyImpl(IRI iri) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OWLEntityVisitor visitor) |
<O> O |
accept(OWLEntityVisitorEx<O> visitor) |
void |
accept(OWLNamedObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLNamedObjectVisitorEx<O> 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) |
void |
addAnonymousIndividualsToSet(Set<OWLAnonymousIndividual> anons) |
void |
addSignatureEntitiesToSet(Set<OWLEntity> entities) |
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()
If the property is a named object property then this method will obtain the property as such.
|
boolean |
equals(Object obj) |
EntityType<?> |
getEntityType()
Gets the entity type for this entity
|
OWLObjectInverseOf |
getInverseProperty()
Obtains the property that corresponds to the inverse of this property.
|
IRI |
getIRI()
Gets the IRI of this object
|
OWLObjectProperty |
getNamedProperty()
Get the named object property used in this property expression.
|
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 |
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() |
getSimplified, isDataPropertyExpression, isObjectPropertyExpressioncompareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, toStringgetSimplifiedisDataPropertyExpression, isObjectPropertyExpressionisAnonymousgetNestedClassExpressions, isIndividual, isIRI, toStringcompareTogetSignaturecontainsEntityInSignaturegetAnonymousIndividualsgetClassesInSignaturegetObjectPropertiesInSignaturegetDataPropertiesInSignaturegetIndividualsInSignaturegetDatatypesInSignaturegetAnnotationPropertiesInSignatureisNamedpublic OWLObjectProperty asOWLObjectProperty
asOWLObjectProperty in interface OWLEntityasOWLObjectProperty in interface OWLObjectPropertyExpressionOWLObjectProperty if possible.public OWLDataProperty asOWLDataProperty
asOWLDataProperty in interface OWLEntitypublic boolean isOWLDataProperty
isOWLDataProperty in interface OWLEntitytrue if this entity is an OWLDataProperty, otherwise falsepublic boolean isOWLObjectProperty
isOWLObjectProperty in interface OWLEntitytrue if this entity is an OWLObjectProperty, otherwise falsepublic OWLAnnotationProperty asOWLAnnotationProperty
asOWLAnnotationProperty in interface OWLEntitypublic boolean isOWLAnnotationProperty
isOWLAnnotationProperty in interface OWLEntitytrue if this entity is an OWLAnnotationProperty, otherwise falsepublic boolean isOWLTopObjectProperty
isOWLTopObjectProperty in interface OWLPropertyExpressiontrue if this property is the owl:topObjectProperty otherwise falsepublic boolean isOWLBottomObjectProperty
isOWLBottomObjectProperty in interface OWLPropertyExpressiontrue if this property is the owl:bottomObjectProperty otherwise falsepublic boolean isOWLTopDataProperty
isOWLTopDataProperty in interface OWLPropertyExpressiontrue if this property is the owl:topDataProperty otherwise falsepublic boolean isOWLBottomDataProperty
isOWLBottomDataProperty in interface OWLPropertyExpressiontrue if this property is the owl:bottomDataProperty otherwise false@Nonnull public OWLObjectInverseOf getInverseProperty()
OWLObjectPropertyExpressiongetInverseProperty in interface OWLObjectPropertyExpression@Nonnull public OWLObjectProperty getNamedProperty()
OWLObjectPropertyExpressiongetNamedProperty in interface OWLObjectPropertyExpressionpublic void addSignatureEntitiesToSet(Set<OWLEntity> entities)
addSignatureEntitiesToSet in interface HasIncrementalSignatureGenerationSupportentities - entity set where entities will be addedpublic void addAnonymousIndividualsToSet(Set<OWLAnonymousIndividual> anons)
addAnonymousIndividualsToSet in interface HasIncrementalSignatureGenerationSupportanons - anonymous individuals set where individuals will be addedpublic boolean isTopEntity()
OWLObjectisTopEntity in interface OWLObjectisTopEntity in class OWLObjectImplWithoutEntityAndAnonCachingtrue if this object corresponds to one of the above entities.public boolean isBottomEntity()
OWLObjectisBottomEntity in interface OWLObjectisBottomEntity in class OWLObjectImplWithoutEntityAndAnonCachingtrue if this object corresponds to one of the above entities.public EntityType<?> getEntityType()
OWLEntitygetEntityType in interface OWLEntitypublic boolean isType(EntityType<?> entityType)
OWLEntitypublic String toStringID()
toStringID in interface OWLEntity#toString() representation of the IRIpublic IRI getIRI()
OWLNamedObjectgetIRI in interface HasIRIgetIRI in interface OWLNamedObjectpublic boolean isBuiltIn()
OWLEntitypublic boolean equals(Object obj)
equals in class OWLObjectPropertyExpressionImplpublic void accept(OWLEntityVisitor visitor)
public void accept(OWLPropertyExpressionVisitor visitor)
accept in interface OWLPropertyExpressionvisitor - visitor to acceptpublic void accept(OWLObjectVisitor visitor)
OWLObjectpublic void accept(OWLNamedObjectVisitor visitor)
OWLNamedObjectaccept in interface OWLNamedObjectvisitor - The visitorpublic <O> O accept(OWLNamedObjectVisitorEx<O> visitor)
OWLNamedObjectaccept in interface OWLNamedObjectO - visitor return typevisitor - The visitorpublic <O> O accept(OWLEntityVisitorEx<O> visitor)
public <O> O accept(OWLPropertyExpressionVisitorEx<O> visitor)
accept in interface OWLPropertyExpressionO - visitor return typevisitor - visitor to acceptpublic <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectpublic OWLObjectProperty asOWLObjectProperty()
OWLObjectPropertyExpressionisAnonymous or isNamed methods 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 OWLDataProperty asOWLDataProperty()
OWLEntityasOWLDataProperty in interface OWLEntitypublic OWLDatatype asOWLDatatype()
OWLEntityasOWLDatatype in interface OWLEntitypublic OWLNamedIndividual asOWLNamedIndividual()
OWLEntityasOWLNamedIndividual in interface OWLEntitypublic OWLClass asOWLClass()
OWLEntityasOWLClass in interface OWLEntitypublic boolean isOWLClass()
OWLEntityisOWLClass in interface OWLEntitytrue if this entity is an OWLClass, otherwise falsepublic boolean isOWLDataProperty()
isOWLDataProperty in interface OWLEntitytrue if this entity is an OWLDataProperty, otherwise falsepublic 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 OWLEntitytrue if this entity is an OWLObjectProperty, otherwise falsepublic OWLAnnotationProperty asOWLAnnotationProperty()
OWLEntityasOWLAnnotationProperty in interface OWLEntitypublic boolean isOWLAnnotationProperty()
isOWLAnnotationProperty in interface OWLEntitytrue if this entity is an OWLAnnotationProperty, otherwise falsepublic boolean isOWLTopObjectProperty()
isOWLTopObjectProperty in interface OWLPropertyExpressiontrue if this property is the owl:topObjectProperty otherwise falsepublic boolean isOWLBottomObjectProperty()
isOWLBottomObjectProperty in interface OWLPropertyExpressiontrue if this property is the owl:bottomObjectProperty otherwise falsepublic boolean isOWLTopDataProperty()
isOWLTopDataProperty in interface OWLPropertyExpressiontrue if this property is the owl:topDataProperty otherwise falsepublic boolean isOWLBottomDataProperty()
isOWLBottomDataProperty in interface OWLPropertyExpressiontrue if this property is the owl:bottomDataProperty otherwise falseCopyright © 2021 The University of Manchester. All rights reserved.