org.springframework.data.persistence
Class HashMapChangeSet
java.lang.Object
org.springframework.data.persistence.HashMapChangeSet
- All Implemented Interfaces:
- ChangeSet
public class HashMapChangeSet
- extends Object
- implements ChangeSet
Simple ChangeSet implementation backed by a HashMap.
- Author:
- Thomas Risberg, Rod Johnson
HashMapChangeSet
public HashMapChangeSet(Map<String,Object> values)
HashMapChangeSet
public HashMapChangeSet()
set
public void set(String key,
Object o)
- Specified by:
set
in interface ChangeSet
toString
public String toString()
- Overrides:
toString
in class Object
getValues
public Map<String,Object> getValues()
- Specified by:
getValues
in interface ChangeSet
removeProperty
public Object removeProperty(String k)
- Specified by:
removeProperty
in interface ChangeSet
get
public <T> T get(String key,
Class<T> requiredClass,
ConversionService conversionService)
- Specified by:
get
in interface ChangeSet
Copyright © 2011. All Rights Reserved.