public class UserBean extends Object
Constructor and Description |
---|
UserBean() |
UserBean(org.json.simple.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
org.json.simple.JSONObject |
deserialize() |
String |
getId() |
String |
getProperties() |
String |
getPropertyValue(String key) |
org.json.simple.JSONArray |
getViews() |
void |
setId(String id) |
void |
setProperties(String buffer) |
void |
setProperty(String key,
String value) |
void |
setViews(org.json.simple.JSONArray ja) |
public UserBean()
public UserBean(org.json.simple.JSONObject json) throws ParseException
ParseException
public String getId()
public org.json.simple.JSONArray getViews()
public String getProperties()
public void setProperties(String buffer)
public void setId(String id)
public void setViews(org.json.simple.JSONArray ja)
public void setProperty(String key, String value) throws ParseException
ParseException
public org.json.simple.JSONObject deserialize()
Copyright © 2016 Apache Software Foundation. All Rights Reserved.