public abstract class BooleanFormatEntity extends Object
| Constructor and Description |
|---|
BooleanFormatEntity() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
displayValue(String booleanValue)
Returns the
booleanValue to display in the exported file. |
abstract String |
format()
Returns the string value of this
BooleanFormatEntity. |
static BooleanFormatEntity |
parse(String value)
Specifies the
BooleanFormatEntity instance that corresponds to a specific value. |
public static BooleanFormatEntity parse(String value)
BooleanFormatEntity instance that corresponds to a specific value.value - specifies the value of BooleanFormatEntity. It can be a value from the LiteralBooleanFormat or NativeBooleanFormat sub class.public abstract String displayValue(String booleanValue)
booleanValue to display in the exported file.booleanValue - specifies the boolean value ('TRUE' or 'FALSE'). If booleanValue is 'TRUE' or 'FALSE', the method returns corresponding value to display ('T','Y') or ('F', 'N'). Otherwise, it returns the input booleanValue.public abstract String format()
BooleanFormatEntity.