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.booleanCompares the specified object with thisNavuListEntryfor equality.getKey()Return the associate key that this NavuList is mapped to.inthashCode()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, valueUpdateIndMethods 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:
getKeyin classNavuContainer- Returns:
- the corresponding key
-
equals
Compares the specified object with thisNavuListEntryfor equality. Returnstrueif the given object is also aNavuListEntryand it has the sameConfPathas thisNavuListEntry.- Overrides:
equalsin classNavuContainer- Parameters:
o- object to be compared for equality with thisNavuListEntry- Returns:
trueif the specified object is equal to thisNavuListEntry
-
hashCode
public int hashCode()Description copied from class:NavuNodeReturn the hashCode of this NavuNode. For most nodes, the hash code is based on theConfPathof the node. For module root containers there is noConfPathand instead the hash code is based on the hash code of the module schema.- Overrides:
hashCodein 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:
deletein classNavuContainer- Returns:
- The NavuContainer removed by this operation
getChangeon the returnNavuContainerreturnsMOP_DELETED - Throws:
NavuException
-