public class OWLDifferentIndividualsAxiomImpl extends OWLNaryIndividualAxiomImpl implements OWLDifferentIndividualsAxiom
Constructor and Description |
---|
OWLDifferentIndividualsAxiomImpl(Set<? extends OWLIndividual> individuals,
Set<? extends OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLAxiomVisitor visitor) |
<O> O |
accept(OWLAxiomVisitorEx<O> visitor) |
void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
Set<OWLSubClassOfAxiom> |
asOWLSubClassOfAxioms() |
Set<OWLDifferentIndividualsAxiom> |
asPairwiseAxioms()
Gets this axiom as a set of pairwise axioms; if the axiom contains only two operands,
the axiom itself is returned unchanged, including its annotations.
|
boolean |
containsAnonymousIndividuals()
Determines whether this axiom contains anonymous individuals.
|
boolean |
equals(Object obj) |
OWLDifferentIndividualsAxiom |
getAnnotatedAxiom(Set<OWLAnnotation> annotations)
Gets a copy of this axiom that is annotated with the specified annotations.
|
AxiomType<?> |
getAxiomType()
Gets the axiom type for this axiom.
|
OWLDifferentIndividualsAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
Set<OWLDifferentIndividualsAxiom> |
splitToAnnotatedPairs()
Splits this axiom to pairs, including annotations.
|
addAnonymousIndividualsToSet, addSignatureEntitiesToSet, getIndividuals, getIndividualsAsList, walkPairwise
isAnnotationAxiom, isLogicalAxiom
accept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getAnonymousIndividuals, getNNF, getSignature, isAnnotated, isOfType, isOfType
compareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, hashCode, isBottomEntity, isTopEntity, toString
getIndividuals, getIndividualsAsList
equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isLogicalAxiom, isOfType, isOfType
getNestedClassExpressions, isBottomEntity, isIndividual, isIRI, isTopEntity, toString
compareTo
getSignature
containsEntityInSignature
getAnonymousIndividuals
getClassesInSignature
getObjectPropertiesInSignature
getDataPropertiesInSignature
getIndividualsInSignature
getDatatypesInSignature
getAnnotationPropertiesInSignature
isAnonymous, isNamed
walkPairwise
public OWLDifferentIndividualsAxiomImpl(@Nonnull Set<? extends OWLIndividual> individuals, @Nonnull Set<? extends OWLAnnotation> annotations)
individuals
- individualsannotations
- annotations on the axiompublic OWLDifferentIndividualsAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLDifferentIndividualsAxiom
public OWLDifferentIndividualsAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations)
OWLAxiom
getAnnotatedAxiom
in interface OWLAxiom
annotations
- The annotations that will be added to existing annotations to annotate the
copy of this axiomOWLAxiom#getAnnotations()
method.public Set<OWLDifferentIndividualsAxiom> asPairwiseAxioms()
OWLNaryAxiom
asPairwiseAxioms
in interface OWLDifferentIndividualsAxiom
asPairwiseAxioms
in interface OWLNaryAxiom<OWLIndividual>
public Set<OWLDifferentIndividualsAxiom> splitToAnnotatedPairs()
OWLNaryAxiom
splitToAnnotatedPairs
in interface OWLDifferentIndividualsAxiom
splitToAnnotatedPairs
in interface OWLNaryAxiom<OWLIndividual>
public boolean containsAnonymousIndividuals()
OWLDifferentIndividualsAxiom
containsAnonymousIndividuals
in interface OWLDifferentIndividualsAxiom
true
if this axioms contains anonymous individual axiomspublic boolean equals(Object obj)
equals
in class OWLNaryIndividualAxiomImpl
public Set<OWLSubClassOfAxiom> asOWLSubClassOfAxioms()
asOWLSubClassOfAxioms
in interface OWLSubClassOfAxiomSetShortCut
public void accept(OWLAxiomVisitor visitor)
public void accept(OWLObjectVisitor visitor)
OWLObject
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
public AxiomType<?> getAxiomType()
OWLAxiom
getAxiomType
in interface OWLAxiom
Copyright © 2020 The University of Manchester. All rights reserved.