Package com.exedio.cope.pattern
Interface MapFieldInterface<K,V>
-
- All Known Implementing Classes:
EnumMapField
,MapField
public interface MapFieldInterface<K,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
get(Item item, K key)
Returns value associated with given key for item.Class<K>
getKeyClass()
Returns the Key Class of this.Map<K,V>
getMap(Item item)
Returns the map for given item.Class<V>
getValueClass()
Returns the Value Class of this.void
set(Item item, K key, V value)
Sets value associated with given key for item.void
setMap(Item item, Map<? extends K,? extends V> map)
Sets the map for given item.
-