public class StashData
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
DATA |
static java.lang.String |
REPORT_PATH |
static ObjectTableMapper |
TABLE_MAPPER |
static java.lang.String |
TASK_ID |
static java.lang.String |
USER_ID |
构造器和说明 |
---|
StashData() |
StashData(JSONObject jo) |
StashData(long userId,
long taskId,
java.lang.String reportPath,
java.lang.String data) |
限定符和类型 | 方法和说明 |
---|---|
JSONObject |
createJSONObject()
创建JSON对象
|
java.lang.String |
getData() |
long |
getId() |
java.lang.String |
getReportPath() |
long |
getTaskId() |
long |
getUserId() |
void |
setData(java.lang.String data) |
void |
setId(long id) |
void |
setReportPath(java.lang.String reportPath) |
void |
setTaskId(long taskId) |
void |
setUserId(long userId) |
public static java.lang.String TASK_ID
public static java.lang.String USER_ID
public static java.lang.String REPORT_PATH
public static java.lang.String DATA
public static final ObjectTableMapper TABLE_MAPPER
public StashData()
public StashData(long userId, long taskId, java.lang.String reportPath, java.lang.String data)
public StashData(JSONObject jo)
public java.lang.String getData()
public void setData(java.lang.String data)
public long getId()
public void setId(long id)
public long getUserId()
public void setUserId(long userId)
public long getTaskId()
public void setTaskId(long taskId)
public java.lang.String getReportPath()
public void setReportPath(java.lang.String reportPath)
public JSONObject createJSONObject() throws JSONException
JSONException