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 the IComponentValueConverter. The default implementation is a hash map (DefaultConvertibleMap). Represents the values which the individual children of ConvertibleComponent can access. Implementation may use Object as the type parameter, and provide additional getters/setters with more specific types. This is useful for components such as Calendar that attempt to read the expected bean property type via reflection.
Author:
XIMA MEDIA GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    get(Object key)
     
    put(String key, V value)
     
  • Method Details

    • 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()