Class DataEntity
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<String,Object>
-
- org.exoplatform.social.rest.entity.DataEntity
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
public class DataEntity extends LinkedHashMap<String,Object>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description DataEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataEntitysetProperty(String name, Object value)org.json.JSONObjecttoJSONObject()StringtoString()-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
setProperty
public DataEntity setProperty(String name, Object value)
-
toString
public String toString()
- Overrides:
toStringin classAbstractMap<String,Object>
-
toJSONObject
public org.json.JSONObject toJSONObject()
-
-