| Package | Description | 
|---|---|
| org.springframework.ui | Generic support for UI layer concepts. | 
| org.springframework.validation.support | Support classes for handling validation results. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ConcurrentModelImplementation of the  Modelinterface based on aConcurrentHashMapfor use in concurrent scenarios. | 
| class  | ExtendedModelMap | 
| Modifier and Type | Method and Description | 
|---|---|
| Model | Model. addAllAttributes(Collection<?> attributeValues)Copy all attributes in the supplied  Collectioninto thisMap, using attribute name generation for each element. | 
| Model | Model. addAllAttributes(Map<String,?> attributes)Copy all attributes in the supplied  Mapinto thisMap. | 
| Model | Model. addAttribute(Object attributeValue)Add the supplied attribute to this  Mapusing agenerated name. | 
| Model | Model. addAttribute(String attributeName,
            Object attributeValue)Add the supplied attribute under the supplied name. | 
| Model | Model. mergeAttributes(Map<String,?> attributes)Copy all attributes in the supplied  Mapinto thisMap,
 with existing objects of the same name taking precedence (i.e. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BindingAwareConcurrentModelSubclass of  ConcurrentModelthat automatically removes
 theBindingResultobject when its corresponding
 target attribute is replaced through regularMapoperations. | 
| class  | BindingAwareModelMapSubclass of  ExtendedModelMapthat automatically removes
 aBindingResultobject if the corresponding
 target attribute gets replaced through regularMapoperations. |