Package com.tailf.navu
Class NavuListEntry
Object
com.tailf.navu.NavuNode
com.tailf.navu.NavuContainer
com.tailf.navu.NavuListEntry
- All Implemented Interfaces:
ConfIterate
,MaapiDiffIterate
A
NavuList
holds this representation of a entry as its
children or entry set.-
Method Summary
Modifier and TypeMethodDescriptiondelete()
Deletes this entry from the NavuList it contains returns this NavuListEntry as NavuContainer.boolean
Compares the specified object with thisNavuListEntry
for equality.getKey()
Return the associate key that this NavuList is mapped to.int
hashCode()
Return the hashCode of this NavuNode.Methods inherited from class com.tailf.navu.NavuContainer
action, action, children, choice, container, container, container, containsNode, containsNode, create, encodeValues, encodeXML, entrySet, exists, findChanges, get, getRootNS, getSelectCaseAsNavuChoice, getSelectCaseAsNavuNode, getSelectedCase, getUserSession, isEmpty, isListInstance, iterate, keySet, leaf, leaf, leaf, leafList, leafList, leafList, list, list, list, namespace, reset, safeCreate, select, select, select, setChange, sharedCreate, size, toString, valueUpdateInd
Methods inherited from class com.tailf.navu.NavuNode
context, getChangeFlag, getChanges, getChanges, getChanges, getConfPath, getInfo, getKeyPath, getName, getNavuNode, getParent, getValues, getValues, prepareXMLCall, setValues, setValues, sharedSetValues, sharedSetValues, stopCdbSession, xPathSelect, xPathSelectIterate
-
Method Details
-
getKey
Return the associate key that this NavuList is mapped to.- Overrides:
getKey
in classNavuContainer
- Returns:
- the corresponding key
-
equals
Compares the specified object with thisNavuListEntry
for equality. Returnstrue
if the given object is also aNavuListEntry
and it has the sameConfPath
as thisNavuListEntry
.- Overrides:
equals
in classNavuContainer
- Parameters:
o
- object to be compared for equality with thisNavuListEntry
- Returns:
true
if the specified object is equal to thisNavuListEntry
-
hashCode
public int hashCode()Description copied from class:NavuNode
Return the hashCode of this NavuNode. For most nodes, the hash code is based on theConfPath
of the node. For module root containers there is noConfPath
and instead the hash code is based on the hash code of the module schema.- Overrides:
hashCode
in classNavuContainer
- Returns:
- The hashCode
-
delete
Deletes this entry from the NavuList it contains returns this NavuListEntry as NavuContainer. Sets theNavuNode.getChangeFlag()
flag toMOP_DELETED
- Overrides:
delete
in classNavuContainer
- Returns:
- The NavuContainer removed by this operation
getChange
on the returnNavuContainer
returnsMOP_DELETED
- Throws:
NavuException
-