Class BeanInjector
java.lang.Object
org.pentaho.di.core.injection.bean.BeanInjector
Engine for get/set metadata injection properties from bean.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(Object root, String propName) getPropVal
(Object root, String propName) Retrieves the raw prop value from root object.boolean
hasProperty
(Object root, String propName) void
runPostInjectionProcessing
(Object object) void
setProperty
(Object root, String propName, List<org.pentaho.di.core.RowMetaAndData> data, String dataN)
-
Constructor Details
-
BeanInjector
-
-
Method Details
-
getObject
- Throws:
Exception
-
getPropVal
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. -
getProperty
- Throws:
Exception
-
hasProperty
-
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
-