org.apache.openjpa.kernel
Class FillStrategy.Bean<T>

java.lang.Object
  extended by org.apache.openjpa.kernel.FillStrategy.Bean<T>
All Implemented Interfaces:
FillStrategy<T>
Enclosing interface:
FillStrategy<T>

public static class FillStrategy.Bean<T>
extends Object
implements FillStrategy<T>

Create and populate a bean by invoking setter methods identified by alias name with each array element value as argument.


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
FillStrategy.Bean(Class<T> cls)
           
 
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

FillStrategy.Bean

public FillStrategy.Bean(Class<T> cls)
Method Detail

fill

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


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