Class MyEdalDate
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyEdalDate
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MyEdalDateRange
@Entity public class MyEdalDate extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MyEdalDate()
Default constructor forMyEdalDate
is necessary for PojoInstantiator of HIBERNATE.MyEdalDate(EdalDate date)
MyEdalDate(java.util.Calendar startDate, EdalDatePrecision startPrecision, java.lang.String event)
-
Method Summary
Modifier and Type Method Description java.lang.String
getEvent()
int
getId()
java.util.Calendar
getStartDate()
EdalDatePrecision
getStartPrecision()
void
setEvent(java.lang.String event)
void
setId(int id)
void
setStartDate(java.util.Calendar startDate)
void
setStartPrecision(EdalDatePrecision startPrecision)
EdalDate
toEdalTimePoint()
-
-
-
Constructor Detail
-
MyEdalDate
public MyEdalDate()
Default constructor forMyEdalDate
is necessary for PojoInstantiator of HIBERNATE.
-
MyEdalDate
public MyEdalDate(java.util.Calendar startDate, EdalDatePrecision startPrecision, java.lang.String event)
-
MyEdalDate
public MyEdalDate(EdalDate date)
-
-
Method Detail
-
getStartDate
public java.util.Calendar getStartDate()
- Returns:
- the startDate
-
setStartDate
public void setStartDate(java.util.Calendar startDate)
- Parameters:
startDate
- the startDate to set
-
getStartPrecision
public EdalDatePrecision getStartPrecision()
- Returns:
- the startPrecision
-
setStartPrecision
public void setStartPrecision(EdalDatePrecision startPrecision)
- Parameters:
startPrecision
- the startPrecision to set
-
getId
public int getId()
- Returns:
- the id
-
setId
public void setId(int id)
- Parameters:
id
- the id to set
-
getEvent
public java.lang.String getEvent()
- Returns:
- the event
-
setEvent
public void setEvent(java.lang.String event)
- Parameters:
event
- the event to set
-
toEdalTimePoint
public EdalDate toEdalTimePoint()
-
-