Package dev.daymor.sakuraboot
Interface DataPresentation<I extends Comparable<? super I> & Serializable>
- Type Parameters:
I
- The ID of type Comparable and Serializable.
- All Superinterfaces:
Comparable<DataPresentation<I>>
,Serializable
public interface DataPresentation<I extends Comparable<? super I> & Serializable>
extends Serializable, Comparable<DataPresentation<I>>
The basic interface for every data exposed to the presentation layer.
- Since:
- 0.1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A marker interface that can be used to represent a full data object.static interface
A marker interface that can be used to represent a partial data object. -
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getId
The getter for the id that each DataPresentation need to have.- Returns:
- The id of this DataPresentation.
-