public interface Builder
extends org.opendaylight.yangtools.concepts.Mutable
| Modifier and Type | Method and Description |
|---|---|
void |
addUnknownNodeBuilder(UnknownSchemaNodeBuilder unknownNode)
Adds an unknown node builder to this builder.
|
Object |
build()
Build YANG data model node.
|
int |
getLine()
Get current line in yang file, on which statement
associated with this builder was declared.
|
String |
getModuleName()
Returns name of module in which node created by this builder
was declared.
|
Builder |
getParent()
Returns parent node builder of this node.
|
List<UnknownSchemaNodeBuilder> |
getUnknownNodes()
Get builders of unknown nodes defined in this node.
|
void |
setModuleName(String moduleName)
Deprecated.
Module name should be set during creation of builder.
|
void |
setParent(Builder parent)
Set parent of this node.
|
String getModuleName()
@Deprecated void setModuleName(String moduleName)
moduleName - int getLine()
Builder getParent()
void setParent(Builder parent)
parent - parent node buildervoid addUnknownNodeBuilder(UnknownSchemaNodeBuilder unknownNode)
build()
method, this builder is also built and unknown node is added
as child to the product of this builder.unknownNode - List<UnknownSchemaNodeBuilder> getUnknownNodes()
Object build()
Copyright © 2014. All rights reserved.