Package org.semanticweb.owlapi.model
Interface OWLObjectProperty
- 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
,OWLObjectPropertyExpression
,OWLPrimitive
,OWLProperty
,OWLPropertyExpression
,Serializable
,SWRLPredicate
- All Known Implementing Classes:
OWLObjectPropertyImpl
Represents an
Object
Property in the OWL 2 Specification.
- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics 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 OWLObjectProperty
Get the named object property used in this property expression.default int
default boolean
Determines if this object is either, owl:Nothing (the bottom class), owl:bottomObjectProperty (the bottom object property) , owl:bottomDataProperty (the bottom data property).default boolean
Determines if this is the owl:bottomObjectProperty.default boolean
A convenience method that determines if this entity is an OWLObjectProperty.default boolean
Determines if this is the owl:topObjectProperty.default boolean
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).default int
Methods inherited from interface org.semanticweb.owlapi.model.AsOWLAnnotationProperty
asOWLAnnotationProperty, isOWLAnnotationProperty
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
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, isIndividual, isIRI, isOntology, nestedClassExpressions
Methods inherited from interface org.semanticweb.owlapi.model.OWLObjectPropertyExpression
getInverseProperty, getSimplified, isObjectPropertyExpression
Methods inherited from interface org.semanticweb.owlapi.model.OWLPropertyExpression
asDataPropertyExpression, asObjectPropertyExpression, isDataPropertyExpression, isOWLBottomDataProperty, isOWLTopDataProperty
-
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
-
getNamedProperty
Description copied from interface:OWLObjectPropertyExpression
Get the named object property used in this property expression.- Specified by:
getNamedProperty
in interfaceOWLObjectPropertyExpression
- Returns:
- P if this expression is either inv(P) or P.
-
isOWLObjectProperty
default boolean isOWLObjectProperty()Description copied from interface:AsOWLObjectProperty
A convenience method that determines if this entity is an OWLObjectProperty.- Specified by:
isOWLObjectProperty
in interfaceAsOWLObjectProperty
- Returns:
true
if this entity is an OWLObjectProperty, otherwisefalse
-
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 interfaceOWLObject
- 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 interfaceOWLObject
- Returns:
true
if this object corresponds to one of the above entities.
-
isOWLTopObjectProperty
default boolean isOWLTopObjectProperty()Description copied from interface:OWLPropertyExpression
Determines if this is the owl:topObjectProperty.- Specified by:
isOWLTopObjectProperty
in interfaceOWLPropertyExpression
- Returns:
true
if this property is the owl:topObjectProperty otherwisefalse
-
isOWLBottomObjectProperty
default boolean isOWLBottomObjectProperty()Description copied from interface:OWLPropertyExpression
Determines if this is the owl:bottomObjectProperty.- Specified by:
isOWLBottomObjectProperty
in interfaceOWLPropertyExpression
- Returns:
true
if this property is the owl:bottomObjectProperty 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
-