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
Representation of a wrapper for a mutable Map SCO type supported.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
updateEmbeddedKey
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
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.
-