-
- 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 interfaceValidatable.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOLUMN_NAME_VALID_FROMThe Constant for the column name 'validFrom'.static java.lang.StringCOLUMN_NAME_VALID_TILLThe Constant for the column name 'validTill'.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetValidFrom()Gets the valid from.TgetValidTill()Gets the valid till.voidsetValidFrom(T validFrom)Sets the valid from.voidsetValidTill(T validTill)Sets the valid till.
-
-
-
Field Detail
-
COLUMN_NAME_VALID_FROM
static final java.lang.String COLUMN_NAME_VALID_FROM
The Constant for the column name 'validFrom'.- See Also:
- Constant Field Values
-
COLUMN_NAME_VALID_TILL
static final java.lang.String COLUMN_NAME_VALID_TILL
The Constant for the column name 'validTill'.- See Also:
- Constant Field Values
-
-
Method Detail
-
getValidFrom
T getValidFrom()
Gets the valid from.- Returns:
- the valid from
-
setValidFrom
void setValidFrom(T validFrom)
Sets the valid from.- Parameters:
validFrom- the new valid from
-
getValidTill
T getValidTill()
Gets the valid till.- Returns:
- the valid till
-
setValidTill
void setValidTill(T validTill)
Sets the valid till.- Parameters:
validTill- the new valid till
-
-