Class Period
java.lang.Object
eu.dzhw.fdz.metadatamanagement.common.domain.Period
- All Implemented Interfaces:
Serializable
@ValidPeriod(message="global.error.period.valid-period") public class Period extends Object implements Serializable
Objects representing periods in time. All periods must have a start date and an end date and the
start date must be before or equal to the end date.
- See Also:
- Serialized Form
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
start
The start date of the period. Mandatory and must not be after end date. -
end
The end date of the period. Mandatory and must not be before start date.
-
-
Constructor Details
-
Period
public Period()
-