Interface Activatable
- 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 -
Method Summary
-
Field Details
-
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
-