Class StringDate_OEM
- java.lang.Object
-
- com.basiscomponents.db.fieldconverter.StringDate_OEM
-
- All Implemented Interfaces:
IConversionRule
,Serializable
public class StringDate_OEM extends Object implements IConversionRule, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringDate_OEM(String dateType, int storedLen)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataField
deserialize(DataField field, DataRow dr)
Convert from internal (source) type value to external (target) type value "going up"int
getSourceFieldType()
int
getTargetFieldType()
DataField
serialize(DataField field, DataRow dr)
Convert from external (target) type value to internal (source) type value "going down"
-
-
-
Constructor Detail
-
StringDate_OEM
public StringDate_OEM(String dateType, int storedLen) throws com.basis.startup.type.dateformat.BBjDateFormatException
- Throws:
com.basis.startup.type.dateformat.BBjDateFormatException
-
-
Method Detail
-
serialize
public DataField serialize(DataField field, DataRow dr)
Convert from external (target) type value to internal (source) type value "going down"- Specified by:
serialize
in interfaceIConversionRule
-
deserialize
public DataField deserialize(DataField field, DataRow dr)
Convert from internal (source) type value to external (target) type value "going up"- Specified by:
deserialize
in interfaceIConversionRule
-
getTargetFieldType
public int getTargetFieldType()
- Specified by:
getTargetFieldType
in interfaceIConversionRule
-
getSourceFieldType
public int getSourceFieldType()
- Specified by:
getSourceFieldType
in interfaceIConversionRule
-
-