|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.starhope.appius.user.notifications.NotificationReplyVerb
public class NotificationReplyVerb
WRITEME: Document this type.
Field Summary | |
---|---|
private String |
labelKey
WRITEME: Document this brpocock@star-hope.org |
private String |
payload
WRITEME: Document this brpocock@star-hope.org |
private static long |
serialVersionUID
WRITEME: Document this brpocock@star-hope.org |
private String |
verb
WRITEME: Document this brpocock@star-hope.org |
Constructor Summary | |
---|---|
NotificationReplyVerb(String verbPair)
|
|
NotificationReplyVerb(String newVerb,
String newLabelKey)
|
Method Summary | |
---|---|
String |
getLabelKey()
|
String |
getPayload()
|
String |
getVerb()
|
void |
setPayload(String newPayload)
|
org.json.JSONObject |
toJSON()
This returns a copy of the object's data cast into a JSON form. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private final String labelKey
private String payload
private final String verb
Constructor Detail |
---|
public NotificationReplyVerb(String verbPair)
verbPair
- string used as both the verb and label keypublic NotificationReplyVerb(String newVerb, String newLabelKey)
newVerb
- the verbnewLabelKey
- the label keyMethod Detail |
---|
public String getLabelKey()
public String getPayload()
public String getVerb()
public void setPayload(String newPayload)
newPayload
- the payload to setpublic org.json.JSONObject toJSON()
CastsToJSON
toJSON
in interface CastsToJSON
CastsToJSON.toJSON()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |