Class AbstractItemResponse<T>
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.AbstractItemResponse<T>
- Type Parameters:
T
- item type
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExecutionResponse
,ScheduleResponse
,TaskResponse
Abstract item response
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate empty instanceAbstractItemResponse
(T item, ResponseInfo responseInfo) Create instance with response info and item -
Method Summary
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
AbstractItemResponse
public AbstractItemResponse()Create empty instance -
AbstractItemResponse
Create instance with response info and item- Parameters:
item
- itemresponseInfo
- response info
-
-
Method Details
-
getItem
Item contained in the response- Returns:
- item
-
setItem
Set the item- Parameters:
item
- item
-