Interface EffectiveStatementMixins.WhenConditionMixin<A,D extends DeclaredStatement<A>>
- Type Parameters:
A
- Argument type (Empty
if statement does not have argument.)D
- Class representing declared version of this statement.
- All Superinterfaces:
EffectiveStatement<A,
,D> ModelStatement<A>
,WhenConditionAware
- All Known Subinterfaces:
EffectiveStatementMixins.DataSchemaNodeMixin<D>
,EffectiveStatementMixins.OpaqueDataSchemaNodeMixin<D>
,EffectiveStatementMixins.OperationContainerMixin<D>
- All Known Implementing Classes:
AbstractChoiceEffectiveStatement
,AbstractContainerEffectiveStatement
,AbstractLeafEffectiveStatement
,AugmentEffectiveStatementImpl
,DeclaredCaseEffectiveStatement
,DeclaredInputEffectiveStatement
,DeclaredOutputEffectiveStatement
,EmptyAnydataEffectiveStatement
,EmptyAnyxmlEffectiveStatement
,EmptyChoiceEffectiveStatement
,EmptyContainerEffectiveStatement
,EmptyLeafEffectiveStatement
,EmptyLeafListEffectiveStatement
,EmptyListEffectiveStatement
,RegularAnydataEffectiveStatement
,RegularAnyxmlEffectiveStatement
,RegularChoiceEffectiveStatement
,RegularContainerEffectiveStatement
,RegularLeafEffectiveStatement
,RegularLeafListEffectiveStatement
,RegularListEffectiveStatement
,SlimLeafListEffectiveStatement
,UndeclaredCaseEffectiveStatement
,UndeclaredInputEffectiveStatement
,UndeclaredLeafEffectiveStatement
,UndeclaredOutputEffectiveStatement
- Enclosing class:
- EffectiveStatementMixins
public static interface EffectiveStatementMixins.WhenConditionMixin<A,D extends DeclaredStatement<A>>
extends WhenConditionAware
Helper used to locate the effective
when
statement and exposing its argument as per
WhenConditionAware
.-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> @NonNull Collection<? extends @NonNull T>
filterEffectiveStatements
(Class<T> type) Returns when statement.Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement
collectEffectiveSubstatements, effectiveSubstatements, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, getDeclared, statementOrigin, streamEffectiveSubstatements
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.ModelStatement
argument, statementDefinition
-
Method Details
-
getWhenCondition
Description copied from interface:WhenConditionAware
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.
- Specified by:
getWhenCondition
in interfaceWhenConditionAware
- Returns:
- XPath condition
-
filterEffectiveStatements
-