java.lang.Object
uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
uk.ac.manchester.cs.owl.owlapi.OWLAxiomImpl
uk.ac.manchester.cs.owl.owlapi.OWLLogicalAxiomImpl
uk.ac.manchester.cs.owl.owlapi.OWLIndividualRelationshipAxiomImpl<P,O>
- All Implemented Interfaces:
- java.lang.Comparable<OWLObject>, OWLAxiom, OWLIndividualAxiom, OWLLogicalAxiom, OWLObject, OWLPropertyAssertionAxiom<P,O>, OWLSubClassOfAxiomShortCut
- Direct Known Subclasses:
- OWLDataPropertyAssertionAxiomImpl, OWLNegativeDataPropertyAssertionImplAxiom, OWLNegativeObjectPropertyAssertionAxiomImpl, OWLObjectPropertyAssertionAxiomImpl
public abstract class OWLIndividualRelationshipAxiomImpl<P extends OWLPropertyExpression,O extends OWLPropertyAssertionObject>
- extends OWLLogicalAxiomImpl
- implements OWLPropertyAssertionAxiom<P,O>
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl |
compareSets, compareTo, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, isBottomEntity, isTopEntity, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.semanticweb.owlapi.model.OWLAxiom |
accept, accept, equalsIgnoreAnnotations, getAnnotatedAxiom, getAnnotations, getAnnotations, getAxiomType, getAxiomWithoutAnnotations, getNNF, isAnnotated, isLogicalAxiom, isOfType, isOfType |
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject |
accept, accept, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity |
Methods inherited from interface java.lang.Comparable |
compareTo |
OWLIndividualRelationshipAxiomImpl
public OWLIndividualRelationshipAxiomImpl(OWLDataFactory dataFactory,
OWLIndividual subject,
P property,
O object,
java.util.Collection<? extends OWLAnnotation> annotations)
getSubject
public OWLIndividual getSubject()
- Description copied from interface:
OWLPropertyAssertionAxiom
- Gets the individual that is the subject of this assertion.
- Specified by:
getSubject
in interface OWLPropertyAssertionAxiom<P extends OWLPropertyExpression,O extends OWLPropertyAssertionObject>
- Returns:
- The individual that represents the subject of this assertion.
getProperty
public P getProperty()
- Description copied from interface:
OWLPropertyAssertionAxiom
- Gets the property that this assertion acts along
- Specified by:
getProperty
in interface OWLPropertyAssertionAxiom<P extends OWLPropertyExpression,O extends OWLPropertyAssertionObject>
- Returns:
- The property
getObject
public O getObject()
- Description copied from interface:
OWLPropertyAssertionAxiom
- Gets the object of this assertion
- Specified by:
getObject
in interface OWLPropertyAssertionAxiom<P extends OWLPropertyExpression,O extends OWLPropertyAssertionObject>
- Returns:
- The object that this assertion points to.
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OWLAxiomImpl
compareObjectOfSameType
protected final int compareObjectOfSameType(OWLObject object)
- Specified by:
compareObjectOfSameType
in class OWLObjectImpl