Class AbstractEffectiveDocumentedNodeWithoutStatus<A,D extends DeclaredStatement<A>>
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementBase<A,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.DeclaredEffectiveStatementBase<A,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveDocumentedNodeWithoutStatus<A,D>
-
- All Implemented Interfaces:
DocumentedNode
,EffectiveStatement<A,D>
,ModelStatement<A>
- Direct Known Subclasses:
AbstractConstraintEffectiveStatement
,AbstractEffectiveDocumentedNode
@Beta public abstract class AbstractEffectiveDocumentedNodeWithoutStatus<A,D extends DeclaredStatement<A>> extends DeclaredEffectiveStatementBase<A,D> implements DocumentedNode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractEffectiveDocumentedNodeWithoutStatus(StmtContext<A,D,?> ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
getDescription()
Returns the value of the argument of YANGdescription
keyword.Optional<String>
getReference()
Returns the value of the argument of YANGreference
keyword.protected @Nullable String
nullableDescription()
protected @Nullable String
nullableReference()
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.DeclaredEffectiveStatementBase
argument, getDeclared, getStatementSource, statementDefinition
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementBase
allSubstatementsOfType, effectiveSubstatements, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll, getNamespaceContents, initSubstatements, initSubstatements
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
getUnknownSchemaNodes
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement
findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatements
-
-
-
-
Constructor Detail
-
AbstractEffectiveDocumentedNodeWithoutStatus
protected AbstractEffectiveDocumentedNodeWithoutStatus(StmtContext<A,D,?> ctx)
-
-
Method Detail
-
getDescription
public final Optional<String> getDescription()
Description copied from interface:DocumentedNode
Returns the value of the argument of YANGdescription
keyword.- Specified by:
getDescription
in interfaceDocumentedNode
- Returns:
- string with the description, or empty if description was not provided.
-
getReference
public final Optional<String> getReference()
Description copied from interface:DocumentedNode
Returns the value of the argument of YANGreference
keyword.- Specified by:
getReference
in interfaceDocumentedNode
- Returns:
- string with reference to some other document, or empty if reference was not provided.
-
nullableDescription
protected final @Nullable String nullableDescription()
-
nullableReference
protected final @Nullable String nullableReference()
-
-