Class FillStrategy.Factory<T>

  extended by org.apache.openjpa.kernel.FillStrategy.Factory<T>
All Implemented Interfaces:
Enclosing interface:

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.

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
Constructor Summary
FillStrategy.Factory(ObjectFactory<T> factory, Method put)
Method Summary
 T fill(Object[] values, Class<?>[] types, String[] aliases)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public FillStrategy.Factory(ObjectFactory<T> factory,
                            Method put)
Method Detail


public T fill(Object[] values,
              Class<?>[] types,
              String[] aliases)
Specified by:
fill in interface FillStrategy<T>

Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.