public class NavuListEntry extends NavuContainer
NavuList
holds this representation of a entry as its
children or entry set.Modifier and Type | Method and Description |
---|---|
NavuContainer |
delete()
Deletes this entry from the NavuList it contains
returns this NavuListEntry as NavuContainer.
|
boolean |
equals(Object o)
Compares the specified object with this NavuListEntry
for equality.
|
ConfKey |
getKey()
Return the associate key that this NavuList
is mapped to.
|
int |
hashCode()
Returns the hash code value for this NavuListEntry.
|
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, list, list, list, reset, safeCreate, select, select, select, set, setChange, setOperationalDataCase, setOperDataCase, sharedCreate, size, toString, valueUpdateInd
context, getCdbSession, getChange, getChangeFlag, getChanges, getChanges, getChanges, getConfPath, getInfo, getKeyPath, getName, getNavuNode, getParent, getValues, getValues, getXml, prepareXMLCall, setValues, setValues, sharedSetValues, sharedSetValues, startCdbSession, stopCdbSession, xPathSelect, xPathSelectIterate
public NavuContainer delete() throws NavuException
NavuNode.getChangeFlag()
flag to
MOP_DELETED
delete
in class NavuContainer
getChange
on the return NavuContainer
returns MOP_DELETED
NavuException
public boolean equals(Object o)
e1.getKey().equals ( e2.getKey() )for two NavuListEntries , e1 and e2.
equals
in class NavuContainer
o
- object to be compared for equality with this
NavuListpublic ConfKey getKey()
getKey
in class NavuContainer
public int hashCode()
( h = 31* h + e.getInfo().getCSNode().hashCode(); ( h = 31* h + e.getKey().hashCode() )This ensures that e1.equals(e2) implies that e1.hashCode()==e2.hashCode() for any two NavuListEntry e1 and e2, as required by the general contract of Object.hashCode.
hashCode
in class NavuContainer
Object.hashCode()
,
Object.equals(Object)
,
equals(Object)