Interface ByCreatable<T,U>
- Type Parameters:
T
- the generic type of time measurementU
- 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>
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
FieldsModifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptionGets the user or account that created this datavoid
setCreatedBy
(U user) Sets the user or account that created this dataMethods inherited from interface io.github.astrapi69.data.creatable.Creatable
getCreated, setCreated
-
Field Details
-
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
Sets the user or account that created this data- Parameters:
user
- the user or account that created this data
-