public final class LeafEffectiveStatementImpl extends AbstractEffectiveDataSchemaNode<LeafStatement> implements LeafEffectiveStatement, LeafSchemaNode, DerivableSchemaNode
DocumentedNode.WithStatus
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Collection<MustDefinition> |
getMustConstraints()
Specifies the rules which the node which contains
must YANG substatement has to match. |
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 . |
int |
hashCode() |
boolean |
isMandatory()
Return whether this node is mandatory or not.
|
String |
toString() |
getWhenCondition, isAddedByUses, isAugmenting, isConfiguration, resetAugmenting
getPath, getQName, getUnknownSchemaNodes
getNamespaceContents
getDescription, getReference, getStatus
argument, getDeclared, getStatementSource, statementDefinition
allSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll, initSubstatements
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getIdentifier
effectiveSubstatements, findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, get, getAll, getDeclared, streamEffectiveSubstatements
argument, getStatementSource, statementDefinition
isConfiguration
getPath, getQName
getStatus
getDescription, getReference, getUnknownSchemaNodes
isAugmenting
isAddedByUses
getWhenCondition
public boolean isMandatory()
MandatoryAware
mandatory node
as per RFC7950 Terminology.isMandatory
in interface MandatoryAware
public Optional<LeafSchemaNode> getOriginal()
DerivableSchemaNode
getOriginal
in interface DerivableSchemaNode
public TypeDefinition<?> getType()
TypedDataSchemaNode
DataSchemaNode
.getType
in interface TypeAware
getType
in interface TypedDataSchemaNode
type
substatement
of the leaf
or leaf-list
statementpublic Collection<MustDefinition> getMustConstraints()
MustConstraintAware
must
YANG substatement has to match.getMustConstraints
in interface MustConstraintAware
MustDefinition
(XPath) instances which represents the concrete data
constraintsCopyright © 2019 OpenDaylight. All rights reserved.