org.apache.tuscany.das.rdb.graphbuilder.impl
Class DefaultConverter
java.lang.Object
org.apache.tuscany.das.rdb.graphbuilder.impl.DefaultConverter
- All Implemented Interfaces:
- Converter
public class DefaultConverter
- extends Object
- implements Converter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConverter
public DefaultConverter()
getColumnValue
public Object getColumnValue(Object data)
- Description copied from interface:
Converter
- Transform the columnData object to a new value and possibly new type.
This should be the invers operation of #getPropertyValue
- Specified by:
getColumnValue
in interface Converter
- Parameters:
data
- The property value to transform
- Returns:
- Returns the transformed value
getPropertyValue
public Object getPropertyValue(Object data)
- Description copied from interface:
Converter
- Transform the columnData object to a new value and possibly new type.
This should be the invers operation of #getColumnValue
- Specified by:
getPropertyValue
in interface Converter
- Parameters:
data
- The column value to transorm
- Returns:
- Returns the transformed value
-