public class EdalDate extends UntypedData
| Modifier and Type | Class and Description |
|---|---|
static class |
EdalDate.STANDART_EVENT_TYPES |
EMPTY, string| Constructor and Description |
|---|
EdalDate(Calendar startDate,
EdalDatePrecision startPrecision,
String event)
Default constructor to create a
EdalDate with a specified date,
precision and event description. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UntypedData object) |
boolean |
equals(Object obj) |
String |
getEvent()
Getter for the event of this
EdalDate. |
Calendar |
getStartDate()
Getter for the startDate of this
EdalDate. |
EdalDatePrecision |
getStartPrecision()
Getter for the precision of this
EdalDate. |
int |
hashCode() |
void |
setEvent(String event)
Setter for the event of this
EdalDate. |
void |
setStartDate(Calendar startDate)
Setter for the startDate of this
EdalDate. |
void |
setStartPrecision(EdalDatePrecision startPrecision)
Setter for the precision of this
EdalDate. |
String |
toString() |
getString, setString, toHTMLpublic EdalDate(Calendar startDate, EdalDatePrecision startPrecision, String event)
EdalDate with a specified date,
precision and event description.startDate - the date of the time point.startPrecision - the precision of the given date.event - the description of the time point.public int hashCode()
hashCode in class UntypedDatapublic boolean equals(Object obj)
equals in class UntypedDatapublic int compareTo(UntypedData object)
UntypedDatacompareTo in interface Comparable<UntypedData>compareTo in class UntypedDatapublic String getEvent()
EdalDate.EdalDate.public Calendar getStartDate()
EdalDate.public EdalDatePrecision getStartPrecision()
EdalDate.public void setEvent(String event)
EdalDate.event - the event to set.public void setStartDate(Calendar startDate)
EdalDate.startDate - the startDate to setpublic void setStartPrecision(EdalDatePrecision startPrecision)
EdalDate.startPrecision - the startPrecision to setpublic String toString()
toString in class UntypedDataCopyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.