Class DateQueryParamsBean
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.service1.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDateQueryParamsBean.BuilderClass implements builder to create a new instance of classDateQueryParamsBean.
-
Constructor Summary
Constructors Modifier Constructor Description protectedDateQueryParamsBean()Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.protectedDateQueryParamsBean(DateQueryParamsBean.Builder pBuilder)Initialize object using the passed builder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DateQueryParamsBean.Builderbuilder()Method returns a new builder.static DateQueryParamsBean.Builderbuilder(DateQueryParamsBean pObject)Method creates a new builder and initialize it with the data from the passed object.static DateQueryParamsBean.Builderbuilder(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.java.util.CalendargetCalendar()Method returns attributecalendar.java.time.LocalDategetLocalDate()Method returns attributelocalDate.java.time.LocalDateTimegetLocalDateTime()Method returns attributelocalDateTime.java.time.LocalTimegetLocalTime()Method returns attributelocalTime.java.time.OffsetDateTimegetOffsetDateTime()Method returns attributeoffsetDateTime.java.time.OffsetTimegetOffsetTime()Method returns attributeoffsetTime.java.sql.DategetSqlDate()Method returns attributesqlDate.java.sql.TimegetSqlTime()Method returns attributesqlTime.java.sql.TimestampgetSqlTimestamp()Method returns attributesqlTimestamp.java.util.DategetUtilDate()Method returns attributeutilDate.voidsetCalendar(java.util.Calendar pCalendar)Method sets attributecalendar.voidsetLocalDate(java.time.LocalDate pLocalDate)Method sets attributelocalDate.voidsetLocalDateTime(java.time.LocalDateTime pLocalDateTime)Method sets attributelocalDateTime.voidsetLocalTime(java.time.LocalTime pLocalTime)Method sets attributelocalTime.voidsetOffsetDateTime(java.time.OffsetDateTime pOffsetDateTime)Method sets attributeoffsetDateTime.voidsetOffsetTime(java.time.OffsetTime pOffsetTime)Method sets attributeoffsetTime.voidsetSqlDate(java.sql.Date pSqlDate)Method sets attributesqlDate.voidsetSqlTime(java.sql.Time pSqlTime)Method sets attributesqlTime.voidsetSqlTimestamp(java.sql.Timestamp pSqlTimestamp)Method sets attributesqlTimestamp.voidsetUtilDate(java.util.Date pUtilDate)Method sets attributeutilDate.java.lang.StringtoString()Method creates a new String with the values of all attributes of this class.java.lang.StringBuildertoStringBuilder(java.lang.String pIndent)Method returns a StringBuilder that can be used to create a String representation of this object.
-
-
-
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()
Method returns a new builder.- Returns:
DateQueryParamsBean.BuilderNew builder that can be used to create new DateQueryParamsBean objects.
-
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.BuilderNew 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 attributeoffsetDateTime.- Returns:
OffsetDateTimeValue to whichoffsetDateTimeis set.
-
setOffsetDateTime
public void setOffsetDateTime(java.time.OffsetDateTime pOffsetDateTime)
Method sets attributeoffsetDateTime.- Parameters:
pOffsetDateTime- Value to whichoffsetDateTimeshould be set.
-
getOffsetTime
public java.time.OffsetTime getOffsetTime()
Method returns attributeoffsetTime.- Returns:
OffsetTimeValue to whichoffsetTimeis set.
-
setOffsetTime
public void setOffsetTime(java.time.OffsetTime pOffsetTime)
Method sets attributeoffsetTime.- Parameters:
pOffsetTime- Value to whichoffsetTimeshould be set.
-
getLocalDateTime
public java.time.LocalDateTime getLocalDateTime()
Method returns attributelocalDateTime.- Returns:
LocalDateTimeValue to whichlocalDateTimeis set.
-
setLocalDateTime
public void setLocalDateTime(java.time.LocalDateTime pLocalDateTime)
Method sets attributelocalDateTime.- Parameters:
pLocalDateTime- Value to whichlocalDateTimeshould be set.
-
getLocalTime
public java.time.LocalTime getLocalTime()
Method returns attributelocalTime.- Returns:
LocalTimeValue to whichlocalTimeis set.
-
setLocalTime
public void setLocalTime(java.time.LocalTime pLocalTime)
Method sets attributelocalTime.- Parameters:
pLocalTime- Value to whichlocalTimeshould be set.
-
getLocalDate
public java.time.LocalDate getLocalDate()
Method returns attributelocalDate.- Returns:
LocalDateValue to whichlocalDateis set.
-
setLocalDate
public void setLocalDate(java.time.LocalDate pLocalDate)
Method sets attributelocalDate.- Parameters:
pLocalDate- Value to whichlocalDateshould be set.
-
getUtilDate
public java.util.Date getUtilDate()
Method returns attributeutilDate.- Returns:
DateValue to whichutilDateis set.
-
setUtilDate
public void setUtilDate(java.util.Date pUtilDate)
Method sets attributeutilDate.- Parameters:
pUtilDate- Value to whichutilDateshould be set.
-
getCalendar
public java.util.Calendar getCalendar()
Method returns attributecalendar.- Returns:
CalendarValue to whichcalendaris set.
-
setCalendar
public void setCalendar(java.util.Calendar pCalendar)
Method sets attributecalendar.- Parameters:
pCalendar- Value to whichcalendarshould be set.
-
getSqlTimestamp
public java.sql.Timestamp getSqlTimestamp()
Method returns attributesqlTimestamp.- Returns:
TimestampValue to whichsqlTimestampis set.
-
setSqlTimestamp
public void setSqlTimestamp(java.sql.Timestamp pSqlTimestamp)
Method sets attributesqlTimestamp.- Parameters:
pSqlTimestamp- Value to whichsqlTimestampshould be set.
-
getSqlTime
public java.sql.Time getSqlTime()
Method returns attributesqlTime.- Returns:
TimeValue to whichsqlTimeis set.
-
setSqlTime
public void setSqlTime(java.sql.Time pSqlTime)
Method sets attributesqlTime.- Parameters:
pSqlTime- Value to whichsqlTimeshould be set.
-
getSqlDate
public java.sql.Date getSqlDate()
Method returns attributesqlDate.- Returns:
DateValue to whichsqlDateis set.
-
setSqlDate
public void setSqlDate(java.sql.Date pSqlDate)
Method sets attributesqlDate.- Parameters:
pSqlDate- Value to whichsqlDateshould 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:
StringBuilderStringBuilder 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:
toStringin classjava.lang.Object- Returns:
StringString representation of this object. The method never returns null.
-
-