public final class LeafEffectiveStatementImpl extends AbstractEffectiveDataSchemaNode<LeafStatement> implements LeafSchemaNode, DerivableSchemaNode
DocumentedNode.WithStatus
Constructor and Description |
---|
LeafEffectiveStatementImpl(StmtContext<QName,LeafStatement,EffectiveStatement<QName,LeafStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDefault()
Returns the default value of YANG
leaf . |
com.google.common.base.Optional<LeafSchemaNode> |
getOriginal()
If this node is added by uses, returns original node definition from
grouping where it was defined.
|
TypeDefinition<?> |
getType()
Returns type of the instance which implements
DataSchemaNode . |
String |
getUnits()
Returns the units in which are the values of the
leaf
presented. |
int |
hashCode() |
String |
toString() |
getConstraints, isAddedByUses, isAugmenting, isConfiguration
getPath, getQName, getUnknownSchemaNodes
getDescription, getReference, getStatus
argument, getDeclared, getStatementSource, statementDefinition
allSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getConstraints, isAddedByUses, isAugmenting, isConfiguration
getPath, getQName
getStatus
getDescription, getReference, getUnknownSchemaNodes
public LeafEffectiveStatementImpl(StmtContext<QName,LeafStatement,EffectiveStatement<QName,LeafStatement>> ctx)
public com.google.common.base.Optional<LeafSchemaNode> getOriginal()
DerivableSchemaNode
getOriginal
in interface DerivableSchemaNode
public TypeDefinition<?> getType()
TypedSchemaNode
DataSchemaNode
.getType
in interface TypedSchemaNode
type
substatement
of the leaf
or leaf-list
statementpublic String getDefault()
LeafSchemaNode
leaf
.getDefault
in interface LeafSchemaNode
default
substatement of the leaf
statementpublic String getUnits()
LeafSchemaNode
leaf
presented.getUnits
in interface LeafSchemaNode
units
substatement of the leaf
statementCopyright © 2018 OpenDaylight. All rights reserved.