Package io.atlasmap.java.core
Class JavaFieldWriterUtil
java.lang.Object
io.atlasmap.java.core.JavaFieldWriterUtil
-
Constructor Summary
ConstructorDescriptionJavaFieldWriterUtil
(AtlasConversionService conversionService) JavaFieldWriterUtil
(ClassLoader classLoader, AtlasConversionService conversionService) -
Method Summary
Modifier and TypeMethodDescriptionadjustCollectionSize
(Object collectionObject, AtlasPath.SegmentContext segmentContext) createComplexChildObject
(Object parentObject, AtlasPath.SegmentContext segmentContext) createComplexChildObject
(Object parentObject, AtlasPath.SegmentContext segmentContext, Class<?> clazz) createComplexCollectionItem
(Object collectionObject, Class<?> itemType, AtlasPath.SegmentContext segmentContext) createComplexCollectionItem
(Object parentObject, Object collectionObject, AtlasPath.SegmentContext segmentContext) getChildObject
(Object parentObject, AtlasPath.SegmentContext segment) getCollectionItem
(Object collectionObject, AtlasPath.SegmentContext segmentContext) Class<?>
instantiateObject
(Class<?> clz) Class<?>
Class<?>
resolveChildClass
(Object parentObject, AtlasPath.SegmentContext segment) Class<?>
resolveCollectionItemClass
(Object parentObject, AtlasPath.SegmentContext segmentContext) void
setChildObject
(Object parentObject, Object childObject, AtlasPath.SegmentContext segmentContext) void
setCollectionItem
(Object collectionObject, Object item, AtlasPath.SegmentContext segmentContext)
-
Constructor Details
-
JavaFieldWriterUtil
-
JavaFieldWriterUtil
-
-
Method Details
-
instantiateObject
- Throws:
AtlasException
-
loadClass
- Throws:
AtlasException
-
getDefaultCollectionImplClass
-
getChildObject
public Object getChildObject(Object parentObject, AtlasPath.SegmentContext segment) throws AtlasException - Throws:
AtlasException
-
createComplexChildObject
public Object createComplexChildObject(Object parentObject, AtlasPath.SegmentContext segmentContext, Class<?> clazz) throws AtlasException - Throws:
AtlasException
-
createComplexChildObject
public Object createComplexChildObject(Object parentObject, AtlasPath.SegmentContext segmentContext) throws AtlasException - Throws:
AtlasException
-
setChildObject
public void setChildObject(Object parentObject, Object childObject, AtlasPath.SegmentContext segmentContext) throws AtlasException - Throws:
AtlasException
-
resolveChildClass
public Class<?> resolveChildClass(Object parentObject, AtlasPath.SegmentContext segment) throws AtlasException - Throws:
AtlasException
-
getCollectionItem
public Object getCollectionItem(Object collectionObject, AtlasPath.SegmentContext segmentContext) throws AtlasException - Throws:
AtlasException
-
adjustCollectionSize
public Object adjustCollectionSize(Object collectionObject, AtlasPath.SegmentContext segmentContext) throws AtlasException - Throws:
AtlasException
-
createComplexCollectionItem
public Object createComplexCollectionItem(Object collectionObject, Class<?> itemType, AtlasPath.SegmentContext segmentContext) throws AtlasException - Throws:
AtlasException
-
createComplexCollectionItem
public Object createComplexCollectionItem(Object parentObject, Object collectionObject, AtlasPath.SegmentContext segmentContext) throws AtlasException - Throws:
AtlasException
-
resolveCollectionItemClass
public Class<?> resolveCollectionItemClass(Object parentObject, AtlasPath.SegmentContext segmentContext) throws AtlasException - Throws:
AtlasException
-
setCollectionItem
public void setCollectionItem(Object collectionObject, Object item, AtlasPath.SegmentContext segmentContext) throws AtlasException - Throws:
AtlasException
-
getDefaultCollectionImplClasses
-