Interface LastModified<T>
- Type Parameters:
T
- the generic type of time measurement
- All Known Subinterfaces:
Auditable<T,
,U> ByLastModified<T,
,U> IdentifiableByLastModified<PK,
,T, U> IdentifiableLastModified<PK,
,T> IdentifiableTraceable<PK,
,T, U> IdentifiableTraceableVersionable<PK,
,T, U> Traceable<T,
U>
public interface LastModified<T>
The interface
LastModified
can be implemented from an data that needs the data of the
point of time from its last modification-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The Constant for the column name 'lastModified'. -
Method Summary
Modifier and TypeMethodDescriptionGets the point of time from the last modificationvoid
setLastModified
(T created) Sets the point of time from the last modification
-
Field Details
-
COLUMN_NAME_LAST_MODIFIED
The Constant for the column name 'lastModified'.- See Also:
-
-
Method Details
-
getLastModified
T getLastModified()Gets the point of time from the last modification- Returns:
- the point of time from the last modification
-
setLastModified
Sets the point of time from the last modification- Parameters:
created
- the new point of time from the last modification
-