public class YdtMultiInstanceNode extends YdtNode
| Modifier and Type | Method and Description |
|---|---|
void |
createKeyNodeList()
Creates the list of key element's of multi instance node.
|
List<YdtContext> |
getKeyNodeList()
Returns the list of key element's ydtContext.
|
void |
validateInstances(Set keyStringSet,
List list)
Validates the given list of instances by verifying the allowed
instance count and key element uniqueness.
|
addAppInfo, addChild, addValue, addValueSet, addValueSetWithoutValidation, addValueWithoutValidation, clone, getAppContextSwitch, getAppInfo, getClonedNode, getCollidingChild, getFirstChild, getLastChild, getModuleNameAsNameSpace, getName, getNamespace, getNextSibling, getParent, getPreviousSibling, getSchemaNodeContextInfo, getValue, getValueSet, getYangSchemaNode, getYdtContextExtendedInfo, getYdtContextOperationType, getYdtExtendedInfoType, getYdtType, setAppContextSwitch, setChild, setClonedNode, setLastChild, setNextSibling, setParent, setPreviousSibling, setYangSchemaNode, setYdtContextOperationType, validateMultiInstanceNodepublic List<YdtContext> getKeyNodeList()
public void createKeyNodeList()
throws YdtException
YdtNodecreateKeyNodeList in class YdtNodeYdtException - when user requested multi instance node is missing
any of the key element in request or requested
node is of type other then multi instance nodepublic void validateInstances(Set keyStringSet, List list) throws YdtException
keyStringSet - set to validate the key element uniquenesslist - list of instance's of same listYdtException - when user requested multi instance node instance's
count doesn't fit into the allowed instance's limit
or doesn't have unique key's