Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi.databinding
Interface TransformationContext


public interface TransformationContext

Context for data transformation


Method Summary
 ClassLoader getClassLoader()
          Get the classloader
 Map<Class<?>,Object> getMetadata()
          Get a map of metadata
 DataType getSourceDataType()
          Get the source data type
 DataType getTargetDataType()
          Get the target data type
 void setSourceDataType(DataType sourceDataType)
          Set the source data type
 void setTargetDataType(DataType targetDataType)
          Set the target data type
 

Method Detail

getSourceDataType

DataType getSourceDataType()
Get the source data type

Returns:

getTargetDataType

DataType getTargetDataType()
Get the target data type

Returns:

setSourceDataType

void setSourceDataType(DataType sourceDataType)
Set the source data type

Parameters:
sourceDataType -

setTargetDataType

void setTargetDataType(DataType targetDataType)
Set the target data type

Parameters:
targetDataType -

getClassLoader

ClassLoader getClassLoader()
Get the classloader

Returns:

getMetadata

Map<Class<?>,Object> getMetadata()
Get a map of metadata

Returns:

Apache Tuscany SCA Kernel Sub-Project

-