org.datanucleus.sco
Interface SCOMap

All Superinterfaces:
SCO, SCOContainer
All Known Implementing Classes:
HashMap, HashMap, Hashtable, Hashtable, LinkedHashMap, LinkedHashMap, Map, Map, Properties, Properties, SortedMap, SortedMap, TreeMap, TreeMap

public interface SCOMap
extends SCOContainer

Representation of a wrapper for a mutable Map SCO type supported.


Method Summary
 void updateEmbeddedKey(java.lang.Object key, int fieldNumber, java.lang.Object newValue)
          Method to update an embedded key stored in the map.
 void updateEmbeddedValue(java.lang.Object value, int fieldNumber, java.lang.Object newValue)
          Method to update an embedded value stored in the map.
 
Methods inherited from interface org.datanucleus.sco.SCOContainer
flush, isLoaded, load
 
Methods inherited from interface org.datanucleus.sco.SCO
attachCopy, clone, detachCopy, getFieldName, getOwner, getValue, initialise, initialise, unsetOwner
 

Method Detail

updateEmbeddedKey

void updateEmbeddedKey(java.lang.Object key,
                       int fieldNumber,
                       java.lang.Object newValue)
Method to update an embedded key stored in the map.

Parameters:
key - The key
fieldNumber - Number of field in the element
newValue - the new value for this field

updateEmbeddedValue

void updateEmbeddedValue(java.lang.Object value,
                         int fieldNumber,
                         java.lang.Object newValue)
Method to update an embedded value stored in the map.

Parameters:
value - The value
fieldNumber - Number of field in the element
newValue - the new value for this field


Copyright © 2009. All Rights Reserved.