com.endeca.portlet
Class ModelMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap
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)
|
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 |
ModelMap
public ModelMap()
ModelMap
public ModelMap(java.lang.String attributeName,
java.lang.Object attributeValue)
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)