Class BeanLevelInfo<Meta>
- java.lang.Object
-
- org.apache.hop.core.injection.bean.BeanLevelInfo<Meta>
-
public class BeanLevelInfo<Meta> extends Object
Storage for one transform on the bean deep level.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBeanLevelInfo.DIMENSION
-
Field Summary
Fields Modifier and Type Field Description booleanconvertEmptyFalse if source empty value shouldn't affect on target field.InjectionTypeConverterconverterValues converter.BeanLevelInfo.DIMENSIONdimDimension of level.FieldfieldField of transform, or null if bean has getter/setter.MethodgetterGetter and setter.Class<Meta>leafClassClass for transform from field or methods.StringnameKeyName on the path : prefix + key usually.BeanLevelInfoparentParent transform or null for root.MethodsetterbooleanstoreWithNameTo support inflation from a hop metadata provider by namebooleanstringListFlag for the metadata property system with support for simplified Listfields IStringObjectConverterstringObjectConverterConvert Strings (XML, JSON, ...) to the target object
-
Constructor Summary
Constructors Constructor Description BeanLevelInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<BeanLevelInfo>createCallStack()voidinit(BeanInjectionInfo info)voidinit(BeanInjectionInfo info, Map<String,Type> ownerGenericsInfo)protected voidintrospect(BeanInjectionInfo info, Field[] fields, Method[] methods, Map<String,Type> genericsInfo)Introspect fields and methods of some class.StringtoString()
-
-
-
Field Detail
-
parent
public BeanLevelInfo parent
Parent transform or null for root.
-
field
public Field field
Field of transform, or null if bean has getter/setter.
-
getter
public Method getter
Getter and setter.
-
setter
public Method setter
-
dim
public BeanLevelInfo.DIMENSION dim
Dimension of level.
-
converter
public InjectionTypeConverter converter
Values converter.
-
stringObjectConverter
public IStringObjectConverter stringObjectConverter
Convert Strings (XML, JSON, ...) to the target object
-
convertEmpty
public boolean convertEmpty
False if source empty value shouldn't affect on target field.
-
nameKey
public String nameKey
Name on the path : prefix + key usually.
-
stringList
public boolean stringList
Flag for the metadata property system with support for simplified Listfields
-
storeWithName
public boolean storeWithName
To support inflation from a hop metadata provider by name
-
-
Method Detail
-
init
public void init(BeanInjectionInfo info)
-
init
public void init(BeanInjectionInfo info, Map<String,Type> ownerGenericsInfo)
-
introspect
protected void introspect(BeanInjectionInfo info, Field[] fields, Method[] methods, Map<String,Type> genericsInfo)
Introspect fields and methods of some class.
-
createCallStack
protected List<BeanLevelInfo> createCallStack()
-
-