Package org.opendaylight.mdsal.dom.api
Interface DOMDataTreeCandidate
public interface DOMDataTreeCandidate
An encapsulation of a data tree modification. This candidate is ready for atomic commit to the
data broker. It allows access to before- and after-state as it will be seen in to subsequent
commit. This capture can be accessed for reference, but cannot be modified and the content is
limited to nodes which were affected by the modification from which this instance originated.
-
Method Summary
Modifier and TypeMethodDescriptionGet the candidate tree root node.Get the candidate tree root path.
-
Method Details
-
getRootPath
DOMDataTreeIdentifier getRootPath()Get the candidate tree root path. This is the path of the root node relative to the root of InstanceIdentifier namespace.- Returns:
- Relative path of the root node
-
getRootNode
DataTreeCandidateNode getRootNode()Get the candidate tree root node.- Returns:
- Candidate tree root node
-