Interface MapFieldInterface<K,V>

All Known Implementing Classes:
EnumMapField, MapField

public interface MapFieldInterface<K,V>
  • Method Summary

    Modifier and Type
    Method
    Description
    get(Item item, K key)
    Returns value associated with given key for item.
    Returns the Key Class of this.
    getMap(Item item)
    Returns the map for given item.
    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.
  • Method Details

    • getKeyClass

      Class<K> getKeyClass()
      Returns the Key Class of this.
    • getValueClass

      Class<V> getValueClass()
      Returns the Value Class of this.
    • get

      V get(Item item, K key)
      Returns value associated with given key for item.
    • set

      void set(Item item, K key, V value)
      Sets value associated with given key for item.
    • getMap

      Map<K,V> getMap(Item item)
      Returns the map for given item.
    • setMap

      void setMap(Item item, Map<? extends K,? extends V> map)
      Sets the map for given item.