Y
- the OWL entities.public static interface Axiom.EntitySet<Y>
extends java.util.Collection<Y>
Axiom.Descriptor
.
Given the descriptor's internal state (having the Axiom.EntitySet
within it) and the OWL representation (i.e., queried description),
it is possible to synchronise the two by using the Axiom.EntitySet.SynchronisationIntent
.Modifier and Type | Interface and Description |
---|---|
static class |
Axiom.EntitySet.SynchronisationIntent<E>
The synchronising intent during reading or writing of
Axiom.EntitySet . |
Modifier and Type | Method and Description |
---|---|
boolean |
isSingleton()
Describes whether this EntitySet contains a single element.
|
void |
setSingleton(boolean singleton)
Set this EntitySet to contain a single element.
|
default Axiom.EntitySet.SynchronisationIntent<Y> |
synchroniseFrom(Axiom.EntitySet<Y> queried)
This method is used during
Axiom.Descriptor.readAxioms() and finds
the differences between the actual state of EntitySet and the one
queried to the OWL representation. |
default Axiom.EntitySet.SynchronisationIntent<Y> |
synchroniseTo(Axiom.EntitySet<Y> queried)
This method is used during
Axiom.Descriptor.writeAxioms() and finds
the differences between the actual state of EntitySet and the one
queried to the OWL representation. |
boolean isSingleton()
void setSingleton(boolean singleton)
singleton
- (true) if this is a singleton set, (false) otherwise.default Axiom.EntitySet.SynchronisationIntent<Y> synchroniseTo(Axiom.EntitySet<Y> queried)
Axiom.Descriptor.writeAxioms()
and finds
the differences between the actual state of EntitySet and the one
queried to the OWL representation. Such changes represent the intent to
delete and add axioms to the OWL structure, to make it equal to this EntitySet.queried
- the set to check for writing differences from OWL to this EntitySet.default Axiom.EntitySet.SynchronisationIntent<Y> synchroniseFrom(Axiom.EntitySet<Y> queried)
Axiom.Descriptor.readAxioms()
and finds
the differences between the actual state of EntitySet and the one
queried to the OWL representation. Such changes represents the intent to
delete and add elements to this EntitySet, to make it equal to the OWL representation.queried
- the set to check for reading differences from OWL to this EntitySet.