org.eclipse.lyo.oslc4j.core.model
Class ResponseInfoCollection<T>

java.lang.Object
  extended by org.eclipse.lyo.oslc4j.core.model.FilteredResource<T>
      extended by org.eclipse.lyo.oslc4j.core.model.ResponseInfo<Collection<T>>
          extended by org.eclipse.lyo.oslc4j.core.model.ResponseInfoCollection<T>

public class ResponseInfoCollection<T>
extends ResponseInfo<Collection<T>>

Concrete ResponseInfo collection wrapper where resource are sent as an Collection


Constructor Summary
ResponseInfoCollection(Collection<T> collection, Map<String,Object> properties, int totalCount, String nextPage)
           
ResponseInfoCollection(Collection<T> collection, Map<String,Object> properties, int totalCount, URI nextPage)
           
 
Method Summary
 Collection<T> collection()
           
 
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.ResponseInfo
nextPage, totalCount
 
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.FilteredResource
properties, resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseInfoCollection

public ResponseInfoCollection(Collection<T> collection,
                              Map<String,Object> properties,
                              int totalCount,
                              String nextPage)

ResponseInfoCollection

public ResponseInfoCollection(Collection<T> collection,
                              Map<String,Object> properties,
                              int totalCount,
                              URI nextPage)
Method Detail

collection

public Collection<T> collection()


Copyright © 2013. All Rights Reserved.