Interface YangData<T extends YangData<T>>
- Type Parameters:
T
- Generated interface type
- All Superinterfaces:
BindingContract<DataContainer>
,BindingObject
,DataContainer
yang-data extension
.
This is quite similar to a DataObject
, but it cannot be directly stored in a data store. Its data subtree
may actually have a relationship to a data store subtree -- but that part is dependent on the context in which this
object is used.
As per the extension definition, the structure of children is such that there is a single container
which
represents the content. This is variadic and may contain, for example, a modeling indirection through a number of
choice
and case
statements. Unlike a DataObject
, though, this construct is not subject to
augment
statements nor any sort of extensibility.
Furthermore rc:yang-data
can only appear as a top-level module contract and therefore the code generation
is limited to a single interface, which only provides the default implementation of implementedInterface()
bound to itself.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the interface implemented by this object.
-
Method Details
-
implementedInterface
Description copied from interface:BindingContract
Return the interface implemented by this object. This method differs fromObject.getClass()
in that it returns the interface contract, not a concrete implementation class.- Specified by:
implementedInterface
in interfaceBindingContract<T extends YangData<T>>
- Returns:
- Implemented contract
-