public class Approval extends Object implements GerritJsonDTO
| Constructor and Description |
|---|
Approval()
Default constructor.
|
Approval(net.sf.json.JSONObject json)
Constructor that fills with data directly.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public Approval()
public Approval(net.sf.json.JSONObject json)
json - the JSON object with corresponding data.public void fromJson(net.sf.json.JSONObject json)
GerritJsonDTOfromJson 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.Copyright © 2004-2015 Hudson. All Rights Reserved.