com.bristle.javalib.ui
Class ObjectDisplayDataMap

java.lang.Object
  extended by java.util.AbstractMap
      extended by java.util.HashMap
          extended by com.bristle.javalib.ui.ObjectDisplayDataMap
All Implemented Interfaces:
Serializable, Cloneable, Map

public class ObjectDisplayDataMap
extends HashMap

This bean class carries a map of display data about all properties of a displayable object, with the property names as map keys.

Usage:

   - The typical scenario for using this class is from a JSP page, as:
           ${userBean.displayData.username.minDisplayLength}
           ${userBean.displayData.password.maxLength}

Assumptions:
Effects:
       - None.
Anticipated Changes:
Notes:
Implementation Notes:
Portability Issues:
Revision History:
   $Log$

See Also:
Serialized Form

Constructor Summary
ObjectDisplayDataMap()
           
 
Method Summary
 void clear()
          Overridden clear method to prevent the map from being modified.
 Object put(Object arg0, Object arg1)
          Overridden put method to prevent the map from being modified.
 void putAll(Map arg0)
          Overridden putAll method to prevent the map from being modified.
 Object remove(Object arg0)
          Overridden put method to prevent the map from being modified.
 
Methods inherited from class java.util.HashMap
clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ObjectDisplayDataMap

public ObjectDisplayDataMap()
Method Detail

clear

public void clear()
Overridden clear method to prevent the map from being modified.

Specified by:
clear in interface Map
Overrides:
clear in class HashMap

put

public Object put(Object arg0,
                  Object arg1)
Overridden put method to prevent the map from being modified. ?? Oops! Can't prevent this. Otherwise, the map can't be initialized.

Specified by:
put in interface Map
Overrides:
put in class HashMap

putAll

public void putAll(Map arg0)
Overridden putAll method to prevent the map from being modified.

Specified by:
putAll in interface Map
Overrides:
putAll in class HashMap

remove

public Object remove(Object arg0)
Overridden put method to prevent the map from being modified.

Specified by:
remove in interface Map
Overrides:
remove in class HashMap