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

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

public class UserBean
extends Object


Constructor Summary
UserBean()
           
UserBean(org.json.JSONObject json)
           
 
Method Summary
 org.json.JSONObject deserialize()
           
 String getId()
           
 String getProperties()
           
 String getPropertyValue(String key)
           
 org.json.JSONArray getViews()
           
 void setId(String id)
           
 void setProperties(String buffer)
           
 void setProperty(String key, String value)
           
 void setViews(org.json.JSONArray ja)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserBean

public UserBean()

UserBean

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

getId

public String getId()

getViews

public org.json.JSONArray getViews()

getProperties

public String getProperties()

setProperties

public void setProperties(String buffer)

getPropertyValue

public String getPropertyValue(String key)
                        throws org.json.JSONException
Throws:
org.json.JSONException

setId

public void setId(String id)

setViews

public void setViews(org.json.JSONArray ja)

setProperty

public void setProperty(String key,
                        String value)
                 throws ParseException
Throws:
ParseException

deserialize

public org.json.JSONObject deserialize()


Copyright © ${year} The Apache Software Foundation