public abstract class WrapperDto<T> extends SingleResourceTransportDto
| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
collection |
API_VERSION, API_VERSION_20, API_VERSION_22, API_VERSION_23, API_VERSION_24, API_VERSION_26, API_VERSION_27, API_VERSION_28, API_VERSION_29, APPLICATION, editLink, JSON, links, VERSION_PARAM, XML| Constructor and Description |
|---|
WrapperDto() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T element) |
void |
addAll(Collection<T> elements) |
void |
addAll(WrapperDto<T> errors) |
abstract List<T> |
getCollection() |
Integer |
getTotalSize() |
boolean |
isEmpty() |
void |
setTotalSize(Integer totalSize) |
addEditLink, addLink, addLinks, getBaseMediaType, getEditLink, getIdFromLink, getLinks, getMediaType, modifyLink, searchLink, searchLink, searchLinkByHref, searchLinks, setLinkspublic void add(T element)
public void addAll(Collection<T> elements)
public void addAll(WrapperDto<T> errors)
public Integer getTotalSize()
public boolean isEmpty()
public void setTotalSize(Integer totalSize)
Copyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.