Class SlardarJacksonProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = SlardarJacksonProp.Key) public class SlardarJacksonProp
The following will cause serialization and deserialization inconsistencies.
- Since:
2021-02-14
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic LocalDateemptyDatepublic final static StringKey$emptyDatepublic intemptyDateOffsetpublic final static StringKey$emptyDateOffsetpublic final static StringKey$i18nResultpublic Integeri18nResultCompatiblepublic final static StringKey$i18nResultCompatible
-
Constructor Summary
Constructors Constructor Description SlardarJacksonProp()
-
Method Summary
Modifier and Type Method Description LocalDategetEmptyDate()`empty` date is not output, empty means ignore this. voidsetEmptyDate(LocalDate emptyDate)`empty` date is not output, empty means ignore this. intgetEmptyDateOffset()considering the time zone offset, and the system time difference within plus or minus 12 hours, it is treated as `empty`. voidsetEmptyDateOffset(int emptyDateOffset)considering the time zone offset, and the system time difference within plus or minus 12 hours, it is treated as `empty`. IntegergetI18nResultCompatible()whether to set 1st error to message in R. * 0, null - disable * 1 - only message * 2 - message, i18nCode and i18nArgsvoidsetI18nResultCompatible(Integer i18nResultCompatible)whether to set 1st error to message in R. * 0, null - disable * 1 - only message * 2 - message, i18nCode and i18nArgsbooleanisI18nResult()whether to handle message of I18nResult booleanequals(@Nullable() Object o)inthashCode()StringtoString()voidsetI18nResult(boolean i18nResult)whether to handle message of I18nResult -
-
Method Detail
-
getEmptyDate
LocalDate getEmptyDate()
`empty` date is not output, empty means ignore this. support LocalDate, LocalDateTime, ZonedDateTime, OffsetDateTime, util.Date
-
setEmptyDate
void setEmptyDate(LocalDate emptyDate)
`empty` date is not output, empty means ignore this. support LocalDate, LocalDateTime, ZonedDateTime, OffsetDateTime, util.Date
-
getEmptyDateOffset
int getEmptyDateOffset()
considering the time zone offset, and the system time difference within plus or minus 12 hours, it is treated as `empty`.
-
setEmptyDateOffset
void setEmptyDateOffset(int emptyDateOffset)
considering the time zone offset, and the system time difference within plus or minus 12 hours, it is treated as `empty`.
-
getI18nResultCompatible
Integer getI18nResultCompatible()
whether to set 1st error to message in R. * 0, null - disable * 1 - only message * 2 - message, i18nCode and i18nArgs
-
setI18nResultCompatible
void setI18nResultCompatible(Integer i18nResultCompatible)
whether to set 1st error to message in R. * 0, null - disable * 1 - only message * 2 - message, i18nCode and i18nArgs
-
isI18nResult
boolean isI18nResult()
whether to handle message of I18nResult
-
hashCode
int hashCode()
-
setI18nResult
void setI18nResult(boolean i18nResult)
whether to handle message of I18nResult
-
-
-
-