Interface WhenConditionAware
- All Known Subinterfaces:
AnnotationSchemaNodeAwareSchemaContext
,AnydataSchemaNode
,AnyxmlSchemaNode
,AugmentationSchemaNode
,CaseSchemaNode
,ChoiceSchemaNode
,ContainerLike
,ContainerSchemaNode
,DataSchemaNode
,EffectiveModelContext
,EffectiveStatementMixins.DataSchemaNodeMixin<D>
,EffectiveStatementMixins.OpaqueDataSchemaNodeMixin<D>
,EffectiveStatementMixins.OperationContainerMixin<D>
,EffectiveStatementMixins.WhenConditionMixin<A,
,D> InputSchemaNode
,LeafListSchemaNode
,LeafSchemaNode
,ListSchemaNode
,OutputSchemaNode
,SchemaContext
,TypedDataSchemaNode
,UsesNode
- All Known Implementing Classes:
AbstractChoiceEffectiveStatement
,AbstractContainerEffectiveStatement
,AbstractLeafEffectiveStatement
,AbstractSchemaContext
,AugmentEffectiveStatementImpl
,ContainerLikeCompat
,DeclaredCaseEffectiveStatement
,DeclaredInputEffectiveStatement
,DeclaredOutputEffectiveStatement
,EffectiveSchemaContext
,EmptyAnydataEffectiveStatement
,EmptyAnyxmlEffectiveStatement
,EmptyChoiceEffectiveStatement
,EmptyContainerEffectiveStatement
,EmptyLeafEffectiveStatement
,EmptyLeafListEffectiveStatement
,EmptyListEffectiveStatement
,FilteringSchemaContextProxy
,RegularAnydataEffectiveStatement
,RegularAnyxmlEffectiveStatement
,RegularChoiceEffectiveStatement
,RegularContainerEffectiveStatement
,RegularLeafEffectiveStatement
,RegularLeafListEffectiveStatement
,RegularListEffectiveStatement
,SimpleSchemaContext
,SlimLeafListEffectiveStatement
,UndeclaredCaseEffectiveStatement
,UndeclaredInputEffectiveStatement
,UndeclaredLeafEffectiveStatement
,UndeclaredOutputEffectiveStatement
Mix-in interface for nodes which can be conditional on a when statement.
- Author:
- Robert Varga
-
Method Summary
Modifier and TypeMethodDescriptionOptional<? extends YangXPathExpression.QualifiedBound>
Returns when statement.
-
Method Details
-
getWhenCondition
Optional<? extends YangXPathExpression.QualifiedBound> getWhenCondition()Returns when statement.If when condition is present node defined by the parent data definition statement is only valid when the returned XPath expression conceptually evaluates to "true" for a particular instance, then the node defined by the parent data definition statement is valid; otherwise, it is not.
- Returns:
- XPath condition
-