com.cumulocity.model
Class ExternalManagedObjectList
java.lang.Object
org.svenson.AbstractDynamicProperties
com.cumulocity.model.JSONBase
com.cumulocity.model.ExternalManagedObjectList
- All Implemented Interfaces:
- org.svenson.DynamicProperties
public class ExternalManagedObjectList
- extends JSONBase
TODO: The Javadoc of this class is too short. Please add at least a meaningful class comment.
Methods inherited from class org.svenson.AbstractDynamicProperties |
getProperty, propertyNames, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalManagedObjectList
public ExternalManagedObjectList()
getCount
@JSONProperty(value="count")
public int getCount()
getObjects
@JSONProperty(value="objects")
@JSONTypeHint(value=ManagedObject.class)
public List<ManagedObject<XtId>> getObjects()
setObjects
public void setObjects(List<ManagedObject<XtId>> objects)
add
public void add(ManagedObject<XtId> amo)
addAll
public void addAll(Collection<ManagedObject<XtId>> amos)
fromJSON
public static ExternalManagedObjectList fromJSON(String json)
- Unmarshall the JSON representation to ManagedObject type.
- Parameters:
json
- the json string
- Returns:
- the ManagedObject representation.
Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.