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

public interface OWLAnnotationProperty extends OWLProperty
Represents an AnnotationProperty in the OWL 2 specification.
Since:
3.0.0
Author:
Matthew Horridge, The University of Manchester, Information Management Group
  • Method Details

    • hashIndex

      default int hashIndex()
      Specified by:
      hashIndex in interface HasHashIndex
      Returns:
      index for this type. This is not a hashcode for instances, rather a hashcode for the types.
    • typeIndex

      default int typeIndex()
      Specified by:
      typeIndex in interface HasIndex
      Returns:
      index for this type. This is not a hashcode for instances, rather a sorting index for the types.
    • getEntityType

      default EntityType<?> getEntityType()
      Description copied from interface: OWLEntity
      Gets the entity type for this entity.
      Specified by:
      getEntityType in interface OWLEntity
      Returns:
      The entity type
    • isComment

      default boolean isComment()
      Determines if this annotation property has an IRI corresponding to rdfs:comment.
      Returns:
      true if the IRI of this annotation property is rdfs:comment, where rdfs: expands to the usual prefix, otherwise false.
    • isLabel

      default boolean isLabel()
      Determines if this annotation property has an IRI corresponding to rdfs:label.
      Returns:
      true if the IRI of this annotation property is rdfs:label, where rdfs: expands to the usual prefix, otherwise false.
    • isDeprecated

      default boolean isDeprecated()
      Determines if this annotation property has an IRI corresponding to owl:deprecated. An annotation along the owl: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 is owl:deprecated, where owl: expands to the usual prefix, otherwise false.
    • isOWLAnnotationProperty

      default boolean isOWLAnnotationProperty()
      Description copied from interface: AsOWLAnnotationProperty
      A convenience method that determines if this entity is an OWLAnnotationProperty.
      Specified by:
      isOWLAnnotationProperty in interface AsOWLAnnotationProperty
      Returns:
      true if this entity is an OWLAnnotationProperty, otherwise false
    • accept

      default void accept(@Nonnull OWLObjectVisitor visitor)
      Description copied from interface: OWLObject
      Accepts a visitor
      Specified by:
      accept in interface OWLObject
      Parameters:
      visitor - The visitor
    • accept

      default <O> O accept(@Nonnull OWLObjectVisitorEx<O> visitor)
      Description copied from interface: OWLObject
      Accepts a visitor
      Specified by:
      accept in interface OWLObject
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - The visitor
      Returns:
      visitor value
    • accept

      default void accept(@Nonnull OWLPropertyExpressionVisitor visitor)
      Specified by:
      accept in interface OWLPropertyExpression
      Parameters:
      visitor - visitor to accept
    • accept

      default <O> O accept(@Nonnull OWLPropertyExpressionVisitorEx<O> visitor)
      Specified by:
      accept in interface OWLPropertyExpression
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - visitor to accept
      Returns:
      visitor value
    • accept

      default void accept(@Nonnull OWLEntityVisitor visitor)
      Specified by:
      accept in interface OWLEntity
      Parameters:
      visitor - visitor
    • accept

      default <O> O accept(@Nonnull OWLEntityVisitorEx<O> visitor)
      Specified by:
      accept in interface OWLEntity
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - visitor
      Returns:
      visitor return value
    • accept

      default void accept(@Nonnull OWLNamedObjectVisitor visitor)
      Description copied from interface: OWLNamedObject
      Accepts a visitor.
      Specified by:
      accept in interface OWLNamedObject
      Parameters:
      visitor - The visitor
    • accept

      default <O> O accept(@Nonnull OWLNamedObjectVisitorEx<O> visitor)
      Description copied from interface: OWLNamedObject
      Accepts a visitor.
      Specified by:
      accept in interface OWLNamedObject
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - The visitor
      Returns:
      visitor return value