public interface OWLEntity extends OWLObject, OWLNamedObject, OWLPrimitive, AsOWLClass, AsOWLDataProperty, AsOWLDatatype, AsOWLAnnotationProperty, AsOWLNamedIndividual, AsOWLObjectProperty
asOWLDataProperty, isOWLDataPropertyasOWLAnnotationProperty, isOWLAnnotationPropertyasOWLObjectProperty, isOWLObjectProperty| Modifier and Type | Method and Description |
|---|---|
void |
accept(OWLEntityVisitor visitor) |
<O> O |
accept(OWLEntityVisitorEx<O> visitor) |
EntityType<?> |
getEntityType()
Gets the entity type for this entity.
|
default boolean |
isAnonymous() |
default boolean |
isBuiltIn()
Determines if this entity is a built in entity.
|
default boolean |
isType(EntityType<?> entityType)
Tests to see if this entity is of the specified type.
|
String |
toStringID() |
accept, acceptaccept, accept, getNestedClassExpressions, hashIteration, hasSharedStructure, initHashCode, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, isIRI, isOntology, isTopEntity, nestedClassExpressionscompareTogetSignature, signature, unsortedSignaturecontainsEntityInSignatureanonymousIndividuals, getAnonymousIndividualsclassesInSignature, getClassesInSignaturegetObjectPropertiesInSignature, objectPropertiesInSignaturedataPropertiesInSignature, getDataPropertiesInSignaturegetIndividualsInSignature, individualsInSignaturedatatypesInSignature, getDatatypesInSignatureannotationPropertiesInSignature, getAnnotationPropertiesInSignaturehashIndexcomponents, componentsAnnotationsFirst, componentsWithoutAnnotationsisNamedasOWLClass, isOWLClassasOWLDataProperty, isOWLDataPropertyasOWLDatatype, isOWLDatatypeasOWLAnnotationProperty, isOWLAnnotationPropertyasOWLNamedIndividual, isOWLNamedIndividualasOWLObjectProperty, isOWLObjectPropertyEntityType<?> getEntityType()
default boolean isType(EntityType<?> entityType)
entityType - The entity typetrue if this entity is of the specified type, otherwise false.default boolean isBuiltIn()
true if this entity is a built in entity, or false if this entity is
not a builtin entity.String toStringID()
toString() representation of the IRIvoid accept(OWLEntityVisitor visitor)
visitor - visitor<O> O accept(OWLEntityVisitorEx<O> visitor)
O - visitor return typevisitor - visitordefault boolean isAnonymous()
isAnonymous in interface IsAnonymoustrue if this object is anonymous, false otherwise. For example, class
expressions are anonymous while class entities are not (they have an IRI);
OWLNamedIndividual instances are named, OWLAnonymousIndividual
instances are anonymous. An ontology is anonymous if it does not have an ontology
IRI. In this case, getOntologyID().getOntologyIRI() will return an empty optional.Copyright © 2020 The University of Manchester. All rights reserved.