Interface DataTreeCandidate.CandidateNode
- All Known Subinterfaces:
DataTreeCandidate.CandidateNode.Appeared
,DataTreeCandidate.CandidateNode.Compacted
,DataTreeCandidate.CandidateNode.Created
,DataTreeCandidate.CandidateNode.Deleted
,DataTreeCandidate.CandidateNode.Disappeared
,DataTreeCandidate.CandidateNode.Modified
,DataTreeCandidate.CandidateNode.Replaced
,DataTreeCandidate.CandidateNode.Unmodified
,DataTreeCandidate.CandidateNode.WithDataAfter
,DataTreeCandidate.CandidateNode.WithoutDataAfter
- Enclosing interface:
DataTreeCandidate
public static sealed interface DataTreeCandidate.CandidateNode
permits DataTreeCandidate.CandidateNode.WithDataAfter, DataTreeCandidate.CandidateNode.WithoutDataAfter
A single node within a
DataTreeCandidate
. The nodes are organized in tree hierarchy, reflecting
the modification from which this candidate was created. The node itself exposes the before- and after-image
of the tree restricted to the modified nodes.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
An impliedNormalizedNodeContainer
is coming into existence via one of its children coming to existence.static interface
AnDataTreeCandidate.CandidateNode.Unmodified
event indicating the backing metadata has been compacted to appear as if this node has beenDataTreeCandidate.CandidateNode.Created
with current #DataTreeCandidate.CandidateNode.WithDataAfter.dataAfter()
.static interface
ANormalizedNode
is being introduced without being previously present.static interface
ANormalizedNode
is being removed having been previously present.static interface
An impliedNormalizedNodeContainer
is becoming non-existent via all of its children becoming non-existent.static interface
ANormalizedNodeContainer
becoming non-existent via all of its children becoming non-existent.static interface
An existingNormalizedNode
is being replaced.static interface
TheNormalizedNode
has not been modified in a way itsObject.equals(Object)
contract has been left unchanged.static interface
A non-terminalDataTreeCandidate.CandidateNode
which has some childDataTreeCandidate.CandidateNode
s, which have collectively contributed to this node's existence.static interface
IntermediateDataTreeCandidate.CandidateNode
indicating the node will exist.static interface
Intermediate helper trait guaranteeingDataTreeCandidate.CandidateNode.WithDataBefore.dataBefore()
being non-null.static interface
IntermediateDataTreeCandidate.CandidateNode
indicating the node will cease to exist. -
Method Summary
Modifier and TypeMethodDescriptionname()
Get the node underlyingNormalizedNode.name()
.toLegacy()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
name
Get the node underlyingNormalizedNode.name()
.- Returns:
- The node identifier.
-
toLegacy
Deprecated, for removal: This API element is subject to removal in a future version.Return thisDataTreeCandidate.CandidateNode
as a legacyDataTreeCandidateNode
.- Returns:
- a
DataTreeCandidateNode
-