public class BoxObject extends DefaultJSONStringEntity
Constructor and Description |
---|
BoxObject() |
BoxObject(BoxObject obj)
Copy constructor, this does deep copy for all the fields.
|
BoxObject(Map<String,Object> map)
Instantiate the object from a map.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String key)
Use this method to check whether the object contains certain field at all.
|
boolean |
equals(Object obj)
Whether the two objects are equal.
|
Object |
getExtraData(String key)
Get extra data.
|
Set<String> |
getKeySet()
Added to introspect the map to update document
|
Object |
getValue(String key) |
void |
handleUnknown(String key,
Object value) |
int |
hashCode() |
Map<String,Object> |
properties() |
void |
put(String key,
Object value) |
void |
putAll(Map<String,Object> newMap) |
toJSONString
public BoxObject()
public BoxObject(Map<String,Object> map)
map
- public boolean equals(Object obj)
public Object getExtraData(String key)
key
- public Map<String,Object> properties()
public boolean contains(String key)
public void handleUnknown(String key, Object value)
Copyright © 2016 Nuxeo SA. All rights reserved.