Package io.atlasmap.java.core
Class JavaFieldWriterUtil
- java.lang.Object
-
- io.atlasmap.java.core.JavaFieldWriterUtil
-
public class JavaFieldWriterUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description JavaFieldWriterUtil(io.atlasmap.spi.AtlasConversionService conversionService)JavaFieldWriterUtil(ClassLoader classLoader, io.atlasmap.spi.AtlasConversionService conversionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectadjustCollectionSize(Object collectionObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext)ObjectcreateComplexChildObject(Object parentObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext)ObjectcreateComplexChildObject(Object parentObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext, Class<?> clazz)ObjectcreateComplexCollectionItem(Object collectionObject, Class<?> itemType, io.atlasmap.core.AtlasPath.SegmentContext segmentContext)ObjectcreateComplexCollectionItem(Object parentObject, Object collectionObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext)ObjectgetChildObject(Object parentObject, io.atlasmap.core.AtlasPath.SegmentContext segment)ObjectgetCollectionItem(Object collectionObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext)Class<?>getDefaultCollectionImplClass(io.atlasmap.v2.CollectionType type)Map<Class<?>,Class<?>>getDefaultCollectionImplClasses()ObjectinstantiateObject(Class<?> clz)Class<?>loadClass(String name)Class<?>resolveChildClass(Object parentObject, io.atlasmap.core.AtlasPath.SegmentContext segment)Class<?>resolveCollectionItemClass(Object parentObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext)voidsetChildObject(Object parentObject, Object childObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext)voidsetCollectionItem(Object collectionObject, Object item, io.atlasmap.core.AtlasPath.SegmentContext segmentContext)
-
-
-
Constructor Detail
-
JavaFieldWriterUtil
public JavaFieldWriterUtil(io.atlasmap.spi.AtlasConversionService conversionService)
-
JavaFieldWriterUtil
public JavaFieldWriterUtil(ClassLoader classLoader, io.atlasmap.spi.AtlasConversionService conversionService)
-
-
Method Detail
-
instantiateObject
public Object instantiateObject(Class<?> clz) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
loadClass
public Class<?> loadClass(String name) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
getDefaultCollectionImplClass
public Class<?> getDefaultCollectionImplClass(io.atlasmap.v2.CollectionType type)
-
getChildObject
public Object getChildObject(Object parentObject, io.atlasmap.core.AtlasPath.SegmentContext segment) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
createComplexChildObject
public Object createComplexChildObject(Object parentObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext, Class<?> clazz) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
createComplexChildObject
public Object createComplexChildObject(Object parentObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
setChildObject
public void setChildObject(Object parentObject, Object childObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
resolveChildClass
public Class<?> resolveChildClass(Object parentObject, io.atlasmap.core.AtlasPath.SegmentContext segment) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
getCollectionItem
public Object getCollectionItem(Object collectionObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
adjustCollectionSize
public Object adjustCollectionSize(Object collectionObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
createComplexCollectionItem
public Object createComplexCollectionItem(Object collectionObject, Class<?> itemType, io.atlasmap.core.AtlasPath.SegmentContext segmentContext) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
createComplexCollectionItem
public Object createComplexCollectionItem(Object parentObject, Object collectionObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
resolveCollectionItemClass
public Class<?> resolveCollectionItemClass(Object parentObject, io.atlasmap.core.AtlasPath.SegmentContext segmentContext) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
setCollectionItem
public void setCollectionItem(Object collectionObject, Object item, io.atlasmap.core.AtlasPath.SegmentContext segmentContext) throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
-