org.apache.hadoop.chukwa.rest.bean
Class UserBean
java.lang.Object
org.apache.hadoop.chukwa.rest.bean.UserBean
public class UserBean
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserBean
public UserBean()
UserBean
public UserBean(org.json.JSONObject json)
throws ParseException
- Throws:
ParseException
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