public final class GroupingBuilderImpl extends AbstractDocumentedDataNodeContainerBuilder implements GroupingBuilder
qnameaddedUnknownNodes, unknownNodes| Constructor and Description |
|---|
GroupingBuilderImpl(String moduleName,
int line,
org.opendaylight.yangtools.yang.common.QName qname,
org.opendaylight.yangtools.yang.model.api.SchemaPath path) |
GroupingBuilderImpl(String moduleName,
int line,
org.opendaylight.yangtools.yang.common.QName qname,
org.opendaylight.yangtools.yang.model.api.SchemaPath path,
org.opendaylight.yangtools.yang.model.api.GroupingDefinition base) |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yangtools.yang.model.api.GroupingDefinition |
build()
Build GroupingDefinition object from this builder.
|
boolean |
equals(Object obj) |
org.opendaylight.yangtools.yang.model.api.SchemaPath |
getPath()
Returns Schema path of this node.
|
protected String |
getStatementName() |
int |
hashCode() |
List<DataSchemaNodeBuilder> |
instantiateChildNodes(Builder newParent)
Returns instantiation of grouping child nodes under supplied builder.
|
Set<GroupingBuilder> |
instantiateGroupings(Builder newParent)
Returns instantiation of grouping definitions under supplied builder.
|
Set<TypeDefinitionBuilder> |
instantiateTypedefs(Builder newParent)
Returns instantiation of grouping type definitions under supplied builder.
|
Set<UnknownSchemaNodeBuilder> |
instantiateUnknownNodes(Builder newParent)
Returns instantiation of unknown nodes under supplied builder.
|
boolean |
isAddedByUses() |
void |
setAddedByUses(boolean addedByUses)
Set if this node is added by uses.
|
void |
setPath(org.opendaylight.yangtools.yang.model.api.SchemaPath path)
Updates schema path to resulting
SchemaNode. |
String |
toString() |
addChildNode, addChildNode, addChildNode, addChildNodeToContext, addGrouping, addTypedef, addUsesNode, buildChildren, getChildNodeBuilders, getChildNodes, getDataChildByName, getGroupingBuilders, getGroupings, getQName, getTypeDefinitionBuilders, getTypeDefinitions, getUsesNodeBuilders, getUsesNodesgetDescription, getReference, getStatus, setDescription, setReference, setStatusaddUnknownNodeBuilder, checkNotSealed, getLine, getModuleName, getParent, getUnknownNodes, setModuleName, setParentclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddChildNode, addChildNode, addChildNode, addChildNodeToContext, addGrouping, addTypedef, addUsesNode, getChildNodeBuilders, getChildNodes, getDataChildByName, getGroupingBuilders, getGroupings, getQName, getTypeDefinitionBuilders, getTypeDefinitions, getUsesNodeBuildersgetQNamegetDescription, getReference, getStatus, setDescription, setReference, setStatusaddUnknownNodeBuilder, getLine, getModuleName, getParent, getUnknownNodes, setModuleName, setParentpublic GroupingBuilderImpl(String moduleName, int line, org.opendaylight.yangtools.yang.common.QName qname, org.opendaylight.yangtools.yang.model.api.SchemaPath path)
public GroupingBuilderImpl(String moduleName, int line, org.opendaylight.yangtools.yang.common.QName qname, org.opendaylight.yangtools.yang.model.api.SchemaPath path, org.opendaylight.yangtools.yang.model.api.GroupingDefinition base)
public org.opendaylight.yangtools.yang.model.api.GroupingDefinition build()
GroupingBuilderbuild in interface Builderbuild in interface DataNodeContainerBuilderbuild in interface GroupingBuilderbuild in interface SchemaNodeBuilderGroupingDefinition described by this builder.public List<DataSchemaNodeBuilder> instantiateChildNodes(Builder newParent)
GroupingBuilderDataNodeContainerBuilder.getChildNodeBuilders() new builder is created,
which has supplied new parent set as their Builder.getParent()
and QNames have updated namespace and revision per supplied parent
node.instantiateChildNodes in interface GroupingBuildernewParent - Parent node, under which this grouping should be instantiated.public Set<TypeDefinitionBuilder> instantiateTypedefs(Builder newParent)
GroupingBuilderDataNodeContainerBuilder.getTypeDefinitionBuilders() new builder is created,
which has supplied new parent set as their Builder.getParent()
and QNames have updated namespace and revision per supplied parent
node.instantiateTypedefs in interface GroupingBuildernewParent - Parent node, under which this grouping should be instantiated.public Set<GroupingBuilder> instantiateGroupings(Builder newParent)
GroupingBuilderDataNodeContainerBuilder.getGroupingBuilders() new builder is created,
which has supplied new parent set as their Builder.getParent()
and QNames have updated namespace and revision per supplied parent
node.instantiateGroupings in interface GroupingBuildernewParent - Parent node, under which this grouping should be instantiated.public Set<UnknownSchemaNodeBuilder> instantiateUnknownNodes(Builder newParent)
GroupingBuilderBuilder.getUnknownNodes() new builder is created,
which has supplied new parent set as their Builder.getParent()
and QNames have updated namespace and revision per supplied parent
node.instantiateUnknownNodes in interface GroupingBuildernewParent - Parent node, under which this grouping should be instantiated.public org.opendaylight.yangtools.yang.model.api.SchemaPath getPath()
DataNodeContainerBuildergetPath in interface DataNodeContainerBuildergetPath in interface SchemaNodeBuilderpublic void setPath(org.opendaylight.yangtools.yang.model.api.SchemaPath path)
SchemaNodeBuilderSchemaNode.setPath in interface SchemaNodeBuilderpublic boolean isAddedByUses()
isAddedByUses in interface GroupingMemberpublic void setAddedByUses(boolean addedByUses)
GroupingMembersetAddedByUses in interface GroupingMemberprotected String getStatementName()
getStatementName in class AbstractDocumentedDataNodeContainerBuilderCopyright © 2014. All rights reserved.