public class TaskCategory extends java.lang.Object implements Jsonable, java.lang.Comparable<TaskCategory>
Constructor and Description |
---|
TaskCategory(org.json.JSONObject json) |
TaskCategory(java.lang.Long id,
java.lang.String code,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TaskCategory other) |
java.lang.String |
getCode() |
java.lang.String |
getDescription() |
java.lang.Long |
getId() |
org.json.JSONObject |
getJson() |
java.lang.String |
getJsonName()
May be overridden to name the JSON object returned from
Jsonable.getJson() . |
java.lang.String |
getName() |
void |
setCode(java.lang.String pCode) |
void |
setDescription(java.lang.String pDesc) |
void |
setId(java.lang.Long id) |
void |
setName(java.lang.String name) |
public TaskCategory(java.lang.Long id, java.lang.String code, java.lang.String name)
public TaskCategory(org.json.JSONObject json) throws org.json.JSONException
org.json.JSONException
public java.lang.Long getId()
public void setId(java.lang.Long id)
public java.lang.String getCode()
public void setCode(java.lang.String pCode)
public java.lang.String getDescription()
public void setDescription(java.lang.String pDesc)
public org.json.JSONObject getJson() throws org.json.JSONException
org.json.JSONException
public java.lang.String getName()
public void setName(java.lang.String name)
public int compareTo(TaskCategory other)
compareTo
in interface java.lang.Comparable<TaskCategory>
public java.lang.String getJsonName()
Jsonable
Jsonable.getJson()
.Copyright © 2019 CenturyLink, Inc.