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>
- 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, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, 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, getAnnotatedAxiom, getAnnotations, getAxiomType, getAxiomWithoutAnnotations, getNNF, getReferencedEntities, isAnnotated, isLogicalAxiom, isOfType, isOfType |
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 (i.e. the subject of the relationship)
- Specified by:
getSubject
in interface OWLPropertyAssertionAxiom<P extends OWLPropertyExpression,O extends OWLPropertyAssertionObject>
getProperty
public P getProperty()
- Description copied from interface:
OWLPropertyAssertionAxiom
- Gets the property that the relationship acts along
- Specified by:
getProperty
in interface OWLPropertyAssertionAxiom<P extends OWLPropertyExpression,O extends OWLPropertyAssertionObject>
getObject
public O getObject()
- Description copied from interface:
OWLPropertyAssertionAxiom
- Gets the object of the relationship
- Specified by:
getObject
in interface OWLPropertyAssertionAxiom<P extends OWLPropertyExpression,O extends OWLPropertyAssertionObject>
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