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

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

public class ParametersBean
extends Object


Constructor Summary
ParametersBean()
           
ParametersBean(org.json.JSONObject json)
           
 
Method Summary
 org.json.JSONObject deserialize()
           
 String getCallback()
           
 String getControl()
           
 int getEdit()
           
 String getLabel()
           
 String getName()
           
 OptionBean[] getOptions()
           
 String getType()
           
 Collection<String> getValue()
           
 void setCallback(String callback)
           
 void setControl(String control)
           
 void setEdit(int edit)
           
 void setLabel(String label)
           
 void setName(String name)
           
 void setOptions(OptionBean[] options)
           
 void setType(String type)
           
 void setValue(Collection<String> value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParametersBean

public ParametersBean()

ParametersBean

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

getName

public String getName()

getType

public String getType()

getValue

public Collection<String> getValue()

getControl

public String getControl()

getLabel

public String getLabel()

getOptions

public OptionBean[] getOptions()

getEdit

public int getEdit()

getCallback

public String getCallback()

setName

public void setName(String name)

setType

public void setType(String type)

setValue

public void setValue(Collection<String> value)

setControl

public void setControl(String control)

setLabel

public void setLabel(String label)

setOptions

public void setOptions(OptionBean[] options)

setEdit

public void setEdit(int edit)

setCallback

public void setCallback(String callback)

deserialize

public org.json.JSONObject deserialize()


Copyright © ${year} The Apache Software Foundation