public class OWLHasKeyAxiomImpl extends OWLLogicalAxiomImpl implements OWLHasKeyAxiom
Constructor and Description |
---|
OWLHasKeyAxiomImpl(OWLClassExpression expression,
Collection<? extends OWLPropertyExpression> propertyExpressions,
Collection<OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
<T extends OWLAxiom> |
getAnnotatedAxiom(Stream<OWLAnnotation> anns)
Gets a copy of this axiom that is annotated with the specified annotations.
|
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.
|
List<OWLPropertyExpression> |
getOperandsAsList()
Gets the operands as a list.
|
Stream<OWLPropertyExpression> |
operands()
Gets the operands - e.g., the individuals in a sameAs axiom, or the classes in an equivalent
classes axiom.
|
Stream<OWLPropertyExpression> |
propertyExpressions() |
annotations, annotationsAsList, getNNF, isAnnotated
annotationPropertiesInSignature, anonymousIndividuals, classesInSignature, compareTo, containsEntityInSignature, dataPropertiesInSignature, datatypesInSignature, equals, hashCode, individualsInSignature, nestedClassExpressions, objectPropertiesInSignature, signature, toString
accept, accept, accept, accept, components, componentsAnnotationsFirst, componentsWithoutAnnotations, dataPropertyExpressions, getAxiomType, getDataPropertyExpressions, getObjectPropertyExpressions, getPropertyExpressions, hashIndex, initHashCode, objectPropertyExpressions
isLogicalAxiom
equalsIgnoreAnnotations, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAxiomWithoutAnnotations, getAxiomWithoutAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isAxiom, isIndividual, isOfType, isOfType, isOfType, typeIndex
getNestedClassExpressions, hashIteration, hasSharedStructure, isAnonymousExpression, isBottomEntity, isIRI, isOntology, isTopEntity, nestedClassExpressions
compareTo
getSignature, signature, unsortedSignature
containsEntityInSignature
anonymousIndividuals, getAnonymousIndividuals
classesInSignature, getClassesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
getIndividualsInSignature, individualsInSignature
datatypesInSignature, getDatatypesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
isAnonymous, isNamed
annotations, annotations, annotations, annotationsAsList, getAnnotations, getAnnotations
addAnonymousIndividualsToSet, addSignatureEntitiesToSet
public OWLHasKeyAxiomImpl(OWLClassExpression expression, Collection<? extends OWLPropertyExpression> propertyExpressions, Collection<OWLAnnotation> annotations)
expression
- class expressionpropertyExpressions
- propertiesannotations
- annotations on the axiompublic OWLHasKeyAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLHasKeyAxiom
public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns)
OWLAxiom
getAnnotatedAxiom
in interface OWLAxiom
T
- typeanns
- The annotations that will be added to existing annotations to annotate the
copy of this axiomOWLAxiom#getAnnotations()
method.public OWLClassExpression getClassExpression()
OWLHasKeyAxiom
getClassExpression
in interface OWLHasKeyAxiom
public Stream<OWLPropertyExpression> propertyExpressions()
propertyExpressions
in interface OWLHasKeyAxiom
public Stream<OWLPropertyExpression> operands()
HasOperands
operands
in interface HasOperands<OWLPropertyExpression>
public List<OWLPropertyExpression> getOperandsAsList()
HasOperands
getOperandsAsList
in interface HasOperands<OWLPropertyExpression>
Copyright © 2020 The University of Manchester. All rights reserved.