Interface DataSchemaNode
-
- All Superinterfaces:
AddedByUsesAware
,CopyableNode
,DocumentedNode
,DocumentedNode.WithStatus
,SchemaNode
,WhenConditionAware
- All Known Subinterfaces:
AnnotationSchemaNodeAwareSchemaContext
,AnydataSchemaNode
,AnyxmlSchemaNode
,CaseSchemaNode
,ChoiceSchemaNode
,ContainerLike
,ContainerSchemaNode
,EffectiveModelContext
,EffectiveStatementMixins.DataSchemaNodeMixin<D>
,EffectiveStatementMixins.OpaqueDataSchemaNodeMixin<D>
,EffectiveStatementMixins.OperationContainerMixin<D>
,InputSchemaNode
,LeafListSchemaNode
,LeafSchemaNode
,ListSchemaNode
,OutputSchemaNode
,SchemaContext
,TypedDataSchemaNode
- All Known Implementing Classes:
AbstractChoiceEffectiveStatement
,AbstractContainerEffectiveStatement
,AbstractLeafEffectiveStatement
,AbstractSchemaContext
,DeclaredCaseEffectiveStatement
,DeclaredInputEffectiveStatement
,DeclaredOutputEffectiveStatement
,EffectiveSchemaContext
,EmptyAnydataEffectiveStatement
,EmptyAnyxmlEffectiveStatement
,EmptyChoiceEffectiveStatement
,EmptyContainerEffectiveStatement
,EmptyLeafEffectiveStatement
,EmptyLeafListEffectiveStatement
,EmptyListEffectiveStatement
,FilteringSchemaContextProxy
,NotificationAsContainer
,OperationAsContainer
,RegularAnydataEffectiveStatement
,RegularAnyxmlEffectiveStatement
,RegularChoiceEffectiveStatement
,RegularContainerEffectiveStatement
,RegularLeafEffectiveStatement
,RegularLeafListEffectiveStatement
,RegularListEffectiveStatement
,SimpleSchemaContext
,SlimLeafListEffectiveStatement
,UndeclaredCaseEffectiveStatement
,UndeclaredInputEffectiveStatement
,UndeclaredLeafEffectiveStatement
,UndeclaredOutputEffectiveStatement
public interface DataSchemaNode extends SchemaNode, CopyableNode, WhenConditionAware
Data Schema Node represents abstract supertype from which all data tree definitions are derived. Unlike what the name would suggest, this interface corresponds more to RFC7950data definition statement
than todata node
, yet it notably does not includeUsesNode
andAugmentationSchemaNode
, which are resolved separately.Common interface is composed of
isConfiguration()
, governing validity in config/operation data stores andWhenConditionAware
mixin, which governs validity based on other document data.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Optional<Boolean>
effectiveConfig()
Return the effective value ofconfig
substatement, if applicable.default boolean
isConfiguration()
Deprecated, for removal: This API element is subject to removal in a future version.UseeffectiveConfig()
instead.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.AddedByUsesAware
isAddedByUses
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.CopyableNode
isAugmenting
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
getDescription, getReference, getUnknownSchemaNodes
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode.WithStatus
getStatus
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.SchemaNode
getQName
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.WhenConditionAware
getWhenCondition
-
-
-
-
Method Detail
-
isConfiguration
@Deprecated(forRemoval=true) default boolean isConfiguration()
Deprecated, for removal: This API element is subject to removal in a future version.UseeffectiveConfig()
instead.Returnstrue
if the data represents configuration data, otherwise returnsfalse
.- Returns:
true
if the data represents configuration data, otherwise returnsfalse
-
effectiveConfig
Optional<Boolean> effectiveConfig()
Return the effective value ofconfig
substatement, if applicable.- Returns:
- Effective
config
value, orOptional.empty()
not applicable.
-
-