public final class FlrSimpleTypeMapping extends SimpleTypeMapping<String>
Instances of this class are immutable and thread safe.
TypeMapping| Constructor and Description |
|---|
FlrSimpleTypeMapping(Class<?> objectType,
String dataTypeName,
SimpleTypeConverter simpleTypeConverter,
int length,
char padCharacter,
Align align,
boolean crop)
Constructs a new
FlrSimpleTypeMapping from the given arguments. |
| Modifier and Type | Method and Description |
|---|---|
Align |
getAlign()
Returns the alignment.
|
int |
getLength()
Returns the length of the FLR field.
|
char |
getPadCharacter()
Returns the pad character to fill empty space.
|
boolean |
isCrop()
Returns if values longer than the length shall be cropped to defined column width (
getLength()). |
getSimpleTypeConvertergetDataTypeName, getObjectTypepublic FlrSimpleTypeMapping(Class<?> objectType, String dataTypeName, SimpleTypeConverter simpleTypeConverter, int length, char padCharacter, Align align, boolean crop)
FlrSimpleTypeMapping from the given arguments.objectType - the object typedataTypeName - the data type namesimpleTypeConverter - the simple type converterlength - the length of the FLR fieldpadCharacter - the pad character to fill empty spacealign - the alignment of the fieldpublic Align getAlign()
public int getLength()
public char getPadCharacter()
public boolean isCrop()
getLength()).Copyright © 2014. All rights reserved.