All Known Subinterfaces:
IdentifiableActivatable<PK>, IdentifiableNameableActivatable<PK>, IdentifiableVerifiableActivatable<PK>

public interface Activatable
The interface Activatable can be implemented from an data that needs a trigger to set if the data is active or not.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant for the column name 'active'.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if the data is active
    void
    setActive(boolean active)
    Sets the active flag
  • Field Details

    • COLUMN_NAME_ACTIVE

      static final String COLUMN_NAME_ACTIVE
      The Constant for the column name 'active'.
      See Also:
  • Method Details

    • isActive

      boolean isActive()
      Checks if the data is active
      Returns:
      true, if the data is active otherwise false
    • setActive

      void setActive(boolean active)
      Sets the active flag
      Parameters:
      active - the new active