|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MapStore
Interface representation of the backing store for a Map.
| Method Summary | |
|---|---|
void |
clear(StateManager ownerSM)
Method to clear the collection. |
boolean |
containsKey(StateManager ownerSM,
java.lang.Object key)
Accessor for whether the Map contains this key. |
boolean |
containsValue(StateManager ownerSM,
java.lang.Object value)
Accessor for whether the Map contains this value. |
SetStore |
entrySetStore()
Accessor for the entry set for the Map. |
java.lang.Object |
get(StateManager ownerSM,
java.lang.Object key)
Accessor for a value from the Map. |
java.lang.String |
getKeyType()
Accessor for the key type in the collection. |
java.lang.String |
getValueType()
Accessor for the value type in the collection. |
boolean |
keysAreEmbedded()
Accessor for whether the keys are embedded |
boolean |
keysAreSerialised()
Accessor for whether the keys are serialised |
SetStore |
keySetStore(ClassLoaderResolver clr)
Accessor for the keys in the Map. |
java.lang.Object |
put(StateManager ownerSM,
java.lang.Object key,
java.lang.Object value)
Method to add a value to the Map against this key. |
void |
putAll(StateManager ownerSM,
java.util.Map m)
Method to add a map of values to the Map. |
java.lang.Object |
remove(StateManager ownerSM,
java.lang.Object key)
Method to remove a value from the Map. |
boolean |
updateEmbeddedKey(StateManager sm,
java.lang.Object key,
int fieldNumber,
java.lang.Object newValue)
Method to update en embedded key in the collection. |
boolean |
updateEmbeddedValue(StateManager sm,
java.lang.Object value,
int fieldNumber,
java.lang.Object newValue)
Method to update en embedded value in the collection. |
boolean |
valuesAreEmbedded()
Accessor for whether the values are embedded |
boolean |
valuesAreSerialised()
Accessor for whether the values are serialised |
SetStore |
valueSetStore(ClassLoaderResolver clr)
Accessor for the values in the Map. |
| Methods inherited from interface org.datanucleus.store.scostore.Store |
|---|
getStoreManager |
| Method Detail |
|---|
java.lang.String getKeyType()
java.lang.String getValueType()
boolean keysAreEmbedded()
boolean keysAreSerialised()
boolean valuesAreEmbedded()
boolean valuesAreSerialised()
boolean containsValue(StateManager ownerSM,
java.lang.Object value)
ownerSM - State Manager for the Map.value - The value to check
boolean containsKey(StateManager ownerSM,
java.lang.Object key)
ownerSM - State Manager for the Map.key - The key to check
java.lang.Object get(StateManager ownerSM,
java.lang.Object key)
ownerSM - State Manager for the Map.key - Key for the value.
java.lang.Object put(StateManager ownerSM,
java.lang.Object key,
java.lang.Object value)
ownerSM - State Manager for the Map.key - The key.value - The value.
void putAll(StateManager ownerSM,
java.util.Map m)
ownerSM - State Manager for the Map.m - The map to add.
java.lang.Object remove(StateManager ownerSM,
java.lang.Object key)
ownerSM - State Manager for the Map.key - Key whose value is to be removed.
void clear(StateManager ownerSM)
ownerSM - State Manager for the collection.SetStore keySetStore(ClassLoaderResolver clr)
clr - The ClassLoaderResolver
SetStore valueSetStore(ClassLoaderResolver clr)
clr - The ClassLoaderResolver
SetStore entrySetStore()
boolean updateEmbeddedKey(StateManager sm,
java.lang.Object key,
int fieldNumber,
java.lang.Object newValue)
sm - State Manager of the ownerkey - The elementfieldNumber - Field to update in the keynewValue - The new value for the field
boolean updateEmbeddedValue(StateManager sm,
java.lang.Object value,
int fieldNumber,
java.lang.Object newValue)
sm - State Manager of the ownervalue - The elementfieldNumber - Field to update in the valuenewValue - The new value for the field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||