Java org.springframework.ui Model fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.ui Model fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.ui Model.

The text is from its open source code.

Method

ModeladdAllAttributes(Collection attributeValues)
Copy all attributes in the supplied Collection into this Map , using attribute name generation for each element.
ModeladdAllAttributes(Map attributes)
Copy all attributes in the supplied Map into this Map .
ModeladdAttribute(String attributeName, @Nullable Object attributeValue)
Add the supplied attribute under the supplied name.
ModeladdAttribute(Object attributeValue)
Add the supplied attribute to this Map using a org.springframework.core.Conventions#getVariableName generated name .
MapasMap()
Return the current set of model attributes as a Map.
booleancontainsAttribute(String attributeName)
Does this model contain an attribute of the given name?
inthashCode()
Returns a hash code value for the object.
ModelmergeAttributes(Map attributes)
Copy all attributes in the supplied Map into this Map , with existing objects of the same name taking precedence (i.e.
StringtoString()
Returns a string representation of the object.