org.semanticweb.owlapi.model
Interface OWLHasKeyAxiom

All Superinterfaces:
java.lang.Comparable<OWLObject>, OWLAxiom, OWLLogicalAxiom, OWLObject
All Known Implementing Classes:
OWLHasKeyAxiomImpl

public interface OWLHasKeyAxiom
extends OWLLogicalAxiom

Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 15-Jan-2009

Represents a HasKey axiom in the OWL 2 Specification.


Method Summary
 OWLHasKeyAxiom getAxiomWithoutAnnotations()
          Gets an axiom that is structurally equivalent to this axiom without annotations.
 OWLClassExpression getClassExpression()
          Gets the class expression, instances of which, this axiom acts as the key for
 java.util.Set<OWLDataPropertyExpression> getDataPropertyExpressions()
          Gets the set of data property expressions that make up the key.
 java.util.Set<OWLObjectPropertyExpression> getObjectPropertyExpressions()
          Gets the set of object property expressions that make up the key.
 java.util.Set<OWLPropertyExpression> getPropertyExpressions()
          Gets the set of property expressions that form the key
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLAxiom
accept, accept, equalsIgnoreAnnotations, getAnnotatedAxiom, getAnnotations, getAnnotations, getAxiomType, 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
 

Method Detail

getClassExpression

OWLClassExpression getClassExpression()
Gets the class expression, instances of which, this axiom acts as the key for

Returns:
The class expression

getPropertyExpressions

java.util.Set<OWLPropertyExpression> getPropertyExpressions()
Gets the set of property expressions that form the key

Returns:
The set of property expression that form the key

getObjectPropertyExpressions

java.util.Set<OWLObjectPropertyExpression> getObjectPropertyExpressions()
Gets the set of object property expressions that make up the key. This is simply a convenience method that filteres out the object property expressions in the key. All of the properties returned by this method are included in the return value of the getPropertyExpressions() method.

Returns:
The set of object property expressions in the key described by this axiom

getDataPropertyExpressions

java.util.Set<OWLDataPropertyExpression> getDataPropertyExpressions()
Gets the set of data property expressions that make up the key. This is simply a convenience method that filteres out the data property expressions in the key. All of the properties returned by this method are included in the return value of the getPropertyExpressions() method.

Returns:
The set of object property expressions in the key described by this axiom

getAxiomWithoutAnnotations

OWLHasKeyAxiom getAxiomWithoutAnnotations()
Description copied from interface: OWLAxiom
Gets an axiom that is structurally equivalent to this axiom without annotations. This essentially returns a version of this axiom stripped of any annotations

Specified by:
getAxiomWithoutAnnotations in interface OWLAxiom
Returns:
The annotationless version of this axiom