public interface DataNodeContainerBuilder extends Builder
DataNodeContainer
augment, case, container,
grouping, list, module, notification.| Modifier and Type | Method and Description |
|---|---|
void |
addChildNode(org.opendaylight.yangtools.yang.model.api.DataSchemaNode childNode) |
void |
addChildNode(DataSchemaNodeBuilder childNode)
Add builder of child node to this node.
|
void |
addChildNode(int index,
DataSchemaNodeBuilder childNode)
Add builder of child node to this node at specified position.
|
void |
addChildNodeToContext(DataSchemaNodeBuilder childNode) |
void |
addGrouping(GroupingBuilder groupingBuilder)
Add builder of grouping statement to this node.
|
void |
addTypedef(TypeDefinitionBuilder typedefBuilder)
Add typedef builder to this node.
|
void |
addUsesNode(UsesNodeBuilder usesBuilder)
Add builder of uses statement to this node.
|
org.opendaylight.yangtools.yang.model.api.DataNodeContainer |
build()
Returns an instance of product - DataNodeContainer
Returns an instance of data node container with children and properties
constructed as per this builder state, all nested builders are also built
and their product is set to DataNodeContainer.
|
List<DataSchemaNodeBuilder> |
getChildNodeBuilders()
Returns list of of child node builders in order they are declared in yang
file.
|
Map<org.opendaylight.yangtools.yang.common.QName,org.opendaylight.yangtools.yang.model.api.DataSchemaNode> |
getChildNodes()
Returns map of child nodes of this node.
|
DataSchemaNodeBuilder |
getDataChildByName(String name)
Retrieves child node builder by local name.
|
Set<GroupingBuilder> |
getGroupingBuilders()
Get builders of groupings defined in this node.
|
Set<org.opendaylight.yangtools.yang.model.api.GroupingDefinition> |
getGroupings()
Get already built groupings defined in this node.
|
org.opendaylight.yangtools.yang.model.api.SchemaPath |
getPath()
Returns Schema path of this node.
|
org.opendaylight.yangtools.yang.common.QName |
getQName()
Returns QName of this node.
|
Set<TypeDefinitionBuilder> |
getTypeDefinitionBuilders()
Returns builders of typedef statement defined in this node.
|
Set<org.opendaylight.yangtools.yang.model.api.TypeDefinition<?>> |
getTypeDefinitions()
Returns set of already built type definitions.
|
List<UsesNodeBuilder> |
getUsesNodeBuilders()
Get builders of uses defined in this node.
|
addUnknownNodeBuilder, getLine, getModuleName, getParent, getUnknownNodes, setModuleName, setParentorg.opendaylight.yangtools.yang.common.QName getQName()
org.opendaylight.yangtools.yang.model.api.SchemaPath getPath()
List<DataSchemaNodeBuilder> getChildNodeBuilders()
build() and
added as children to resulting DataNodeContainer.DataSchemaNodeBuilder getDataChildByName(String name)
name - name of child to seekvoid addChildNode(DataSchemaNodeBuilder childNode)
childNode - void addChildNode(int index,
DataSchemaNodeBuilder childNode)
childNode - void addChildNode(org.opendaylight.yangtools.yang.model.api.DataSchemaNode childNode)
void addChildNodeToContext(DataSchemaNodeBuilder childNode)
Set<org.opendaylight.yangtools.yang.model.api.GroupingDefinition> getGroupings()
Set<GroupingBuilder> getGroupingBuilders()
void addGrouping(GroupingBuilder groupingBuilder)
groupingBuilder - List<UsesNodeBuilder> getUsesNodeBuilders()
void addUsesNode(UsesNodeBuilder usesBuilder)
usesBuilder - Set<org.opendaylight.yangtools.yang.model.api.TypeDefinition<?>> getTypeDefinitions()
Set<TypeDefinitionBuilder> getTypeDefinitionBuilders()
void addTypedef(TypeDefinitionBuilder typedefBuilder)
typedefBuilder - Builder to add to this node.org.opendaylight.yangtools.yang.model.api.DataNodeContainer build()
Map<org.opendaylight.yangtools.yang.common.QName,org.opendaylight.yangtools.yang.model.api.DataSchemaNode> getChildNodes()
Copyright © 2014. All rights reserved.