Package org.apache.openjpa.kernel
Class FillStrategy.Factory<T>
- java.lang.Object
-
- org.apache.openjpa.kernel.FillStrategy.Factory<T>
-
- All Implemented Interfaces:
FillStrategy<T>
- Enclosing interface:
- FillStrategy<T>
public static class FillStrategy.Factory<T> extends java.lang.Object implements FillStrategy<T>
Populate an instance created by given factory using a given put(key,value) method. If the first argument of the given put method is integer then fill the values by index else fill the values with alias key.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.openjpa.kernel.FillStrategy
FillStrategy.Array<T>, FillStrategy.Assign<T>, FillStrategy.Bean<T>, FillStrategy.Factory<T>, FillStrategy.Map<T>, FillStrategy.NewInstance<T>
-
-
Field Summary
-
Fields inherited from interface org.apache.openjpa.kernel.FillStrategy
_loc
-
-
Constructor Summary
Constructors Constructor Description Factory(ObjectFactory<T> factory, java.lang.reflect.Method put)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
fill(java.lang.Object[] values, java.lang.Class<?>[] types, java.lang.String[] aliases)
-
-
-
Constructor Detail
-
Factory
public Factory(ObjectFactory<T> factory, java.lang.reflect.Method put)
-
-
Method Detail
-
fill
public T fill(java.lang.Object[] values, java.lang.Class<?>[] types, java.lang.String[] aliases)
- Specified by:
fill
in interfaceFillStrategy<T>
-
-