E
- the type of entities described in an Axiom.EntitySet
set.
It should be the same parameter (or an extension) used for
a specific Axiom.EntitySet
implementation.public static class Axiom.EntitySet.SynchronisationIntent<E>
extends java.lang.Object
Axiom.EntitySet
.
It describes the changes that should be performed in a Axiom.EntitySet
set or in an OWL ontology during: Axiom.Descriptor.readAxioms()
or
Axiom.Descriptor.writeAxioms()
.
This implementation considers sets of Axiom.EntitySet
as a
HashSet
E.
This class is not directly instantiable but it can be assessed through:
EntitySet#synchroniseFrom(EntitySet)
or EntitySet#synchroniseTo(EntitySet)
.
Modifier and Type | Method and Description |
---|---|
Axiom.EntitySet.SynchronisationIntent<E> |
copy() |
boolean |
equals(java.lang.Object o) |
java.util.Set<E> |
getToAdd()
Returns the element to add to the set in order to synchronise them.
|
java.util.Set<E> |
getToRemove()
Returns the element to remove to the set in order to synchronise them.
|
java.util.Set<E> |
getUnchanged()
Returns the elements that are in both sets.
|
int |
hashCode() |
java.lang.String |
toString() |
public java.util.Set<E> getToAdd()
Axiom.Descriptor.writeAxioms()
those are the axioms
to add in the OWL representation.
During Axiom.Descriptor.readAxioms()
those are the axioms
to add to the OWLOOP representation.public java.util.Set<E> getToRemove()
Axiom.Descriptor.writeAxioms()
those are the axioms
to remove from the OWL representation.
During Axiom.Descriptor.readAxioms()
those are the axioms
to remove from the OWLOOP representation.public java.util.Set<E> getUnchanged()
Axiom.Descriptor.writeAxioms()
and Axiom.Descriptor.readAxioms()
,
those elements can be not considered.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public Axiom.EntitySet.SynchronisationIntent<E> copy()