com.endeca.portlet
Class ModelMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap
              extended by com.endeca.portlet.ModelMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class ModelMap
extends java.util.LinkedHashMap

See Also:
Serialized Form

Constructor Summary
ModelMap()
           
ModelMap(java.lang.String attributeName, java.lang.Object attributeValue)
           
 
Method Summary
 ModelMap addAllAttributes(java.util.Map attributes)
           
 ModelMap addAttribute(java.lang.String attributeName, java.lang.Object attributeValue)
           
 boolean containsAttribute(java.lang.String attributeName)
           
 ModelMap mergeAttributes(java.util.Map attributes)
           
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

ModelMap

public ModelMap()

ModelMap

public ModelMap(java.lang.String attributeName,
                java.lang.Object attributeValue)
Method Detail

addAttribute

public ModelMap addAttribute(java.lang.String attributeName,
                             java.lang.Object attributeValue)

addAllAttributes

public ModelMap addAllAttributes(java.util.Map attributes)

mergeAttributes

public ModelMap mergeAttributes(java.util.Map attributes)

containsAttribute

public boolean containsAttribute(java.lang.String attributeName)