public class PercentageDecimalFieldDescription extends Object implements FieldDescription<BigDecimal>
| Modifier and Type | Field and Description |
|---|---|
static FieldDescription<?> |
INSTANCE |
| Constructor and Description |
|---|
PercentageDecimalFieldDescription(boolean pre,
String symbol,
FieldDescription<BigDecimal> numberDescription) |
| Modifier and Type | Method and Description |
|---|---|
DataType |
getDataType() |
Class<BigDecimal> |
getJavaType() |
void |
render(Appendable out)
Render the field description
|
FieldProcessor<BigDecimal> |
toFieldProcessor(String nullValue) |
String |
toString() |
public static final FieldDescription<?> INSTANCE
public PercentageDecimalFieldDescription(boolean pre,
String symbol,
FieldDescription<BigDecimal> numberDescription)
public void render(Appendable out) throws IOException
FieldDescriptionrender in interface FieldDescription<BigDecimal>out - the outputIOException - if an I/O error occurspublic FieldProcessor<BigDecimal> toFieldProcessor(String nullValue)
toFieldProcessor in interface FieldDescription<BigDecimal>public Class<BigDecimal> getJavaType()
getJavaType in interface FieldDescription<BigDecimal>public DataType getDataType()
getDataType in interface FieldDescription<BigDecimal>Copyright © 2020–2021. All rights reserved.