public class EntityResponse<T> extends DefaultResponse
Modifier and Type | Field and Description |
---|---|
protected T |
item |
code, description
Constructor and Description |
---|
EntityResponse() |
EntityResponse(int code,
java.lang.String description,
T item) |
EntityResponse(T item) |
Modifier and Type | Method and Description |
---|---|
T |
getItem() |
void |
setItem(T item) |
java.lang.String |
toString() |
getCode, getDescription, setCode, setDescription
protected T item
public EntityResponse()
public EntityResponse(T item)
public EntityResponse(int code, java.lang.String description, T item)
public T getItem()
public void setItem(T item)
public java.lang.String toString()
toString
in class DefaultResponse