org.apache.hadoop.chukwa.rest.bean
Class OptionBean

java.lang.Object
  extended by org.apache.hadoop.chukwa.rest.bean.OptionBean

public class OptionBean
extends Object


Constructor Summary
OptionBean()
           
OptionBean(org.json.JSONObject json)
           
 
Method Summary
 org.json.JSONObject deserialize()
           
 String getLabel()
           
 String getValue()
           
 void setLabel(String label)
           
 void setValue(String value)
           
 void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionBean

public OptionBean()

OptionBean

public OptionBean(org.json.JSONObject json)
           throws ParseException
Throws:
ParseException
Method Detail

getLabel

public String getLabel()

getValue

public String getValue()

setLabel

public void setLabel(String label)

setValue

public void setValue(String value)

update

public void update()

deserialize

public org.json.JSONObject deserialize()


Copyright © ${year} The Apache Software Foundation