Interface IConvertibleMap<V>
-
- Type Parameters:
V
- Type of the values associated with the keys.
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultConvertibleMap
,TypePartsConverter.TypeConvertibleMap
public interface IConvertibleMap<V> extends Serializable
Map like interface for theIComponentValueConverter
. The default implementation is a hash map (DefaultConvertibleMap
). Represents the values which the individual children ofConvertibleComponent
can access. Implementation may useObject
as the type parameter, and provide additional getters/setters with more specific types. This is useful for components such asCalendar
that attempt to read the expected bean property type via reflection.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
V
get(Object key)
V
put(String key, V value)
-
-
-
Method Detail
-
put
V put(String key, V value)
- Parameters:
key
- Key for which to set the value.value
- Value to associate with the key.- Returns:
- The value previously associated with the key, or
null
if no value was associated yet.
-
get
V get(Object key)
- Parameters:
key
- Key for which to retrieve the value.- Returns:
- The value associated with the key,
null
if no value exists.
-
clear
void clear()
-
-