|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jsefa.common.mapping.TypeMapping<N>
net.sf.jsefa.common.mapping.SimpleTypeMapping<String>
net.sf.jsefa.flr.mapping.FlrSimpleTypeMapping
public final class FlrSimpleTypeMapping
A mapping between a java object type and a simple FLR data type.
Instances of this class are immutable and thread safe.
TypeMapping| Constructor Summary | |
|---|---|
FlrSimpleTypeMapping(Class<?> objectType,
String dataTypeName,
SimpleTypeConverter simpleTypeConverter,
int length,
char padCharacter,
Align align,
boolean crop)
Constructs a new FlrSimpleTypeMapping from the given arguments. |
|
| Method Summary | |
|---|---|
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()). |
| Methods inherited from class net.sf.jsefa.common.mapping.SimpleTypeMapping |
|---|
getSimpleTypeConverter |
| Methods inherited from class net.sf.jsefa.common.mapping.TypeMapping |
|---|
getDataTypeName, getObjectType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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 field| Method Detail |
|---|
public Align getAlign()
public int getLength()
public char getPadCharacter()
public boolean isCrop()
getLength()).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||