public class ValueMetaConverter extends Object implements Serializable, IValueMetaConverter
| Constructor and Description |
|---|
ValueMetaConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertFromBigNumberMetaInterface(int targetValueMetaType,
Object value) |
protected Object |
convertFromBinaryMetaInterface(int targetValueMetaType,
Object value) |
protected Object |
convertFromBooleanMetaInterface(int targetValueMetaType,
Object value) |
protected Object |
convertFromDateMetaInterface(int targetValueMetaType,
Object value) |
protected Object |
convertFromInetMetaInterface(int targetValueMetaType,
Object value) |
protected Object |
convertFromIntegerMetaInterface(int targetValueMetaType,
Object value) |
protected Object |
convertFromNumberMetaInterface(int targetValueMetaType,
Object value) |
protected Object |
convertFromSerializableMetaInterface(int targetValueMetaType,
Object value) |
Object |
convertFromSourceToTargetDataType(int sourceValueMetaType,
int targetValueMetaType,
Object value) |
protected Object |
convertFromStringMetaInterface(int targetValueMetaType,
Object value) |
protected Object |
convertFromTimestampMetaInterface(int targetValueMetaType,
Object value) |
SimpleDateFormat |
getDatePattern() |
int |
getPrecision() |
void |
setDatePattern(SimpleDateFormat datePattern) |
void |
setPrecision(int precision) |
public SimpleDateFormat getDatePattern()
public void setDatePattern(SimpleDateFormat datePattern)
setDatePattern in interface IValueMetaConverterpublic int getPrecision()
public void setPrecision(int precision)
public Object convertFromSourceToTargetDataType(int sourceValueMetaType, int targetValueMetaType, Object value) throws ValueMetaConversionException
convertFromSourceToTargetDataType in interface IValueMetaConvertersourceValueMetaType - The source ValueMeta Type defined in the ValueMetaInterfacetargetValueMetaType - The target ValueMeta Type defined in the ValueMetaInterfacevalue - the source value to be convertedValueMetaConversionExceptionprotected Object convertFromStringMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionExceptionprotected Object convertFromDateMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionExceptionprotected Object convertFromNumberMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionExceptionprotected Object convertFromBooleanMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionExceptionprotected Object convertFromIntegerMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionExceptionprotected Object convertFromBigNumberMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionExceptionprotected Object convertFromTimestampMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionExceptionprotected Object convertFromInetMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionExceptionprotected Object convertFromBinaryMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionExceptionprotected Object convertFromSerializableMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionExceptionCopyright © 2019 Hitachi Vantara. All rights reserved.