Package org.gcube.idm.client.beans
Class ResponseBean<T>
- java.lang.Object
-
- org.gcube.idm.client.beans.ResponseBean<T>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ResponseBeanPaginated
public class ResponseBean<T> extends Object implements Serializable
Response bean with real result of type T.- Author:
- Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResponseBean()ResponseBean(boolean success, String message, T result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()TgetResult()booleanisSuccess()voidsetMessage(String message)voidsetResult(T result)voidsetSuccess(boolean success)StringtoString()
-