uk.ac.manchester.cs.owl.owlapi
Class OWLSubPropertyAxiomImpl<P extends OWLPropertyExpression>

java.lang.Object
  extended by uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.owlapi.OWLAxiomImpl
          extended by uk.ac.manchester.cs.owl.owlapi.OWLLogicalAxiomImpl
              extended by uk.ac.manchester.cs.owl.owlapi.OWLPropertyAxiomImpl
                  extended by uk.ac.manchester.cs.owl.owlapi.OWLSubPropertyAxiomImpl<P>
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAxiom, OWLLogicalAxiom, OWLObject, OWLPropertyAxiom, OWLSubPropertyAxiom<P>
Direct Known Subclasses:
OWLSubDataPropertyOfAxiomImpl, OWLSubObjectPropertyOfAxiomImpl

public abstract class OWLSubPropertyAxiomImpl<P extends OWLPropertyExpression>
extends OWLPropertyAxiomImpl
implements OWLSubPropertyAxiom<P>

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


Constructor Summary
OWLSubPropertyAxiomImpl(OWLDataFactory dataFactory, P subProperty, P superProperty, java.util.Collection<? extends OWLAnnotation> annotations)
           
 
Method Summary
protected  int compareObjectOfSameType(OWLObject object)
           
 boolean equals(java.lang.Object obj)
           
 P getSubProperty()
           
 P getSuperProperty()
           
 
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLLogicalAxiomImpl
isLogicalAxiom
 
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLAxiomImpl
equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, getReferencedEntities, isAnnotated, isOfType, isOfType, mergeAnnos
 
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
 

Constructor Detail

OWLSubPropertyAxiomImpl

public OWLSubPropertyAxiomImpl(OWLDataFactory dataFactory,
                               P subProperty,
                               P superProperty,
                               java.util.Collection<? extends OWLAnnotation> annotations)
Method Detail

getSubProperty

public P getSubProperty()
Specified by:
getSubProperty in interface OWLSubPropertyAxiom<P extends OWLPropertyExpression>

getSuperProperty

public P getSuperProperty()
Specified by:
getSuperProperty in interface OWLSubPropertyAxiom<P extends OWLPropertyExpression>

equals

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

compareObjectOfSameType

protected int compareObjectOfSameType(OWLObject object)
Specified by:
compareObjectOfSameType in class OWLObjectImpl