@Retention(RUNTIME)
@Inherited
@Target({FIELD,METHOD,ANNOTATION_TYPE})
public @interface BooleanString
trueStrings()
, then the field will receive true.
If a parsed value exists in falseStrings()
then the field will receive false.
A BooleanConversion
will be assigned to this field
Commonly used for java beans processed using BeanProcessor
and/or BeanWriterProcessor
Conversion
,
Conversions
,
BeanProcessor
,
BeanWriterProcessor
Modifier and Type | Required Element | Description |
---|---|---|
java.lang.String[] |
falseStrings |
A set of Strings that represent the boolean value
false (e.g. |
java.lang.String[] |
trueStrings |
A set of Strings that represent the boolean value
true (e.g. |