Interface EffectiveStatementMixins.ConstraintMetaDefinitionMixin<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:
ConstraintMetaDefinition
,DocumentedNode
,EffectiveStatement<A,
,D> EffectiveStatementMixins.DocumentedNodeMixin<A,
,D> ModelStatement<A>
- All Known Implementing Classes:
EmptyLengthEffectiveStatement
,EmptyMustEffectiveStatement
,EmptyPatternEffectiveStatement
,EmptyRangeEffectiveStatement
,RegularLengthEffectiveStatement
,RegularMustEffectiveStatement
,RegularPatternEffectiveStatement
,RegularRangeEffectiveStatement
- Enclosing class:
EffectiveStatementMixins
public static interface EffectiveStatementMixins.ConstraintMetaDefinitionMixin<A,D extends DeclaredStatement<A>>
extends EffectiveStatementMixins.DocumentedNodeMixin<A,D>, ConstraintMetaDefinition
Bridge between
EffectiveStatementMixins.EffectiveStatementWithFlags
and ConstraintMetaDefinition
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.spi.meta.EffectiveStatementMixins.DocumentedNodeMixin
EffectiveStatementMixins.DocumentedNodeMixin.WithStatus<A,
D extends DeclaredStatement<A>> -
Method Summary
Modifier and TypeMethodDescriptiondefault <T> @NonNull Collection
<? extends @NonNull T> filterEffectiveStatements
(Class<T> type) Returns the value of the argument of YANGerror-app-tag
keyword.Returns the value of the argument of YANGerror-message
keyword.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.spi.meta.EffectiveStatementMixins.DocumentedNodeMixin
getDescription, getReference, getUnknownSchemaNodes
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.ModelStatement
argument, statementDefinition
-
Method Details
-
getErrorAppTag
Description copied from interface:ConstraintMetaDefinition
Returns the value of the argument of YANGerror-app-tag
keyword.- Specified by:
getErrorAppTag
in interfaceConstraintMetaDefinition
- Returns:
- string with the application tag, or empty if it was not provided.
-
getErrorMessage
Description copied from interface:ConstraintMetaDefinition
Returns the value of the argument of YANGerror-message
keyword.- Specified by:
getErrorMessage
in interfaceConstraintMetaDefinition
- Returns:
- string with the error message, or empty if it was not provided.
-
filterEffectiveStatements
-