Class JavaFieldWriterUtil


  • public class JavaFieldWriterUtil
    extends Object
    • 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
      • getDefaultCollectionImplClasses

        public Map<Class<?>,​Class<?>> getDefaultCollectionImplClasses()