Interface OWLDataProperty

All Superinterfaces:
AsOWLAnnotationProperty, AsOWLClass, AsOWLDataProperty, AsOWLDatatype, AsOWLNamedIndividual, AsOWLObjectProperty, Comparable<OWLObject>, HasAnnotationPropertiesInSignature, HasAnonymousIndividuals, HasClassesInSignature, HasComponents, HasContainsEntityInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasHashIndex, HasIndex, HasIndividualsInSignature, HasIRI, HasObjectPropertiesInSignature, HasSignature, IsAnonymous, OWLDataPropertyExpression, OWLEntity, OWLLogicalEntity, OWLNamedObject, OWLObject, OWLPrimitive, OWLProperty, OWLPropertyExpression, Serializable, SWRLPredicate
All Known Implementing Classes:
OWLDataPropertyImpl

public interface OWLDataProperty extends OWLDataPropertyExpression, OWLProperty
Represents a Data Property in the OWL 2 Specification.
Since:
2.0.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics 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
    • isTopEntity

      default boolean isTopEntity()
      Description copied from interface: OWLObject
      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).
      Specified by:
      isTopEntity in interface OWLObject
      Returns:
      true if this object corresponds to one of the above entities.
    • isBottomEntity

      default boolean isBottomEntity()
      Description copied from interface: OWLObject
      Determines if this object is either, owl:Nothing (the bottom class), owl:bottomObjectProperty (the bottom object property) , owl:bottomDataProperty (the bottom data property).
      Specified by:
      isBottomEntity in interface OWLObject
      Returns:
      true if this object corresponds to one of the above entities.
    • isOWLTopDataProperty

      default boolean isOWLTopDataProperty()
      Description copied from interface: OWLPropertyExpression
      Determines if this is the owl:topDataProperty.
      Specified by:
      isOWLTopDataProperty in interface OWLPropertyExpression
      Returns:
      true if this property is the owl:topDataProperty otherwise false
    • isOWLBottomDataProperty

      default boolean isOWLBottomDataProperty()
      Description copied from interface: OWLPropertyExpression
      Determines if this is the owl:bottomDataProperty.
      Specified by:
      isOWLBottomDataProperty in interface OWLPropertyExpression
      Returns:
      true if this property is the owl:bottomDataProperty otherwise false
    • isDataPropertyExpression

      default boolean isDataPropertyExpression()
      Specified by:
      isDataPropertyExpression in interface OWLPropertyExpression
      Returns:
      true if this is a data property
    • isOWLDataProperty

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

      default void accept(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(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(OWLPropertyExpressionVisitor visitor)
      Specified by:
      accept in interface OWLPropertyExpression
      Parameters:
      visitor - visitor to accept
    • accept

      default <O> O accept(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(OWLEntityVisitor visitor)
      Specified by:
      accept in interface OWLEntity
      Parameters:
      visitor - visitor
    • accept

      default <O> O accept(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(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(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