public class OWLDifferentIndividualsAxiomImpl extends OWLNaryIndividualAxiomImpl implements OWLDifferentIndividualsAxiom
Constructor and Description |
---|
OWLDifferentIndividualsAxiomImpl(java.util.Set<? extends OWLIndividual> individuals,
java.util.Set<? extends OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLAxiomVisitor visitor) |
<O> O |
accept(OWLAxiomVisitorEx<O> visitor) |
void |
accept(OWLObjectVisitor visitor) |
<O> O |
accept(OWLObjectVisitorEx<O> visitor) |
java.util.Set<OWLSubClassOfAxiom> |
asOWLSubClassOfAxioms() |
java.util.Set<OWLDifferentIndividualsAxiom> |
asPairwiseAxioms()
Gets this axiom as a set of pairwise axioms.
|
boolean |
containsAnonymousIndividuals()
Determines whether this axiom contains anonymous individuals.
|
boolean |
equals(java.lang.Object obj) |
OWLDifferentIndividualsAxiom |
getAnnotatedAxiom(java.util.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.
|
compareObjectOfSameType, getIndividuals, getIndividualsAsList
isAnnotationAxiom, isLogicalAxiom
accept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfType, mergeAnnos
compareLists, compareSets, compareTo, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, isBottomEntity, isTopEntity, setOWLDataFactory, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getIndividuals, getIndividualsAsList
equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isLogicalAxiom, isOfType, isOfType
getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
public OWLDifferentIndividualsAxiomImpl(java.util.Set<? extends OWLIndividual> individuals, java.util.Set<? extends OWLAnnotation> annotations)
public OWLDifferentIndividualsAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLDifferentIndividualsAxiom
public OWLDifferentIndividualsAxiom getAnnotatedAxiom(java.util.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 java.util.Set<OWLDifferentIndividualsAxiom> asPairwiseAxioms()
OWLNaryAxiom
asPairwiseAxioms
in interface OWLDifferentIndividualsAxiom
asPairwiseAxioms
in interface OWLNaryAxiom
public boolean containsAnonymousIndividuals()
containsAnonymousIndividuals
in interface OWLDifferentIndividualsAxiom
true
if this axioms contains anonymous individual axiomspublic boolean equals(java.lang.Object obj)
equals
in class OWLNaryIndividualAxiomImpl
public java.util.Set<OWLSubClassOfAxiom> asOWLSubClassOfAxioms()
asOWLSubClassOfAxioms
in interface OWLSubClassOfAxiomSetShortCut
public void accept(OWLAxiomVisitor visitor)
public void accept(OWLObjectVisitor visitor)
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
public AxiomType<?> getAxiomType()
OWLAxiom
getAxiomType
in interface OWLAxiom