Interface YangData<T extends YangData<T>>

Type Parameters:
T - Generated interface type
All Superinterfaces:
BindingContract<DataContainer>, BindingObject, DataContainer

public non-sealed interface YangData<T extends YangData<T>> extends BindingObject, DataContainer
A piece of YANG-modeled data, as defined by RESTCONF 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 Type
    Method
    Description
    Return the interface implemented by this object.