|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Approval
public class Approval
Represents a Gerrit JSON Approval DTO.
| Constructor Summary | |
|---|---|
Approval()
Default constructor. |
|
Approval(net.sf.json.JSONObject json)
Constructor that fills with data directly. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
void |
fromJson(net.sf.json.JSONObject json)
Takes a JSON object and fills its internal data-structure. |
String |
getType()
The approval category. |
String |
getValue()
The approval value. |
int |
hashCode()
|
void |
setType(String type)
The approval category. |
void |
setValue(String value)
Set the approval value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Approval()
public Approval(net.sf.json.JSONObject json)
json - the JSON object with corresponding data.| Method Detail |
|---|
public void fromJson(net.sf.json.JSONObject json)
GerritJsonDTO
fromJson in interface GerritJsonDTOjson - the JSON Object.public String getType()
public void setType(String type)
type - the type.public String getValue()
public void setValue(String value)
value - the approval value.public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||