public final class ListSchemaNodeBuilder extends AbstractDocumentedDataNodeContainerBuilder implements DataSchemaNodeBuilder, AugmentationTargetBuilder
qnameaddedUnknownNodes, unknownNodes| Constructor and Description |
|---|
ListSchemaNodeBuilder(String moduleName,
int line,
org.opendaylight.yangtools.yang.common.QName qname,
org.opendaylight.yangtools.yang.model.api.SchemaPath path) |
ListSchemaNodeBuilder(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.ListSchemaNode base) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAugmentation(AugmentationSchemaBuilder augment)
Add augment, which points to this node.
|
org.opendaylight.yangtools.yang.model.api.ListSchemaNode |
build()
Build DataSchemaNode object from this builder.
|
boolean |
equals(Object obj) |
List<AugmentationSchemaBuilder> |
getAugmentationBuilders() |
ConstraintsBuilder |
getConstraints()
Get constraints of this builder.
|
List<String> |
getKeys() |
ListSchemaNodeBuilder |
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 |
isUserOrdered() |
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 |
setKeys(List<String> keys) |
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 |
setUserOrdered(boolean userOrdered) |
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 ListSchemaNodeBuilder(String moduleName, int line, org.opendaylight.yangtools.yang.common.QName qname, org.opendaylight.yangtools.yang.model.api.SchemaPath path)
public ListSchemaNodeBuilder(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.ListSchemaNode base)
public org.opendaylight.yangtools.yang.model.api.ListSchemaNode build()
DataSchemaNodeBuilderbuild in interface Builderbuild in interface DataNodeContainerBuilderbuild in interface DataSchemaNodeBuilderbuild in interface SchemaNodeBuilderDataSchemaNode based on the state present in this builder.protected String getStatementName()
getStatementName in class AbstractDocumentedDataNodeContainerBuilderpublic 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 void addAugmentation(AugmentationSchemaBuilder augment)
AugmentationTargetBuilderaddAugmentation in interface AugmentationTargetBuilderaugment - augment which points to this nodepublic List<AugmentationSchemaBuilder> getAugmentationBuilders()
public 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 ListSchemaNodeBuilder 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 isUserOrdered()
public void setUserOrdered(boolean userOrdered)
Copyright © 2014. All rights reserved.