Interface WhenConditionAware
-
- All Known Subinterfaces:
AnnotationSchemaNodeAwareSchemaContext
,AnydataSchemaNode
,AnyxmlSchemaNode
,AugmentationSchemaNode
,CaseSchemaNode
,ChoiceSchemaNode
,ContainerLike
,ContainerSchemaNode
,DataSchemaNode
,DerivableSchemaNode
,EffectiveModelContext
,EffectiveStatementMixins.DataSchemaNodeMixin<A,D>
,EffectiveStatementMixins.OpaqueDataSchemaNodeMixin<D>
,EffectiveStatementMixins.OperationContainerMixin<D>
,EffectiveStatementMixins.WhenConditionMixin<A,D>
,InputSchemaNode
,LeafListSchemaNode
,LeafSchemaNode
,ListSchemaNode
,OutputSchemaNode
,SchemaContext
,TypedDataSchemaNode
,UsesNode
- All Known Implementing Classes:
AbstractLeafEffectiveStatement
,AbstractSchemaContext
,AugmentEffectiveStatementImpl
,ChoiceEffectiveStatementImpl
,ContainerEffectiveStatementImpl
,DeclaredCaseEffectiveStatement
,DeclaredInputEffectiveStatement
,DeclaredOutputEffectiveStatement
,EffectiveAugmentationSchema
,EffectiveSchemaContext
,EmptyAnydataEffectiveStatement
,EmptyAnyxmlEffectiveStatement
,EmptyLeafEffectiveStatement
,FilteringSchemaContextProxy
,NotificationAsContainer
,OperationAsContainer
,RegularAnydataEffectiveStatement
,RegularAnyxmlEffectiveStatement
,RegularLeafEffectiveStatement
,SimpleSchemaContext
,UndeclaredCaseEffectiveStatement
,UndeclaredInputEffectiveStatement
,UndeclaredOutputEffectiveStatement
@Beta public interface WhenConditionAware
Mix-in interface for nodes which can be conditional on a when statement.- Author:
- Robert Varga
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<? extends YangXPathExpression.QualifiedBound>
getWhenCondition()
Returns when statement.
-
-
-
Method Detail
-
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
-
-