uk.ac.manchester.cs.owl
Class OWLIndividualRelationshipAxiomImpl<P extends OWLPropertyExpression,O extends OWLObject>

java.lang.Object
  extended by uk.ac.manchester.cs.owl.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.OWLAxiomImpl
          extended by uk.ac.manchester.cs.owl.OWLLogicalAxiomImpl
              extended by uk.ac.manchester.cs.owl.OWLIndividualRelationshipAxiomImpl<P,O>
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAxiom, OWLIndividualAxiom, OWLLogicalAxiom, OWLObject, OWLPropertyAssertionAxiom<P,O>
Direct Known Subclasses:
OWLDataPropertyAssertionAxiomImpl, OWLNegativeDataPropertyAssertionAxiomImpl, OWLNegativeObjectPropertyAssertionAxiomImpl, OWLObjectPropertyAssertionAxiomImpl

public abstract class OWLIndividualRelationshipAxiomImpl<P extends OWLPropertyExpression,O extends OWLObject>
extends OWLLogicalAxiomImpl
implements OWLPropertyAssertionAxiom<P,O>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006


Constructor Summary
OWLIndividualRelationshipAxiomImpl(OWLDataFactory dataFactory, OWLIndividual subject, P property, O object)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 O getObject()
          Gets the object of the relationship
 P getProperty()
          Gets the property that the relationship acts along
 OWLIndividual getSubject()
          Gets the individual (i.e.
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLLogicalAxiomImpl
isLogicalAxiom
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLAxiomImpl
getAnnotationAxioms, getReferencedEntities
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectImpl
compareTo, getOWLDataFactory, getSignature, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.model.OWLAxiom
accept, accept, getAnnotationAxioms, getAxiomType, getReferencedEntities, isLogicalAxiom
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, accept, getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OWLIndividualRelationshipAxiomImpl

public OWLIndividualRelationshipAxiomImpl(OWLDataFactory dataFactory,
                                          OWLIndividual subject,
                                          P property,
                                          O object)
Method Detail

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 OWLObject>

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 OWLObject>

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 OWLObject>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class OWLAxiomImpl