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 IValueMetaConverter
public int getPrecision()
public void setPrecision(int precision)
public Object convertFromSourceToTargetDataType(int sourceValueMetaType, int targetValueMetaType, Object value) throws ValueMetaConversionException
convertFromSourceToTargetDataType
in interface IValueMetaConverter
sourceValueMetaType
- The source ValueMeta Type defined in the ValueMetaInterfacetargetValueMetaType
- The target ValueMeta Type defined in the ValueMetaInterfacevalue
- the source value to be convertedValueMetaConversionException
protected Object convertFromStringMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionException
protected Object convertFromDateMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionException
protected Object convertFromNumberMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionException
protected Object convertFromBooleanMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionException
protected Object convertFromIntegerMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionException
protected Object convertFromBigNumberMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionException
protected Object convertFromTimestampMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionException
protected Object convertFromInetMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionException
protected Object convertFromBinaryMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionException
protected Object convertFromSerializableMetaInterface(int targetValueMetaType, Object value) throws ValueMetaConversionException
ValueMetaConversionException
Copyright © 2018 Hitachi Vantara. All rights reserved.