public interface LeafSchemaNode extends DataSchemaNode
leaf
statement. The interface contains
the methods for getting the following data (substatements of
leaf
statement)
type
default
units
The 'leaf' statement is used to define a leaf node in the schema tree.
Modifier and Type | Method and Description |
---|---|
String |
getDefault()
Returns the default value of YANG
leaf . |
TypeDefinition<?> |
getType()
Returns the YANG
type of the instance of the type
LeafSchemaNode . |
String |
getUnits()
Returns the units in which are the values of the
leaf
presented. |
getConstraints, isAddedByUses, isAugmenting, isConfiguration
getPath, getQName, getUnknownSchemaNodes
getDescription, getReference, getStatus
TypeDefinition<?> getType()
type
of the instance of the type
LeafSchemaNode
.type
substatement for leaf
statementString getDefault()
leaf
.default
substatement of the leaf
statementString getUnits()
leaf
presented.units
substatement of the leaf
statementCopyright © 2017 OpenDaylight. All rights reserved.