Package io.atlasmap.java.core
Class TargetValueConverter
- java.lang.Object
-
- io.atlasmap.java.core.TargetValueConverter
-
public class TargetValueConverter extends Object
TODO consolidate with JavaFieldWriterUtil - https://github.com/atlasmap/atlasmap/issues/730 .
-
-
Constructor Summary
Constructors Constructor Description TargetValueConverter(ClassLoader loader, io.atlasmap.spi.AtlasConversionService conversionService, JavaFieldWriterUtil writerUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconvertTargetValue(io.atlasmap.spi.AtlasInternalSession session, Object parentObject, io.atlasmap.v2.Field targetField)voidpopulateTargetField(io.atlasmap.spi.AtlasInternalSession session, io.atlasmap.v2.LookupTable lookupTable, io.atlasmap.v2.Field sourceField, Object parentObject, io.atlasmap.v2.Field targetField)voidsetClassLoader(ClassLoader loader)
-
-
-
Constructor Detail
-
TargetValueConverter
public TargetValueConverter(ClassLoader loader, io.atlasmap.spi.AtlasConversionService conversionService, JavaFieldWriterUtil writerUtil)
-
-
Method Detail
-
populateTargetField
public void populateTargetField(io.atlasmap.spi.AtlasInternalSession session, io.atlasmap.v2.LookupTable lookupTable, io.atlasmap.v2.Field sourceField, Object parentObject, io.atlasmap.v2.Field targetField) throws io.atlasmap.api.AtlasException- Throws:
io.atlasmap.api.AtlasException
-
convertTargetValue
public void convertTargetValue(io.atlasmap.spi.AtlasInternalSession session, Object parentObject, io.atlasmap.v2.Field targetField) throws io.atlasmap.api.AtlasException- Throws:
io.atlasmap.api.AtlasException
-
setClassLoader
public void setClassLoader(ClassLoader loader)
-
-