public final class ChoiceCaseBuilder extends AbstractDocumentedDataNodeContainerBuilder implements DataSchemaNodeBuilder, AugmentationTargetBuilder
qnameaddedUnknownNodes, unknownNodes| Constructor and Description |
|---|
ChoiceCaseBuilder(String moduleName,
int line,
org.opendaylight.yangtools.yang.common.QName qname,
org.opendaylight.yangtools.yang.model.api.SchemaPath path) |
ChoiceCaseBuilder(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.ChoiceCaseNode base) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAugmentation(AugmentationSchemaBuilder augment)
Add augment, which points to this node.
|
void |
addTypedef(TypeDefinitionBuilder typedefBuilder)
Add typedef builder to this node.
|
org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode |
build()
Build DataSchemaNode object from this builder.
|
boolean |
equals(Object obj) |
ConstraintsBuilder |
getConstraints()
Get constraints of this builder.
|
ChoiceCaseBuilder |
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.
|
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. |
String |
toString() |
addChildNode, addChildNode, addChildNode, addChildNodeToContext, addGrouping, 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 ChoiceCaseBuilder(String moduleName, int line, org.opendaylight.yangtools.yang.common.QName qname, org.opendaylight.yangtools.yang.model.api.SchemaPath path)
public ChoiceCaseBuilder(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.ChoiceCaseNode base)
public org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode build()
DataSchemaNodeBuilderbuild in interface Builderbuild in interface DataNodeContainerBuilderbuild in interface DataSchemaNodeBuilderbuild in interface SchemaNodeBuilderDataSchemaNode based on the state present in this builder.public 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 ChoiceCaseBuilder getOriginal()
DataSchemaNodeBuildergetOriginal in interface DataSchemaNodeBuilderpublic void setOriginal(SchemaNodeBuilder builder)
DataSchemaNodeBuildersetOriginal in interface DataSchemaNodeBuilderbuilder - original builder definition from groupingpublic void addTypedef(TypeDefinitionBuilder typedefBuilder)
DataNodeContainerBuilderaddTypedef in interface DataNodeContainerBuilderaddTypedef in class AbstractDocumentedDataNodeContainerBuildertypedefBuilder - Builder to add to this node.public 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 void addAugmentation(AugmentationSchemaBuilder augment)
AugmentationTargetBuilderaddAugmentation in interface AugmentationTargetBuilderaugment - augment which points to this nodeprotected String getStatementName()
getStatementName in class AbstractDocumentedDataNodeContainerBuilderCopyright © 2014. All rights reserved.