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

java.lang.Object
  extended by org.eclipse.lyo.oslc4j.core.model.FilteredResource<T>
      extended by org.eclipse.lyo.oslc4j.core.model.ResponseInfo<T>
Direct Known Subclasses:
ResponseInfoArray, ResponseInfoCollection

public abstract class ResponseInfo<T>
extends FilteredResource<T>

Wrapper for a collection or resources returned from an HTTP GET to wrap that collection in a oslc:ResponseInfo element


Constructor Summary
ResponseInfo(T resource, Map<String,Object> properties, int totalCount, String nextPage)
           
ResponseInfo(T resource, Map<String,Object> properties, int totalCount, URI nextPage)
           
 
Method Summary
 String nextPage()
           
 int 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

ResponseInfo

public ResponseInfo(T resource,
                    Map<String,Object> properties,
                    int totalCount,
                    String nextPage)

ResponseInfo

public ResponseInfo(T resource,
                    Map<String,Object> properties,
                    int totalCount,
                    URI nextPage)
Method Detail

totalCount

public int totalCount()

nextPage

public String nextPage()


Copyright © 2013. All Rights Reserved.