Class 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 Detail

      • MyEdalDate

        public MyEdalDate()
        Default constructor for MyEdalDate 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()