Package org.semanticweb.owlapi.model
Interface OWLObjectPropertyAssertionAxiom
- All Superinterfaces:
Comparable<OWLObject>
,HasAnnotationPropertiesInSignature
,HasAnnotations
,HasAnonymousIndividuals
,HasClassesInSignature
,HasComponents
,HasContainsEntityInSignature
,HasDataPropertiesInSignature
,HasDatatypesInSignature
,HasHashIndex
,HasIndex
,HasIndividualsInSignature
,HasObject<OWLIndividual>
,HasObjectPropertiesInSignature
,HasProperty<OWLObjectPropertyExpression>
,HasSignature
,HasSubject<OWLIndividual>
,IsAnonymous
,OWLAxiom
,OWLIndividualAxiom
,OWLLogicalAxiom
,OWLObject
,OWLPropertyAssertionAxiom<OWLObjectPropertyExpression,
,OWLIndividual> OWLSubClassOfAxiomShortCut
,Serializable
- All Known Implementing Classes:
OWLObjectPropertyAssertionAxiomImpl
public interface OWLObjectPropertyAssertionAxiom
extends OWLPropertyAssertionAxiom<OWLObjectPropertyExpression,OWLIndividual>, OWLSubClassOfAxiomShortCut
Represents an
ObjectPropertyAssertion axiom 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
(OWLAxiomVisitor visitor) default <O> O
accept
(OWLAxiomVisitorEx<O> visitor) default void
accept
(OWLObjectVisitor visitor) Accepts a visitordefault <O> O
accept
(OWLObjectVisitorEx<O> visitor) Accepts a visitordefault AxiomType<?>
Gets the axiom type for this axiom.Gets an axiom that is structurally equivalent to this axiom without annotations.Gets a simplified version of this object property axiom.default int
boolean
Determines if this axiom is in a simplified form, i.e.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.HasAnnotations
annotations, annotations, annotations, annotationsAsList, getAnnotations, getAnnotations
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.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
isAnonymous, isNamed
Methods inherited from interface org.semanticweb.owlapi.model.OWLAxiom
equalsIgnoreAnnotations, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAxiomWithoutAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isAxiom, isIndividual, isOfType, isOfType, isOfType, typeIndex
Methods inherited from interface org.semanticweb.owlapi.model.OWLLogicalAxiom
isLogicalAxiom
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject
getNestedClassExpressions, hasSharedStructure, isAnonymousExpression, isBottomEntity, isIRI, isOntology, isTopEntity, nestedClassExpressions
Methods inherited from interface org.semanticweb.owlapi.model.OWLPropertyAssertionAxiom
components, componentsAnnotationsFirst, componentsWithoutAnnotations, getObject, getProperty, getSubject, initHashCode
Methods inherited from interface org.semanticweb.owlapi.model.OWLSubClassOfAxiomShortCut
asOWLSubClassOfAxiom
-
Method Details
-
getAxiomWithoutAnnotations
OWLObjectPropertyAssertionAxiom getAxiomWithoutAnnotations()Description copied from interface:OWLAxiom
Gets an axiom that is structurally equivalent to this axiom without annotations. This essentially returns a version of this axiom stripped of any annotations.- Specified by:
getAxiomWithoutAnnotations
in interfaceOWLAxiom
- Returns:
- The axiom without annotations
-
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.
-
getSimplified
OWLObjectPropertyAssertionAxiom getSimplified()Gets a simplified version of this object property axiom. This is defined recursively as follows:- ObjectPropertyAssertion(P S O) = ObjectPropertyAssertion(P S O)
- ObjectPropertyAssertion(ObjectInverseOf(P) S O) = ObjectPropertyAssertion(P O S)
- Returns:
- the simplified version
-
isInSimplifiedForm
boolean isInSimplifiedForm()Determines if this axiom is in a simplified form, i.e. a form where the property is not a property inverse. ObjectPropertyAssertion(P S O) is in a simplified form, where as ObjectPropertyAssertion(ObjectInverseOf(P) S O) is not because it contains an inverse object property.- Returns:
true
if this axiom is in a simplified form, otherwisefalse
-
accept
Description copied from interface:OWLObject
Accepts a visitor -
accept
Description copied from interface:OWLObject
Accepts a visitor -
accept
-
accept
-
getAxiomType
Description copied from interface:OWLAxiom
Gets the axiom type for this axiom.- Specified by:
getAxiomType
in interfaceOWLAxiom
- Returns:
- The axiom type that corresponds to the type of this axiom.
-