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 betweenEffectiveStatementMixins.EffectiveStatementWithFlags
andConstraintMetaDefinition
.
-
-
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
All Methods Instance Methods Default Methods Modifier and Type Method Description default Optional<String>
getErrorAppTag()
Returns the value of the argument of YANGerror-app-tag
keyword.default Optional<String>
getErrorMessage()
Returns the value of the argument of YANGerror-message
keyword.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement
effectiveSubstatements, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, get, getAll, 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 Detail
-
getErrorAppTag
default Optional<String> 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
default Optional<String> 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.
-
-