Class ElementConfigurationMap<SELF extends ElementConfigurationMap<SELF>>

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,Object>
com.foreach.across.modules.bootstrapui.utils.ElementConfigurationMap<SELF>
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>
Direct Known Subclasses:
AutoSuggestFormElementConfiguration, AutoSuggestFormElementConfiguration.DataSet

public class ElementConfigurationMap<SELF extends ElementConfigurationMap<SELF>> extends LinkedHashMap<String,Object>
Base class for a set of key/values that represent the configuration settings for an element.
Since:
2.0.0
Author:
Arne Vandamme
See Also:
  • Constructor Details

    • ElementConfigurationMap

      public ElementConfigurationMap()
  • Method Details

    • setAttribute

      public SELF setAttribute(String key, Object value)
      Set an attribute on the configuration. Same as calling HashMap.put(Object, Object) except suitable for fluent API, because it returns the same instance.
      Parameters:
      key - attribute key
      value - attribute value
      Returns:
      current configuration