public class SimplePage<T> extends Object implements Serializable
Page
can be deserialized and that can be easily
re-serialized without concern for implementation details.Constructor and Description |
---|
SimplePage() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String name,
Object value)
Takes in any additional attributes passed in the request not matching any defined properties.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Map<String,Object> |
getAttribute()
Return any additional attributes passed in the request not matching any defined properties.
|
Map<String,Object> |
getAttributes()
Map holding any additional attributes passed in the request not matching any defined
properties.
|
List<T> |
getContent() |
int |
hashCode() |
void |
setAttributes(Map<String,Object> attributes)
Map holding any additional attributes passed in the request not matching any defined
properties.
|
void |
setContent(List<T> content) |
String |
toString() |
public void addAttribute(String name, Object value)
name
- Name of the additional attributevalue
- Value of the additional attributepublic Map<String,Object> getAttribute()
public Map<String,Object> getAttributes()
public void setAttributes(Map<String,Object> attributes)
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.