public final class ContainerSchemaNodeBuilder extends AbstractDocumentedDataNodeContainerBuilder implements AugmentationTargetBuilder, DataSchemaNodeBuilder
qnameaddedUnknownNodes, unknownNodes| Constructor and Description |
|---|
ContainerSchemaNodeBuilder(String moduleName,
int line,
org.opendaylight.yangtools.yang.common.QName qname,
org.opendaylight.yangtools.yang.model.api.SchemaPath path) |
ContainerSchemaNodeBuilder(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.ContainerSchemaNode base) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAugmentation(AugmentationSchemaBuilder augment)
Add augment, which points to this node.
|
org.opendaylight.yangtools.yang.model.api.ContainerSchemaNode |
build()
Build DataSchemaNode object from this builder.
|
boolean |
equals(Object obj) |
List<AugmentationSchemaBuilder> |
getAugmentationBuilders() |
ConstraintsBuilder |
getConstraints()
Get constraints of this builder.
|
ContainerSchemaNodeBuilder |
getOriginal()
Get original builder definition from grouping, where it is defined.
|
org.opendaylight.yangtools.yang.model.api.SchemaPath |
getPath()
Returns schema path of resulting
SchemaNode. |
protected String |
getStatementName() |
int |
hashCode() |
boolean |
isAddedByUses() |
boolean |
isAugmenting()
Returns true if product of this builder is added by augmentation.
|
boolean |
isConfiguration()
Get value of config statement.
|
boolean |
isPresence() |
void |
setAddedByUses(boolean addedByUses)
Set if this node is added by uses.
|
void |
setAugmenting(boolean augmenting)
Set if the product of the builder node is introduced by augmentation.
|
void |
setConfiguration(boolean configuration)
Set config statement to the product.
|
void |
setOriginal(SchemaNodeBuilder builder)
Set original builder definition from grouping
|
void |
setPath(org.opendaylight.yangtools.yang.model.api.SchemaPath path)
Updates schema path to resulting
SchemaNode. |
void |
setPresence(boolean presence) |
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, waitgetQNamegetDescription, getReference, getStatus, setDescription, setReference, setStatusaddUnknownNodeBuilder, getLine, getModuleName, getParent, getUnknownNodes, setModuleName, setParentpublic ContainerSchemaNodeBuilder(String moduleName, int line, org.opendaylight.yangtools.yang.common.QName qname, org.opendaylight.yangtools.yang.model.api.SchemaPath path)
public ContainerSchemaNodeBuilder(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.ContainerSchemaNode base)
protected String getStatementName()
getStatementName in class AbstractDocumentedDataNodeContainerBuilderpublic org.opendaylight.yangtools.yang.model.api.ContainerSchemaNode build()
DataSchemaNodeBuilderbuild in interface Builderbuild in interface DataNodeContainerBuilderbuild in interface DataSchemaNodeBuilderbuild in interface SchemaNodeBuilderDataSchemaNode based on the state present in this builder.public List<AugmentationSchemaBuilder> getAugmentationBuilders()
public void addAugmentation(AugmentationSchemaBuilder augment)
AugmentationTargetBuilderaddAugmentation in interface AugmentationTargetBuilderaugment - augment which points to this nodepublic org.opendaylight.yangtools.yang.model.api.SchemaPath getPath()
SchemaNodeBuilderSchemaNode.getPath in interface DataNodeContainerBuildergetPath in interface SchemaNodeBuilderpublic void setPath(org.opendaylight.yangtools.yang.model.api.SchemaPath path)
SchemaNodeBuilderSchemaNode.setPath in interface SchemaNodeBuilderpublic boolean isAugmenting()
DataSchemaNodeBuilderisAugmenting in interface DataSchemaNodeBuilderpublic void setAugmenting(boolean augmenting)
DataSchemaNodeBuildersetAugmenting in interface DataSchemaNodeBuilderpublic boolean isAddedByUses()
isAddedByUses in interface GroupingMemberpublic void setAddedByUses(boolean addedByUses)
GroupingMembersetAddedByUses in interface GroupingMemberpublic ContainerSchemaNodeBuilder getOriginal()
DataSchemaNodeBuildergetOriginal in interface DataSchemaNodeBuilderpublic void setOriginal(SchemaNodeBuilder builder)
DataSchemaNodeBuildersetOriginal in interface DataSchemaNodeBuilderbuilder - original builder definition from groupingpublic boolean isConfiguration()
DataSchemaNodeBuilderisConfiguration in interface DataSchemaNodeBuilderpublic void setConfiguration(boolean configuration)
DataSchemaNodeBuildersetConfiguration in interface DataSchemaNodeBuilderconfiguration - true if config true was set, false if config false was set.public ConstraintsBuilder getConstraints()
DataSchemaNodeBuildergetConstraints in interface DataSchemaNodeBuilderpublic boolean isPresence()
public void setPresence(boolean presence)
Copyright © 2014. All rights reserved.