@Valid public class DateQueryParamsBean extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
DateQueryParamsBean.Builder
Class implements builder to create a new instance of class
DateQueryParamsBean. |
| Modifier | Constructor and Description |
|---|---|
protected |
DateQueryParamsBean()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
DateQueryParamsBean(DateQueryParamsBean.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static DateQueryParamsBean.Builder |
builder()
Method returns a new builder.
|
static DateQueryParamsBean.Builder |
builder(DateQueryParamsBean pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static DateQueryParamsBean.Builder |
builder(OffsetDateTime pOffsetDateTime,
OffsetTime pOffsetTime,
LocalDateTime pLocalDateTime,
LocalTime pLocalTime,
LocalDate pLocalDate,
Date pUtilDate,
Calendar pCalendar,
Timestamp pSqlTimestamp,
Time pSqlTime,
Date pSqlDate)
Method creates a new builder and initializes it with the passed attributes.
|
Calendar |
getCalendar()
Method returns attribute
calendar. |
LocalDate |
getLocalDate()
Method returns attribute
localDate. |
LocalDateTime |
getLocalDateTime()
Method returns attribute
localDateTime. |
LocalTime |
getLocalTime()
Method returns attribute
localTime. |
OffsetDateTime |
getOffsetDateTime()
Method returns attribute
offsetDateTime. |
OffsetTime |
getOffsetTime()
Method returns attribute
offsetTime. |
Date |
getSqlDate()
Method returns attribute
sqlDate. |
Time |
getSqlTime()
Method returns attribute
sqlTime. |
Timestamp |
getSqlTimestamp()
Method returns attribute
sqlTimestamp. |
Date |
getUtilDate()
Method returns attribute
utilDate. |
void |
setCalendar(Calendar pCalendar)
Method sets attribute
calendar. |
void |
setLocalDate(LocalDate pLocalDate)
Method sets attribute
localDate. |
void |
setLocalDateTime(LocalDateTime pLocalDateTime)
Method sets attribute
localDateTime. |
void |
setLocalTime(LocalTime pLocalTime)
Method sets attribute
localTime. |
void |
setOffsetDateTime(OffsetDateTime pOffsetDateTime)
Method sets attribute
offsetDateTime. |
void |
setOffsetTime(OffsetTime pOffsetTime)
Method sets attribute
offsetTime. |
void |
setSqlDate(Date pSqlDate)
Method sets attribute
sqlDate. |
void |
setSqlTime(Time pSqlTime)
Method sets attribute
sqlTime. |
void |
setSqlTimestamp(Timestamp pSqlTimestamp)
Method sets attribute
sqlTimestamp. |
void |
setUtilDate(Date pUtilDate)
Method sets attribute
utilDate. |
String |
toString()
Method creates a new String with the values of all attributes of this class.
|
StringBuilder |
toStringBuilder(String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object.
|
protected DateQueryParamsBean()
protected DateQueryParamsBean(DateQueryParamsBean.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static DateQueryParamsBean.Builder builder()
DateQueryParamsBean.Builder New builder that can be used to create new DateQueryParamsBean objects.public static DateQueryParamsBean.Builder builder(DateQueryParamsBean pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.DateQueryParamsBean.Builder New builder that can be used to create new DateQueryParamsBean objects. The method never
returns null.public static DateQueryParamsBean.Builder builder(OffsetDateTime pOffsetDateTime, OffsetTime pOffsetTime, LocalDateTime pLocalDateTime, LocalTime pLocalTime, LocalDate pLocalDate, Date pUtilDate, Calendar pCalendar, Timestamp pSqlTimestamp, Time pSqlTime, Date pSqlDate)
public OffsetDateTime getOffsetDateTime()
offsetDateTime.OffsetDateTime Value to which offsetDateTime is set.public void setOffsetDateTime(OffsetDateTime pOffsetDateTime)
offsetDateTime.pOffsetDateTime - Value to which offsetDateTime should be set.public OffsetTime getOffsetTime()
offsetTime.OffsetTime Value to which offsetTime is set.public void setOffsetTime(OffsetTime pOffsetTime)
offsetTime.pOffsetTime - Value to which offsetTime should be set.public LocalDateTime getLocalDateTime()
localDateTime.LocalDateTime Value to which localDateTime is set.public void setLocalDateTime(LocalDateTime pLocalDateTime)
localDateTime.pLocalDateTime - Value to which localDateTime should be set.public void setLocalTime(LocalTime pLocalTime)
localTime.pLocalTime - Value to which localTime should be set.public void setLocalDate(LocalDate pLocalDate)
localDate.pLocalDate - Value to which localDate should be set.public void setUtilDate(Date pUtilDate)
utilDate.pUtilDate - Value to which utilDate should be set.public void setCalendar(Calendar pCalendar)
calendar.pCalendar - Value to which calendar should be set.public Timestamp getSqlTimestamp()
sqlTimestamp.Timestamp Value to which sqlTimestamp is set.public void setSqlTimestamp(Timestamp pSqlTimestamp)
sqlTimestamp.pSqlTimestamp - Value to which sqlTimestamp should be set.public void setSqlTime(Time pSqlTime)
sqlTime.pSqlTime - Value to which sqlTime should be set.public void setSqlDate(Date pSqlDate)
sqlDate.pSqlDate - Value to which sqlDate should be set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.