|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Inherited @Target(value=FIELD) public @interface BooleanString
Indicates that parsed values such as "y", "No" or "null" should be interpreted as boolean values.
If a parsed value exists in 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
Required Element Summary | |
---|---|
String[] |
falseStrings
A set of Strings that represent the boolean value false (e.g. |
String[] |
trueStrings
A set of Strings that represent the boolean value true (e.g. |
Element Detail |
---|
public abstract String[] trueStrings
public abstract String[] falseStrings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |