Class FullView<T extends Serializable,U extends Serializable>

java.lang.Object
org.sklsft.commons.api.model.FullView<T,U>
Type Parameters:
T - id
U - form
boolean - canUpdate
boolean - canDelete
All Implemented Interfaces:
Serializable

public class FullView<T extends Serializable,U extends Serializable> extends Object implements Serializable
This class can be extended to represent the full view of an object
It can be used as the result of a get method
It basically consists of an id and a form which must be serializable
Author:
Nicolas Thibault, Amine Bouqsimi
See Also:
  • Field Details

    • id

      protected T extends Serializable id
    • form

      protected U extends Serializable form
    • canUpdate

      protected boolean canUpdate
    • canDelete

      protected boolean canDelete
  • Constructor Details

    • FullView

      public FullView()
  • Method Details

    • getForm

      public U getForm()
    • setForm

      public void setForm(U form)
    • getId

      public T getId()
    • setId

      public void setId(T id)
    • getCanUpdate

      public boolean getCanUpdate()
    • setCanUpdate

      public void setCanUpdate(boolean canUpdate)
    • isCanDelete

      public boolean isCanDelete()
    • setCanDelete

      public void setCanDelete(boolean canDelete)