@Beta public abstract class AbstractConstraintEffectiveStatement<A,D extends DeclaredStatement<A>> extends DeclaredEffectiveStatementBase<A,D> implements ConstraintMetaDefinition
DocumentedNode.WithStatus
Modifier | Constructor and Description |
---|---|
protected |
AbstractConstraintEffectiveStatement(StmtContext<A,D,?> ctx) |
Modifier and Type | Method and Description |
---|---|
A |
argument()
Returns statement argument.
|
protected abstract A |
createConstraints(A argument) |
Optional<String> |
getDescription()
Returns the value of the argument of YANG
description keyword. |
Optional<String> |
getErrorAppTag()
Returns the value of the argument of YANG
error-app-tag keyword. |
Optional<String> |
getErrorMessage()
Returns the value of the argument of YANG
error-message keyword. |
ModifierKind |
getModifier() |
Optional<String> |
getReference()
Returns the value of the argument of YANG
reference keyword. |
boolean |
isCustomizedStatement() |
getDeclared, getStatementSource, statementDefinition
allSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll, getNamespaceContents, initSubstatements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUnknownSchemaNodes
findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatements
protected AbstractConstraintEffectiveStatement(StmtContext<A,D,?> ctx)
public final A argument()
ModelStatement
argument
in interface ModelStatement<A>
argument
in class DeclaredEffectiveStatementBase<A,D extends DeclaredStatement<A>>
public final boolean isCustomizedStatement()
public final Optional<String> getDescription()
DocumentedNode
description
keyword.getDescription
in interface DocumentedNode
public final ModifierKind getModifier()
public final Optional<String> getReference()
DocumentedNode
reference
keyword.getReference
in interface DocumentedNode
public final Optional<String> getErrorAppTag()
ConstraintMetaDefinition
error-app-tag
keyword.getErrorAppTag
in interface ConstraintMetaDefinition
public final Optional<String> getErrorMessage()
ConstraintMetaDefinition
error-message
keyword.getErrorMessage
in interface ConstraintMetaDefinition
Copyright © 2019 OpenDaylight. All rights reserved.