Package it.tidalwave.role
Interface Removable
-
- All Known Implementing Classes:
JpaPersistableSupport
,PersonJpaPersistable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Removable
The role of an object that can be removed (e.g. deleted).- Author:
- Fabrizio Giudici
- Status: stable API
- Stereotype:
- Role
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<Removable>
_Removable_
static Removable
DEFAULT
A defaultRemovable
which does nothing (useful for implementing the NullObject pattern).
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
remove()
Removes this object from some implicit, or context-provided container (e.g.
-