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 interfaceAn impliedNormalizedNodeContaineris coming into existence via one of its children coming to existence.static interfaceAnDataTreeCandidate.CandidateNode.Unmodifiedevent indicating the backing metadata has been compacted to appear as if this node has beenDataTreeCandidate.CandidateNode.Createdwith current #DataTreeCandidate.CandidateNode.WithDataAfter.dataAfter().static interfaceANormalizedNodeis being introduced without being previously present.static interfaceANormalizedNodeis being removed having been previously present.static interfaceAn impliedNormalizedNodeContaineris becoming non-existent via all of its children becoming non-existent.static interfaceANormalizedNodeContainerbecoming non-existent via all of its children becoming non-existent.static interfaceAn existingNormalizedNodeis being replaced.static interfaceTheNormalizedNodehas not been modified in a way itsObject.equals(Object)contract has been left unchanged.static interfaceA non-terminalDataTreeCandidate.CandidateNodewhich has some childDataTreeCandidate.CandidateNodes, which have collectively contributed to this node's existence.static interfaceIntermediateDataTreeCandidate.CandidateNodeindicating the node will exist.static interfaceIntermediate helper trait guaranteeingDataTreeCandidate.CandidateNode.WithDataBefore.dataBefore()being non-null.static interfaceIntermediateDataTreeCandidate.CandidateNodeindicating 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.CandidateNodeas a legacyDataTreeCandidateNode.- Returns:
- a
DataTreeCandidateNode
-