com.cumulocity.rest.representation
Class BaseCollectionRepresentation
java.lang.Object
com.cumulocity.rest.representation.BaseResourceRepresentation
com.cumulocity.rest.representation.BaseCollectionRepresentation
- All Implemented Interfaces:
- ResourceRepresentation
- Direct Known Subclasses:
- AlarmCollectionRepresentation, ApplicationCollectionRepresentation, ApplicationReferenceCollectionRepresentation, AuditRecordCollectionRepresentation, EventCollectionRepresentation, EventsApiRepresentation, ExternalIDCollectionRepresentation, GroupCollectionRepresentation, GroupReferenceCollectionRepresentation, ManagedObjectCollectionRepresentation, ManagedObjectReferenceCollectionRepresentation, MeasurementCollectionRepresentation, OperationCollectionRepresentation, RoleCollectionRepresentation, RoleReferenceCollectionRepresentation, TenantCollectionRepresentation, TenantUsageStatisticsCollectionRepresentation, UserCollectionRepresentation, UserReferenceCollectionRepresentation
public class BaseCollectionRepresentation
- extends BaseResourceRepresentation
Common Base Class for all Collection Representations. The actual items are intentionally not part of this class because
the (json) name varies from Collection to Collection and the Mapping has to be defined for each Collection Type separately because
the a generic Type Parameter would not be available at runtime.
BaseCollectionRepresentation
public BaseCollectionRepresentation()
getPageStatistics
@JSONProperty(value="statistics",
ignoreIfNull=true)
public PageStatisticsRepresentation getPageStatistics()
setPageStatistics
public void setPageStatistics(PageStatisticsRepresentation pageStatistics)
getPrev
@JSONProperty(ignoreIfNull=true)
public String getPrev()
setPrev
public void setPrev(String prev)
getNext
@JSONProperty(ignoreIfNull=true)
public String getNext()
setNext
public void setNext(String next)
Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.