com.cumulocity.model
Class ExternalManagedObjectList

java.lang.Object
  extended by org.svenson.AbstractDynamicProperties
      extended by com.cumulocity.model.JSONBase
          extended by 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.


Constructor Summary
ExternalManagedObjectList()
           
 
Method Summary
 void add(ManagedObject<XtId> amo)
           
 void addAll(Collection<ManagedObject<XtId>> amos)
           
static ExternalManagedObjectList fromJSON(String json)
          Unmarshall the JSON representation to ManagedObject type.
 int getCount()
           
 List<ManagedObject<XtId>> getObjects()
           
 void setObjects(List<ManagedObject<XtId>> objects)
           
 
Methods inherited from class com.cumulocity.model.JSONBase
fromJSON, getJSONGenerator, getJSONParser, toJSON
 
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
 

Constructor Detail

ExternalManagedObjectList

public ExternalManagedObjectList()
Method Detail

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.