Package org.apache.openjpa.kernel
Interface FillStrategy<T>
- All Known Implementing Classes:
FillStrategy.Array,FillStrategy.Assign,FillStrategy.Bean,FillStrategy.Factory,FillStrategy.Map,FillStrategy.NewInstance
public interface FillStrategy<T>
A strategy to fill data into a
Available strategy implementations can fill by invoking constructor, setting array elements, direct assignment, invoking put(key,value)-style method on Map or factory-constructed instance.
ResultShape.
Available strategy implementations can fill by invoking constructor, setting array elements, direct assignment, invoking put(key,value)-style method on Map or factory-constructed instance.
- Since:
- 2.0.0
- Author:
- Pinaki Poddar
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFills an array of given type.static classPopulate an instance by simply assigning the 0-th element of the input values.static classCreate and populate a bean by invoking setter methods identified by alias name with each array element value as argument.static classPopulate an instance created by given factory using a given put(key,value) method.static classConstruct and populate an instance by invoking the put method with each alias as key and element of the given array of values.static classConstruct and populate an instance by the given constructor and arguments. -
Field Summary
Fields -
Method Summary
-
Field Details
-
_loc
-
-
Method Details
-
fill
-