public final class LeafSchemaNodeBuilder extends AbstractTypeAwareBuilder implements DataSchemaNodeBuilder
qname, type, typedefaddedUnknownNodes, unknownNodes| Constructor and Description |
|---|
LeafSchemaNodeBuilder(String moduleName,
int line,
org.opendaylight.yangtools.yang.common.QName qname,
org.opendaylight.yangtools.yang.model.api.SchemaPath schemaPath) |
LeafSchemaNodeBuilder(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.LeafSchemaNode base) |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yangtools.yang.model.api.LeafSchemaNode |
build()
Build DataSchemaNode object from this builder.
|
boolean |
equals(Object obj) |
ConstraintsBuilder |
getConstraints()
Get constraints of this builder.
|
String |
getDefaultStr() |
String |
getDescription()
Returns description of resulting schema node
as was defined by description statement.
|
LeafSchemaNodeBuilder |
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. |
String |
getReference()
Get reference of this node.
|
org.opendaylight.yangtools.yang.model.api.Status |
getStatus()
Get status of this node.
|
String |
getUnits() |
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 |
setDefaultStr(String defaultStr) |
void |
setDescription(String description)
Set description to this node.
|
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 |
setReference(String reference)
Set reference to this node.
|
void |
setStatus(org.opendaylight.yangtools.yang.model.api.Status status)
Set status to this node.
|
void |
setUnits(String unitsStr) |
String |
toString() |
getQName, getType, getTypedef, getTypeQName, setType, setTypedef, setTypeQNameaddUnknownNodeBuilder, checkNotSealed, getLine, getModuleName, getParent, getUnknownNodes, setModuleName, setParentclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetQNameaddUnknownNodeBuilder, getLine, getModuleName, getParent, getUnknownNodes, setModuleName, setParentpublic LeafSchemaNodeBuilder(String moduleName, int line, org.opendaylight.yangtools.yang.common.QName qname, org.opendaylight.yangtools.yang.model.api.SchemaPath schemaPath)
public LeafSchemaNodeBuilder(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.LeafSchemaNode base)
public org.opendaylight.yangtools.yang.model.api.LeafSchemaNode build()
DataSchemaNodeBuilderbuild in interface Builderbuild 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 SchemaNodeBuildergetPath in interface TypeAwareBuilderpublic void setPath(org.opendaylight.yangtools.yang.model.api.SchemaPath path)
SchemaNodeBuilderSchemaNode.setPath in interface SchemaNodeBuilderpublic ConstraintsBuilder getConstraints()
DataSchemaNodeBuildergetConstraints in interface DataSchemaNodeBuilderpublic String getDescription()
DocumentedNodeBuildergetDescription in interface DocumentedNodeBuilderpublic void setDescription(String description)
DocumentedNodeBuildersetDescription in interface DocumentedNodeBuilderpublic String getReference()
DocumentedNodeBuildergetReference in interface DocumentedNodeBuilderpublic void setReference(String reference)
DocumentedNodeBuildersetReference in interface DocumentedNodeBuilderpublic org.opendaylight.yangtools.yang.model.api.Status getStatus()
DocumentedNodeBuildergetStatus in interface DocumentedNodeBuilderpublic void setStatus(org.opendaylight.yangtools.yang.model.api.Status status)
DocumentedNodeBuildersetStatus in interface DocumentedNodeBuilderpublic 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 LeafSchemaNodeBuilder 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 String getDefaultStr()
public void setDefaultStr(String defaultStr)
public String getUnits()
public void setUnits(String unitsStr)
Copyright © 2014. All rights reserved.