Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class Model
- Object
- Model
Request-owned model shared by a controller and its compiled view.
Constructors
public Model() |
Methods
public Model addAttribute(String name, Object value) | |
public Object getAttribute(String name) | |
public boolean containsAttribute(String name) | |
public Model addAllAttributes(Model other) |
Inherited methods
Constructor details
Model
public Model()Method details
addAttribute
public Model addAttribute(String name, Object value)getAttribute
public Object getAttribute(String name)containsAttribute
public boolean containsAttribute(String name)addAllAttributes
public Model addAllAttributes(Model other)