Interface Validatable<T>
- Type Parameters:
T
- the generic type of time measurement
- All Known Subinterfaces:
IdentifiableValidatable<PK,
,T> IdentifiableValidatableVersionable<PK,
,T> ValidatableVersionable<T>
public interface Validatable<T>
The interface
Validatable
.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the valid from.Gets the valid till.void
setValidFrom
(T validFrom) Sets the valid from.void
setValidTill
(T validTill) Sets the valid till.
-
Field Details
-
COLUMN_NAME_VALID_FROM
The Constant for the column name 'validFrom'.- See Also:
-
COLUMN_NAME_VALID_TILL
The Constant for the column name 'validTill'.- See Also:
-
-
Method Details
-
getValidFrom
T getValidFrom()Gets the valid from.- Returns:
- the valid from
-
setValidFrom
Sets the valid from.- Parameters:
validFrom
- the new valid from
-
getValidTill
T getValidTill()Gets the valid till.- Returns:
- the valid till
-
setValidTill
Sets the valid till.- Parameters:
validTill
- the new valid till
-