Interface EffectiveStatementMixins.DocumentedNodeMixin<A,D extends DeclaredStatement<A>>
-
- Type Parameters:
A
- Argument type (Void
if statement does not have argument.)D
- Class representing declared version of this statement.
- All Superinterfaces:
DocumentedNode
,EffectiveStatement<A,D>
,ModelStatement<A>
- All Known Subinterfaces:
EffectiveStatementMixins.ConstraintMetaDefinitionMixin<A,D>
,EffectiveStatementMixins.DataSchemaNodeMixin<A,D>
,EffectiveStatementMixins.DocumentedNodeMixin.WithStatus<A,D>
,EffectiveStatementMixins.OpaqueDataSchemaNodeMixin<D>
,EffectiveStatementMixins.OperationContainerMixin<D>
,EffectiveStatementMixins.OperationDefinitionMixin<D>
,EffectiveStatementMixins.SchemaNodeMixin<A,D>
- Enclosing class:
- EffectiveStatementMixins
public static interface EffectiveStatementMixins.DocumentedNodeMixin<A,D extends DeclaredStatement<A>> extends DocumentedNode
Bridge betweenEffectiveStatementMixins.EffectiveStatementWithFlags
andDocumentedNode
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EffectiveStatementMixins.DocumentedNodeMixin.WithStatus<A,D extends DeclaredStatement<A>>
Bridge betweenEffectiveStatementMixins.EffectiveStatementWithFlags
andDocumentedNode.WithStatus
.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Optional<String>
getDescription()
Returns the value of the argument of YANGdescription
keyword.default Optional<String>
getReference()
Returns the value of the argument of YANGreference
keyword.default List<UnknownSchemaNode>
getUnknownSchemaNodes()
Returns unknown schema nodes which belongs to this instance.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement
effectiveSubstatements, findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, get, getAll, getDeclared, streamEffectiveSubstatements
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.ModelStatement
argument, getStatementSource, statementDefinition
-
-
-
-
Method Detail
-
getDescription
default 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
default 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.
-
getUnknownSchemaNodes
default List<UnknownSchemaNode> getUnknownSchemaNodes()
Description copied from interface:DocumentedNode
Returns unknown schema nodes which belongs to this instance. Default implementation returns an empty list.- Specified by:
getUnknownSchemaNodes
in interfaceDocumentedNode
- Returns:
- list of unknown schema nodes defined under this node.
-
-