Interface ByCreatable<T,U>

Type Parameters:
T - the generic type of time measurement
U - the generic type of the user or account
All Superinterfaces:
Creatable<T>
All Known Subinterfaces:
Auditable<T,U>, IdentifiableByCreatable<PK,T,U>, IdentifiableTraceable<PK,T,U>, IdentifiableTraceableVersionable<PK,T,U>, Traceable<T,U>

public interface ByCreatable<T,U> extends Creatable<T>
The interface ByCreatable can be implemented from an data that needs the data of the point of time from its creation and who created
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant for the column name 'createdBy'.

    Fields inherited from interface io.github.astrapi69.data.creatable.Creatable

    COLUMN_NAME_CREATED
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the user or account that created this data
    void
    Sets the user or account that created this data

    Methods inherited from interface io.github.astrapi69.data.creatable.Creatable

    getCreated, setCreated
  • Field Details

    • COLUMN_NAME_CREATED_BY

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

    • getCreatedBy

      U getCreatedBy()
      Gets the user or account that created this data
      Returns:
      the user or account that created this data
    • setCreatedBy

      void setCreatedBy(U user)
      Sets the user or account that created this data
      Parameters:
      user - the user or account that created this data