public final class AugmentationSchemaBuilderImpl extends AbstractDocumentedDataNodeContainerBuilder implements AugmentationSchemaBuilder
qnameaddedUnknownNodes, unknownNodes| Constructor and Description |
|---|
AugmentationSchemaBuilderImpl(String moduleName,
int line,
String augmentTargetStr,
org.opendaylight.yangtools.yang.model.api.SchemaPath targetPath,
int order) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWhenCondition(String whenCondition)
Adds string representation of when condition.
|
org.opendaylight.yangtools.yang.model.api.AugmentationSchema |
build()
Returns an instance of product - DataNodeContainer
Returns an instance of data node container with children and properties
constructed as per this builder state, all nested builders are also built
and their product is set to DataNodeContainer.
|
boolean |
equals(Object obj) |
int |
getOrder()
Returns position of defining
augment statement
as was present in schema source. |
org.opendaylight.yangtools.yang.model.api.SchemaPath |
getPath()
Returns Schema path of this node.
|
protected String |
getStatementName() |
org.opendaylight.yangtools.yang.model.api.SchemaPath |
getTargetPath()
Get path to target node.
|
String |
getTargetPathAsString()
Returns target path representation as was present in schema source.
|
String |
getWhenCondition()
Returns when condition
If when condition is present node defined by the parent data definition
statement is only valid when the returned XPath expression conceptually
evaluates to "true" for a particular instance, then the node defined by
the parent data definition statement is valid; otherwise, it is not.
|
int |
hashCode() |
boolean |
isResolved()
Get information about augmentation process.
|
void |
setCopyOf(AugmentationSchemaBuilder old) |
void |
setResolved(boolean resolved)
Set information about augmentation process.
|
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, getUsesNodeBuildersaddUnknownNodeBuilder, getLine, getModuleName, getParent, getUnknownNodes, setModuleName, setParentgetDescription, getReference, getStatus, setDescription, setReference, setStatusprotected String getStatementName()
getStatementName in class AbstractDocumentedDataNodeContainerBuilderpublic org.opendaylight.yangtools.yang.model.api.SchemaPath getPath()
DataNodeContainerBuildergetPath in interface DataNodeContainerBuilderpublic org.opendaylight.yangtools.yang.model.api.SchemaPath getTargetPath()
AugmentationSchemaBuilderNote that individual parts of path contain only prefix relative to current context and name of node.
getTargetPath in interface AugmentationSchemaBuilderpublic org.opendaylight.yangtools.yang.model.api.AugmentationSchema build()
DataNodeContainerBuilderbuild in interface AugmentationSchemaBuilderbuild in interface Builderbuild in interface DataNodeContainerBuilderpublic boolean isResolved()
AugmentationSchemaBuilderisResolved in interface AugmentationSchemaBuilderpublic void setResolved(boolean resolved)
AugmentationSchemaBuildersetResolved in interface AugmentationSchemaBuilderpublic String getWhenCondition()
AugmentationSchemaBuildergetWhenCondition in interface AugmentationSchemaBuilderpublic void addWhenCondition(String whenCondition)
AugmentationSchemaBuilderaddWhenCondition in interface AugmentationSchemaBuilderpublic String getTargetPathAsString()
AugmentationSchemaBuildergetTargetPathAsString in interface AugmentationSchemaBuilderpublic int getOrder()
AugmentationSchemaBuilderaugment statement
as was present in schema source.getOrder in interface AugmentationSchemaBuilderpublic void setCopyOf(AugmentationSchemaBuilder old)
Copyright © 2014. All rights reserved.