public static class DateQueryParamsBean.Builder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
DateQueryParamsBean.builder() instead of private constructor to create new builder. |
protected |
Builder(DateQueryParamsBean pObject)
Use
DateQueryParamsBean.builder(DateQueryParamsBean) instead of private constructor to create new
builder. |
| Modifier and Type | Method and Description |
|---|---|
DateQueryParamsBean |
build()
Method creates a new instance of class DateQueryParamsBean.
|
DateQueryParamsBean |
buildValidated()
Method creates a new validated instance of class DateQueryParamsBean.
|
DateQueryParamsBean.Builder |
setCalendar(Calendar pCalendar)
Method sets the attribute "calendar".
|
DateQueryParamsBean.Builder |
setLocalDate(LocalDate pLocalDate)
Method sets the attribute "localDate".
|
DateQueryParamsBean.Builder |
setLocalDateTime(LocalDateTime pLocalDateTime)
Method sets the attribute "localDateTime".
|
DateQueryParamsBean.Builder |
setLocalTime(LocalTime pLocalTime)
Method sets the attribute "localTime".
|
DateQueryParamsBean.Builder |
setOffsetDateTime(OffsetDateTime pOffsetDateTime)
Method sets the attribute "offsetDateTime".
|
DateQueryParamsBean.Builder |
setOffsetTime(OffsetTime pOffsetTime)
Method sets the attribute "offsetTime".
|
DateQueryParamsBean.Builder |
setSqlDate(Date pSqlDate)
Method sets the attribute "sqlDate".
|
DateQueryParamsBean.Builder |
setSqlTime(Time pSqlTime)
Method sets the attribute "sqlTime".
|
DateQueryParamsBean.Builder |
setSqlTimestamp(Timestamp pSqlTimestamp)
Method sets the attribute "sqlTimestamp".
|
DateQueryParamsBean.Builder |
setUtilDate(Date pUtilDate)
Method sets the attribute "utilDate".
|
protected Builder()
DateQueryParamsBean.builder() instead of private constructor to create new builder.protected Builder(DateQueryParamsBean pObject)
DateQueryParamsBean.builder(DateQueryParamsBean) instead of private constructor to create new
builder.public DateQueryParamsBean.Builder setOffsetDateTime(OffsetDateTime pOffsetDateTime)
pOffsetDateTime - Value to which the attribute "offsetDateTime" should be set.public DateQueryParamsBean.Builder setOffsetTime(OffsetTime pOffsetTime)
pOffsetTime - Value to which the attribute "offsetTime" should be set.public DateQueryParamsBean.Builder setLocalDateTime(LocalDateTime pLocalDateTime)
pLocalDateTime - Value to which the attribute "localDateTime" should be set.public DateQueryParamsBean.Builder setLocalTime(LocalTime pLocalTime)
pLocalTime - Value to which the attribute "localTime" should be set.public DateQueryParamsBean.Builder setLocalDate(LocalDate pLocalDate)
pLocalDate - Value to which the attribute "localDate" should be set.public DateQueryParamsBean.Builder setUtilDate(Date pUtilDate)
pUtilDate - Value to which the attribute "utilDate" should be set.public DateQueryParamsBean.Builder setCalendar(Calendar pCalendar)
pCalendar - Value to which the attribute "calendar" should be set.public DateQueryParamsBean.Builder setSqlTimestamp(Timestamp pSqlTimestamp)
pSqlTimestamp - Value to which the attribute "sqlTimestamp" should be set.public DateQueryParamsBean.Builder setSqlTime(Time pSqlTime)
pSqlTime - Value to which the attribute "sqlTime" should be set.public DateQueryParamsBean.Builder setSqlDate(Date pSqlDate)
pSqlDate - Value to which the attribute "sqlDate" should be set.public DateQueryParamsBean build()
public DateQueryParamsBean buildValidated() throws javax.validation.ConstraintViolationException
javax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.Copyright © 2022. All rights reserved.