@Entity public class WriteStashEntity extends BaseEntity
暂存实体
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
COLUMN_DATA |
static java.lang.String |
COLUMN_REPORT_PATH |
static java.lang.String |
COLUMN_USERNAME |
static java.lang.String |
SESSION_ATTR_STASH_ID |
COLUMN_ID
构造器和说明 |
---|
WriteStashEntity() |
WriteStashEntity(java.lang.String id,
java.lang.String username,
java.lang.String reportPath,
java.lang.String data) |
限定符和类型 | 方法和说明 |
---|---|
WriteStashEntity |
data(java.lang.String data) |
java.lang.String |
getData() |
java.lang.String |
getReportPath() |
java.lang.String |
getUsername() |
WriteStashEntity |
id(java.lang.String id) |
WriteStashEntity |
parseJson(JSONObject jsonObject) |
WriteStashEntity |
reportPath(java.lang.String name) |
void |
setData(java.lang.String data) |
void |
setReportPath(java.lang.String reportPath) |
void |
setUsername(java.lang.String username) |
JSONObject |
toJson() |
WriteStashEntity |
username(java.lang.String name) |
getId, setId
public static final java.lang.String COLUMN_USERNAME
public static final java.lang.String COLUMN_REPORT_PATH
public static final java.lang.String COLUMN_DATA
public static final java.lang.String SESSION_ATTR_STASH_ID
public WriteStashEntity(java.lang.String id, java.lang.String username, java.lang.String reportPath, java.lang.String data)
public WriteStashEntity()
public WriteStashEntity id(java.lang.String id)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public WriteStashEntity username(java.lang.String name)
public java.lang.String getReportPath()
public void setReportPath(java.lang.String reportPath)
public WriteStashEntity reportPath(java.lang.String name)
public java.lang.String getData()
public void setData(java.lang.String data)
public WriteStashEntity data(java.lang.String data)
public JSONObject toJson()
public WriteStashEntity parseJson(JSONObject jsonObject)