Interface DataSchemaContext.SimpleValue
- All Superinterfaces:
DataSchemaContext
- All Known Implementing Classes:
AbstractValueContext
,LeafContext
,LeafListItemContext
- Enclosing interface:
- DataSchemaContext
public static sealed interface DataSchemaContext.SimpleValue
extends DataSchemaContext
permits AbstractValueContext
Marker interface for contexts which boil down to a simple, not-structured
ValueNode
. This can be one of
LeafNode
backed by aLeafSchemaNode
, orLeafSetNode
backed by aLeafListSchemaNode
This trait interface is exposed for determining that the corresponding TypeDefinition
of the normalized
body.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.data.util.DataSchemaContext
DataSchemaContext.Composite, DataSchemaContext.PathMixin, DataSchemaContext.SimpleValue
-
Method Summary
Modifier and TypeMethodDescription@NonNull TypeDefinition<?>
type()
Return theTypeDefinition
of the type backing this context.Methods inherited from interface org.opendaylight.yangtools.yang.data.util.DataSchemaContext
dataSchemaNode, getPathStep, pathStep
-
Method Details
-
type
@NonNull TypeDefinition<?> type()Return theTypeDefinition
of the type backing this context.- Returns:
- A
TypeDefinition
-