public class OWLSubClassOfAxiomImpl extends OWLClassAxiomImpl implements OWLSubClassOfAxiom
Constructor and Description |
---|
OWLSubClassOfAxiomImpl(OWLClassExpression subClass,
OWLClassExpression superClass,
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.
|
OWLSubClassOfAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
OWLClassExpression |
getSubClass()
Gets the subclass in this axiom.
|
OWLClassExpression |
getSuperClass()
Gets the superclass in this axiom.
|
boolean |
isGCI()
Determines if this subclass axiom has a subclass that is anonymous.
|
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, getAxiomType, hashIndex, initHashCode
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 OWLSubClassOfAxiomImpl(OWLClassExpression subClass, OWLClassExpression superClass, Collection<OWLAnnotation> annotations)
subClass
- subclasssuperClass
- superclassannotations
- annotationspublic <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 OWLSubClassOfAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLSubClassOfAxiom
public OWLClassExpression getSubClass()
OWLSubClassOfAxiom
getSubClass
in interface OWLSubClassOfAxiom
public OWLClassExpression getSuperClass()
OWLSubClassOfAxiom
getSuperClass
in interface OWLSubClassOfAxiom
public boolean isGCI()
OWLSubClassOfAxiom
isGCI
in interface OWLSubClassOfAxiom
true
if this axiom is a GCI, other wise false
.Copyright © 2020 The University of Manchester. All rights reserved.