Class BaseCollectionRepresentation<T>

All Implemented Interfaces:
ResourceRepresentation, Iterable<T>, org.svenson.DynamicProperties
Direct Known Subclasses:
AlarmCollectionRepresentation, ApplicationCollectionRepresentation, ApplicationReferenceCollectionRepresentation, ApplicationUserCollectionRepresentation, ApplicationVersionCollectionRepresentation, AuditRecordCollectionRepresentation, EventCollectionRepresentation, ExternalIDCollectionRepresentation, GroupCollectionRepresentation, GroupReferenceCollectionRepresentation, ManagedObjectCollectionRepresentation, ManagedObjectReferenceCollectionRepresentation, MeasurementCollectionRepresentation, MicroserviceBillingCollectionRepresentation, NewDeviceRequestCollectionRepresentation, NotificationSubscriptionCollectionRepresentation, OperationCollectionRepresentation, OptionCollectionRepresentation, RoleCollectionRepresentation, RoleReferenceCollectionRepresentation, TenantCollectionRepresentation, UserCollectionRepresentation, UserReferenceCollectionRepresentation

public abstract class BaseCollectionRepresentation<T> extends BaseResourceWithExplainRepresentation implements Iterable<T>
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.
  • Constructor Details

    • BaseCollectionRepresentation

      public BaseCollectionRepresentation()
  • Method Details

    • 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)