Package com.mayam.wf.ws.rest.domain
Class Collection<T>
java.lang.Object
com.mayam.wf.ws.rest.domain.Collection<T>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
generateMediaType
(Class<?> itemClass, boolean isCollection) getItems()
static <T> Collection
<T> of
(Collection<? extends T> c) static <T> Collection
<T> of
(Collection<? extends T> c, int rowOffset, int pageSize, Integer rowCount) static <T> Collection
<T> of
(Collection<? extends T> c, Collection.PagingParams page, Integer rowCount) void
void
setPaging
(Collection.Paging paging)
-
Field Details
-
CURRENT_API_LEVEL
public static final int CURRENT_API_LEVEL- See Also:
-
-
Constructor Details
-
Collection
public Collection()
-
-
Method Details
-
getItems
-
setItems
-
getPaging
-
setPaging
-
of
-
of
public static <T> Collection<T> of(Collection<? extends T> c, int rowOffset, int pageSize, Integer rowCount) -
of
public static <T> Collection<T> of(Collection<? extends T> c, Collection.PagingParams page, Integer rowCount) -
generateMediaType
-