Class MyEdalDateRange
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyEdalDate
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyEdalDateRange
-
- All Implemented Interfaces:
java.io.Serializable
@Entity public class MyEdalDateRange extends MyEdalDate
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MyEdalDateRange()
Default constructor forMyEdalDateRange
is necessary for PojoInstantiator of HIBERNATE.MyEdalDateRange(EdalDateRange range)
MyEdalDateRange(java.util.Calendar startDate, EdalDatePrecision startPrecision, java.util.Calendar endDate, EdalDatePrecision endPrecision, java.lang.String event)
-
Method Summary
Modifier and Type Method Description java.util.Calendar
getEndDate()
EdalDatePrecision
getEndPrecision()
void
setEndDate(java.util.Calendar endDate)
void
setEndPrecision(EdalDatePrecision endPrecision)
EdalDateRange
toEdalTimeRange()
-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyEdalDate
getEvent, getId, getStartDate, getStartPrecision, setEvent, setId, setStartDate, setStartPrecision, toEdalTimePoint
-
-
-
-
Constructor Detail
-
MyEdalDateRange
public MyEdalDateRange()
Default constructor forMyEdalDateRange
is necessary for PojoInstantiator of HIBERNATE.
-
MyEdalDateRange
public MyEdalDateRange(java.util.Calendar startDate, EdalDatePrecision startPrecision, java.util.Calendar endDate, EdalDatePrecision endPrecision, java.lang.String event)
-
MyEdalDateRange
public MyEdalDateRange(EdalDateRange range)
-
-
Method Detail
-
getEndDate
public java.util.Calendar getEndDate()
- Returns:
- the endDate
-
setEndDate
public void setEndDate(java.util.Calendar endDate)
- Parameters:
endDate
- the endDate to set
-
getEndPrecision
public EdalDatePrecision getEndPrecision()
- Returns:
- the endPrecision
-
setEndPrecision
public void setEndPrecision(EdalDatePrecision endPrecision)
- Parameters:
endPrecision
- the endPrecision to set
-
toEdalTimeRange
public EdalDateRange toEdalTimeRange()
-
-