public interface OWLEntity extends OWLObject, OWLNamedObject, OWLPrimitive
| 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
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 |
isOWLData
Gets the value of the property oWLDataProperty.
|
boolean |
isOWLObject
Gets the value of the property oWLObjectProperty.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OWLEntityVisitor visitor) |
<O> O |
accept(OWLEntityVisitorEx<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).
|
EntityType<?> |
getEntityType()
Gets the entity type for this entity
|
boolean |
isBuiltIn()
Determines if this entity is a built in entity.
|
boolean |
isOWLAnnotationProperty()
Gets the value of the property oWLAnnotationProperty.
|
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 |
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.
|
accept, accept, getIRIaccept, accept, getNestedClassExpressions, isBottomEntity, isTopEntity, toStringcompareTogetSignaturecontainsEntityInSignaturegetAnonymousIndividualsgetClassesInSignaturegetObjectPropertiesInSignaturegetDataPropertiesInSignaturegetIndividualsInSignaturegetDatatypesInSignaturegetAnnotationPropertiesInSignatureboolean isOWLObjectProperty
@Nonnull OWLObjectProperty asOWLObjectProperty
boolean isOWLDataProperty
@Nonnull OWLDataProperty asOWLDataProperty
boolean isOWLAnnotationProperty
@Nonnull OWLAnnotationProperty asOWLAnnotationProperty
@Nonnull EntityType<?> getEntityType()
boolean isType(@Nonnull EntityType<?> entityType)
entityType - The entity typetrue if this entity is of the specified type, otherwise
false.boolean isBuiltIn()
true if this entity is a built in entity, or
false if this entity is not a builtin entity.boolean isOWLClass()
true if this entity is an OWLClass, otherwise
false@Nonnull OWLClass asOWLClass()
OWLRuntimeException - if this entity is not an OWLClass (check with the isOWLClass
method first).boolean isOWLObjectProperty()
@Nonnull OWLObjectProperty asOWLObjectProperty()
boolean isOWLDataProperty()
@Nonnull OWLDataProperty asOWLDataProperty()
boolean isOWLNamedIndividual()
true if this entity is an OWLNamedIndividual, otherwise
false@Nonnull OWLNamedIndividual asOWLNamedIndividual()
OWLRuntimeException - if this entity is not an OWLIndividual (check with the
isOWLIndividual method first).boolean isOWLDatatype()
true if this entity is an OWLDatatype, otherwise
false@Nonnull OWLDatatype asOWLDatatype()
OWLRuntimeException - if this entity is not an OWLDatatype (check with the
isOWLDatatype method first).boolean isOWLAnnotationProperty()
@Nonnull OWLAnnotationProperty asOWLAnnotationProperty()
@Nonnull String toStringID()
void accept(@Nonnull OWLEntityVisitor visitor)
visitor - visitor@Nonnull <O> O accept(@Nonnull OWLEntityVisitorEx<O> visitor)
O - visitor return typevisitor - visitorCopyright © 2016 The University of Manchester. All Rights Reserved.