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 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
final ObjectFactory<T> factory
putMethod
final Method putMethod
isArray
final boolean isArray
FillStrategy.Factory
public FillStrategy.Factory(ObjectFactory<T> factory,
Method put)
fill
public T fill(Object[] values,
Class<?>[] types,
String[] aliases)
- Specified by:
fill
in interface FillStrategy<T>
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.