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

public class AbstractItemResponse<T> extends GenericResponse
Abstract item response
See Also:
  • Constructor Details

    • AbstractItemResponse

      public AbstractItemResponse()
      Create empty instance
    • AbstractItemResponse

      public AbstractItemResponse(T item, ResponseInfo responseInfo)
      Create instance with response info and item
      Parameters:
      item - item
      responseInfo - response info
  • Method Details

    • getItem

      public T getItem()
      Item contained in the response
      Returns:
      item
    • setItem

      public void setItem(T item)
      Set the item
      Parameters:
      item - item