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

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.OWLPropertyAxiomImpl
                  extended by uk.ac.manchester.cs.owl.OWLSubPropertyAxiomImpl<P>
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAxiom, OWLLogicalAxiom, OWLObject, OWLPropertyAxiom, OWLSubPropertyAxiom<P>
Direct Known Subclasses:
OWLDataSubPropertyAxiomImpl, OWLObjectSubPropertyAxiomImpl

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)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 P getSubProperty()
           
 P getSuperProperty()
           
 
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

OWLSubPropertyAxiomImpl

public OWLSubPropertyAxiomImpl(OWLDataFactory dataFactory,
                               P subProperty,
                               P superProperty)
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