Interface WhenConditionAware
-
- All Known Subinterfaces:
AnnotationSchemaNodeAwareSchemaContext
,AnydataSchemaNode
,AnyxmlSchemaNode
,AugmentationSchemaNode
,CaseSchemaNode
,ChoiceSchemaNode
,ContainerSchemaNode
,DataSchemaNode
,DerivableSchemaNode
,EffectiveModelContext
,LeafListSchemaNode
,LeafSchemaNode
,ListSchemaNode
,SchemaContext
,TypedDataSchemaNode
,UsesNode
,YangModeledAnyxmlSchemaNode
- All Known Implementing Classes:
AbstractEffectiveContainerSchemaNode
,AbstractEffectiveDataSchemaNode
,AbstractEffectiveMustConstraintAwareDataSchemaNode
,AbstractEffectiveMustConstraintAwareSimpleDataNodeContainer
,AbstractEffectiveOperationContainerSchemaNode
,AbstractEffectiveSimpleDataNodeContainer
,AbstractSchemaContext
,EffectiveAugmentationSchema
,EffectiveSchemaContext
,FilteringSchemaContextProxy
,OperationAsContainer
,SimpleSchemaContext
@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<RevisionAwareXPath>
getWhenCondition()
Returns when statement.
-
-
-
Method Detail
-
getWhenCondition
Optional<RevisionAwareXPath> 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
-
-