public class BoxCollection extends BoxEntity
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_COLLECTION_TYPE |
static java.lang.String |
FIELD_NAME |
static java.lang.String |
TYPE |
FIELD_ID, FIELD_ITEM_ID, FIELD_ITEM_TYPE, FIELD_TYPEmProperties| Constructor and Description |
|---|
BoxCollection()
Constructs an empty BoxCollection object.
|
BoxCollection(java.util.Map<java.lang.String,java.lang.Object> map)
Constructs a BoxCollection with the provided map values
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCollectionType()
Gets the type of the collection.
|
java.lang.String |
getName()
Gets the name of the collection.
|
protected void |
parseJSONMember(com.eclipsesource.json.JsonObject.Member member)
Invoked with a JSON member whenever this object is updated or created from a JSON object.
|
createEntityFromJson, createEntityFromJson, getId, getTypecreateFromJson, createFromJson, getPropertiesAsHashMap, parseJsonObject, parseNullJsonMember, toJson, toJsonObjectpublic static final java.lang.String TYPE
public static final java.lang.String FIELD_NAME
public static final java.lang.String FIELD_COLLECTION_TYPE
public BoxCollection()
public BoxCollection(java.util.Map<java.lang.String,java.lang.Object> map)
map - - map of keys and values of the objectpublic java.lang.String getName()
public java.lang.String getCollectionType()
protected void parseJSONMember(com.eclipsesource.json.JsonObject.Member member)
BoxJsonObjectSubclasses should override this method in order to parse any JSON members it knows about. This method is a no-op by default.
parseJSONMember in class BoxEntitymember - the JSON member to be parsed.