Class DateQueryParamsBean

  • All Implemented Interfaces:
    com.anaptecs.jeaf.core.api.ServiceObject, java.io.Serializable

    @Valid
    public class DateQueryParamsBean
    extends java.lang.Object
    implements com.anaptecs.jeaf.core.api.ServiceObject
    See Also:
    Serialized Form
    • Constructor Detail

      • DateQueryParamsBean

        protected DateQueryParamsBean()
        Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
      • DateQueryParamsBean

        protected DateQueryParamsBean​(DateQueryParamsBean.Builder pBuilder)
        Initialize object using the passed builder.
        Parameters:
        pBuilder - Builder that should be used to initialize this object. The parameter must not be null.
    • Method Detail

      • builder

        public static DateQueryParamsBean.Builder builder​(DateQueryParamsBean pObject)
        Method creates a new builder and initialize it with the data from the passed object.
        Parameters:
        pObject - Object that should be used to initialize the builder. The parameter may be null.
        Returns:
        DateQueryParamsBean.Builder New builder that can be used to create new DateQueryParamsBean objects. The method never returns null.
      • builder

        public static DateQueryParamsBean.Builder builder​(java.time.OffsetDateTime pOffsetDateTime,
                                                          java.time.OffsetTime pOffsetTime,
                                                          java.time.LocalDateTime pLocalDateTime,
                                                          java.time.LocalTime pLocalTime,
                                                          java.time.LocalDate pLocalDate,
                                                          java.util.Date pUtilDate,
                                                          java.util.Calendar pCalendar,
                                                          java.sql.Timestamp pSqlTimestamp,
                                                          java.sql.Time pSqlTime,
                                                          java.sql.Date pSqlDate)
        Method creates a new builder and initializes it with the passed attributes.
      • getOffsetDateTime

        public java.time.OffsetDateTime getOffsetDateTime()
        Method returns attribute offsetDateTime.
        Returns:
        OffsetDateTime Value to which offsetDateTime is set.
      • setOffsetDateTime

        public void setOffsetDateTime​(java.time.OffsetDateTime pOffsetDateTime)
        Method sets attribute offsetDateTime.
        Parameters:
        pOffsetDateTime - Value to which offsetDateTime should be set.
      • getOffsetTime

        public java.time.OffsetTime getOffsetTime()
        Method returns attribute offsetTime.
        Returns:
        OffsetTime Value to which offsetTime is set.
      • setOffsetTime

        public void setOffsetTime​(java.time.OffsetTime pOffsetTime)
        Method sets attribute offsetTime.
        Parameters:
        pOffsetTime - Value to which offsetTime should be set.
      • getLocalDateTime

        public java.time.LocalDateTime getLocalDateTime()
        Method returns attribute localDateTime.
        Returns:
        LocalDateTime Value to which localDateTime is set.
      • setLocalDateTime

        public void setLocalDateTime​(java.time.LocalDateTime pLocalDateTime)
        Method sets attribute localDateTime.
        Parameters:
        pLocalDateTime - Value to which localDateTime should be set.
      • getLocalTime

        public java.time.LocalTime getLocalTime()
        Method returns attribute localTime.
        Returns:
        LocalTime Value to which localTime is set.
      • setLocalTime

        public void setLocalTime​(java.time.LocalTime pLocalTime)
        Method sets attribute localTime.
        Parameters:
        pLocalTime - Value to which localTime should be set.
      • getLocalDate

        public java.time.LocalDate getLocalDate()
        Method returns attribute localDate.
        Returns:
        LocalDate Value to which localDate is set.
      • setLocalDate

        public void setLocalDate​(java.time.LocalDate pLocalDate)
        Method sets attribute localDate.
        Parameters:
        pLocalDate - Value to which localDate should be set.
      • getUtilDate

        public java.util.Date getUtilDate()
        Method returns attribute utilDate.
        Returns:
        Date Value to which utilDate is set.
      • setUtilDate

        public void setUtilDate​(java.util.Date pUtilDate)
        Method sets attribute utilDate.
        Parameters:
        pUtilDate - Value to which utilDate should be set.
      • getCalendar

        public java.util.Calendar getCalendar()
        Method returns attribute calendar.
        Returns:
        Calendar Value to which calendar is set.
      • setCalendar

        public void setCalendar​(java.util.Calendar pCalendar)
        Method sets attribute calendar.
        Parameters:
        pCalendar - Value to which calendar should be set.
      • getSqlTimestamp

        public java.sql.Timestamp getSqlTimestamp()
        Method returns attribute sqlTimestamp.
        Returns:
        Timestamp Value to which sqlTimestamp is set.
      • setSqlTimestamp

        public void setSqlTimestamp​(java.sql.Timestamp pSqlTimestamp)
        Method sets attribute sqlTimestamp.
        Parameters:
        pSqlTimestamp - Value to which sqlTimestamp should be set.
      • getSqlTime

        public java.sql.Time getSqlTime()
        Method returns attribute sqlTime.
        Returns:
        Time Value to which sqlTime is set.
      • setSqlTime

        public void setSqlTime​(java.sql.Time pSqlTime)
        Method sets attribute sqlTime.
        Parameters:
        pSqlTime - Value to which sqlTime should be set.
      • getSqlDate

        public java.sql.Date getSqlDate()
        Method returns attribute sqlDate.
        Returns:
        Date Value to which sqlDate is set.
      • setSqlDate

        public void setSqlDate​(java.sql.Date pSqlDate)
        Method sets attribute sqlDate.
        Parameters:
        pSqlDate - Value to which sqlDate should be set.
      • toStringBuilder

        public java.lang.StringBuilder toStringBuilder​(java.lang.String pIndent)
        Method returns a StringBuilder that can be used to create a String representation of this object. The returned StringBuilder also takes care about attributes of super classes.
        Returns:
        StringBuilder StringBuilder representing this object. The method never returns null.
      • toString

        public java.lang.String toString()
        Method creates a new String with the values of all attributes of this class. All references to other objects will be ignored.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String String representation of this object. The method never returns null.