Package org.semanticweb.owlapi.model
Interface OWLAnnotationProperty
- All Superinterfaces:
AsOWLAnnotationProperty
,AsOWLClass
,AsOWLDataProperty
,AsOWLDatatype
,AsOWLNamedIndividual
,AsOWLObjectProperty
,Comparable<OWLObject>
,HasAnnotationPropertiesInSignature
,HasAnonymousIndividuals
,HasClassesInSignature
,HasComponents
,HasContainsEntityInSignature
,HasDataPropertiesInSignature
,HasDatatypesInSignature
,HasHashIndex
,HasIndex
,HasIndividualsInSignature
,HasIRI
,HasObjectPropertiesInSignature
,HasSignature
,IsAnonymous
,OWLEntity
,OWLLogicalEntity
,OWLNamedObject
,OWLObject
,OWLPrimitive
,OWLProperty
,OWLPropertyExpression
,Serializable
- All Known Implementing Classes:
OWLAnnotationPropertyImpl
Represents an
AnnotationProperty in the OWL 2 specification.
- Since:
- 3.0.0
- Author:
- Matthew Horridge, The University of Manchester, Information Management Group
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
accept
(OWLEntityVisitor visitor) default <O> O
accept
(OWLEntityVisitorEx<O> visitor) default void
accept
(OWLNamedObjectVisitor visitor) Accepts a visitor.default <O> O
accept
(OWLNamedObjectVisitorEx<O> visitor) Accepts a visitor.default void
accept
(OWLObjectVisitor visitor) Accepts a visitordefault <O> O
accept
(OWLObjectVisitorEx<O> visitor) Accepts a visitordefault void
accept
(OWLPropertyExpressionVisitor visitor) default <O> O
accept
(OWLPropertyExpressionVisitorEx<O> visitor) default EntityType
<?> Gets the entity type for this entity.default int
default boolean
Determines if this annotation property has an IRI corresponding tordfs:comment
.default boolean
Determines if this annotation property has an IRI corresponding toowl:deprecated
.default boolean
isLabel()
Determines if this annotation property has an IRI corresponding tordfs:label
.default boolean
A convenience method that determines if this entity is an OWLAnnotationProperty.default int
Methods inherited from interface org.semanticweb.owlapi.model.AsOWLAnnotationProperty
asOWLAnnotationProperty
Methods inherited from interface org.semanticweb.owlapi.model.AsOWLClass
asOWLClass, isOWLClass
Methods inherited from interface org.semanticweb.owlapi.model.AsOWLDataProperty
asOWLDataProperty, isOWLDataProperty
Methods inherited from interface org.semanticweb.owlapi.model.AsOWLDatatype
asOWLDatatype, isOWLDatatype
Methods inherited from interface org.semanticweb.owlapi.model.AsOWLNamedIndividual
asOWLNamedIndividual, isOWLNamedIndividual
Methods inherited from interface org.semanticweb.owlapi.model.AsOWLObjectProperty
asOWLObjectProperty, isOWLObjectProperty
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.semanticweb.owlapi.model.HasAnnotationPropertiesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasAnonymousIndividuals
anonymousIndividuals, getAnonymousIndividuals
Methods inherited from interface org.semanticweb.owlapi.model.HasClassesInSignature
classesInSignature, getClassesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasComponents
componentsAnnotationsFirst, componentsWithoutAnnotations
Methods inherited from interface org.semanticweb.owlapi.model.HasContainsEntityInSignature
containsEntityInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasDataPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasDatatypesInSignature
datatypesInSignature, getDatatypesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasIndividualsInSignature
getIndividualsInSignature, individualsInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasObjectPropertiesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasSignature
getSignature, signature, unsortedSignature
Methods inherited from interface org.semanticweb.owlapi.model.IsAnonymous
isNamed
Methods inherited from interface org.semanticweb.owlapi.model.OWLEntity
isAnonymous, isBuiltIn, isType, toStringID
Methods inherited from interface org.semanticweb.owlapi.model.OWLLogicalEntity
components, initHashCode
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject
getNestedClassExpressions, hasSharedStructure, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, isIRI, isOntology, isTopEntity, nestedClassExpressions
Methods inherited from interface org.semanticweb.owlapi.model.OWLPropertyExpression
asDataPropertyExpression, asObjectPropertyExpression, isDataPropertyExpression, isObjectPropertyExpression, isOWLBottomDataProperty, isOWLBottomObjectProperty, isOWLTopDataProperty, isOWLTopObjectProperty
-
Method Details
-
hashIndex
default int hashIndex()- Specified by:
hashIndex
in interfaceHasHashIndex
- Returns:
- index for this type. This is not a hashcode for instances, rather a hashcode for the types.
-
typeIndex
default int typeIndex() -
getEntityType
Description copied from interface:OWLEntity
Gets the entity type for this entity.- Specified by:
getEntityType
in interfaceOWLEntity
- Returns:
- The entity type
-
isComment
default boolean isComment()Determines if this annotation property has an IRI corresponding tordfs:comment
.- Returns:
true
if the IRI of this annotation property isrdfs:comment
, whererdfs:
expands to the usual prefix, otherwisefalse
.
-
isLabel
default boolean isLabel()Determines if this annotation property has an IRI corresponding tordfs:label
.- Returns:
true
if the IRI of this annotation property isrdfs:label
, whererdfs:
expands to the usual prefix, otherwisefalse
.
-
isDeprecated
default boolean isDeprecated()Determines if this annotation property has an IRI corresponding toowl:deprecated
. An annotation along theowl:deprecated
property which has a value of"true"^^xsd:boolean
can be used to deprecate IRIs. (See Section 5.5 of the OWL 2 specification.- Returns:
true
if the IRI of this annotation property isowl:deprecated
, whereowl:
expands to the usual prefix, otherwisefalse
.
-
isOWLAnnotationProperty
default boolean isOWLAnnotationProperty()Description copied from interface:AsOWLAnnotationProperty
A convenience method that determines if this entity is an OWLAnnotationProperty.- Specified by:
isOWLAnnotationProperty
in interfaceAsOWLAnnotationProperty
- Returns:
true
if this entity is an OWLAnnotationProperty, otherwisefalse
-
accept
Description copied from interface:OWLObject
Accepts a visitor -
accept
Description copied from interface:OWLObject
Accepts a visitor -
accept
- Specified by:
accept
in interfaceOWLPropertyExpression
- Parameters:
visitor
- visitor to accept
-
accept
- Specified by:
accept
in interfaceOWLPropertyExpression
- Type Parameters:
O
- visitor return type- Parameters:
visitor
- visitor to accept- Returns:
- visitor value
-
accept
-
accept
-
accept
Description copied from interface:OWLNamedObject
Accepts a visitor.- Specified by:
accept
in interfaceOWLNamedObject
- Parameters:
visitor
- The visitor
-
accept
Description copied from interface:OWLNamedObject
Accepts a visitor.- Specified by:
accept
in interfaceOWLNamedObject
- Type Parameters:
O
- visitor return type- Parameters:
visitor
- The visitor- Returns:
- visitor return value
-