public class BeanInjector extends Object
Constructor and Description |
---|
BeanInjector(BeanInjectionInfo info) |
Modifier and Type | Method and Description |
---|---|
Object |
getObject(Object root,
String propName) |
Object |
getProperty(Object root,
String propName) |
Object |
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<RowMetaAndData> data,
String dataN) |
public BeanInjector(BeanInjectionInfo info)
public Object getPropVal(Object root, String propName)
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.
public Object getProperty(Object root, String propName) throws Exception
Exception
public void setProperty(Object root, String propName, List<RowMetaAndData> data, String dataN) throws KettleException
KettleException
public void runPostInjectionProcessing(Object object)
Copyright © 2018 Hitachi Vantara. All rights reserved.