Package org.datanucleus.store.types
Interface SCOMap<T,K,V>
-
- Type Parameters:
K
- Key type of the mapV
- Value type of the map
- All Superinterfaces:
SCO<T>
,SCOContainer<T>
- All Known Implementing Classes:
HashMap
,HashMap
,Hashtable
,Hashtable
,LinkedHashMap
,LinkedHashMap
,Map
,Map
,Properties
,Properties
,SortedMap
,SortedMap
,TreeMap
,TreeMap
public interface SCOMap<T,K,V> extends SCOContainer<T>
Representation of a wrapper for a mutable Map SCO type supported.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
updateEmbeddedKey(K key, int fieldNumber, Object newValue, boolean makeDirty)
Method to update an embedded key stored in the map.void
updateEmbeddedValue(V value, int fieldNumber, Object newValue, boolean makeDirty)
Method to update an embedded value stored in the map.-
Methods inherited from interface org.datanucleus.store.types.SCO
attachCopy, clone, detachCopy, getFieldName, getOwner, getValue, initialise, initialise, initialise, unsetOwner
-
Methods inherited from interface org.datanucleus.store.types.SCOContainer
isLoaded, load, setValue
-
-
-
-
Method Detail
-
updateEmbeddedKey
void updateEmbeddedKey(K key, int fieldNumber, Object newValue, boolean makeDirty)
Method to update an embedded key stored in the map.- Parameters:
key
- The keyfieldNumber
- Number of field in the elementnewValue
- the new value for this fieldmakeDirty
- Whether to make the SCO field dirty.
-
updateEmbeddedValue
void updateEmbeddedValue(V value, int fieldNumber, Object newValue, boolean makeDirty)
Method to update an embedded value stored in the map.- Parameters:
value
- The valuefieldNumber
- Number of field in the elementnewValue
- the new value for this fieldmakeDirty
- Whether to make the SCO field dirty.
-
-