Annotation Type BooleanString
-
@Retention(RUNTIME) @Inherited @Target({FIELD,METHOD,ANNOTATION_TYPE}) public @interface BooleanString
Indicates that parsed values such as "y", "No" or "null" should be interpreted as boolean values. If a parsed value exists intrueStrings()
, then the field will receive true. If a parsed value exists infalseStrings()
then the field will receive false.A
BooleanConversion
will be assigned to this fieldCommonly used for java beans processed using
BeanProcessor
and/orBeanWriterProcessor
- See Also:
Conversion
,Conversions
,BeanProcessor
,BeanWriterProcessor
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String[]
falseStrings
A set of Strings that represent the boolean valuefalse
(e.g.java.lang.String[]
trueStrings
A set of Strings that represent the boolean valuetrue
(e.g.
-