Class BeanInjector


  • public class BeanInjector
    extends Object
    Engine for get/set metadata injection properties from bean.
    • Method Detail

      • getPropVal

        public Object getPropVal​(Object root,
                                 String propName)
        Retrieves the raw prop value from root object.

        The similar getProperty(Object, String) method (also in this class )should be revisited and possibly eliminated. That version attempts to retrieve indexed prop vals from lists/arrays, but doesn't provide a way to retrieve the list or array objects themselves.

      • hasProperty

        public boolean hasProperty​(Object root,
                                   String propName)
      • setProperty

        public void setProperty​(Object root,
                                String propName,
                                List<org.pentaho.di.core.RowMetaAndData> data,
                                String dataN)
                         throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • runPostInjectionProcessing

        public void runPostInjectionProcessing​(Object object)