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 Classes
    Modifier and Type
    Interface
    Description
    static 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

    Modifier and Type
    Method
    Description
    The getter for the id that each DataPresentation need to have.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • getId

      @Nullable I getId()
      The getter for the id that each DataPresentation need to have.
      Returns:
      The id of this DataPresentation.