org.apache.openjpa.kernel
Class FillStrategy.NewInstance<T>
java.lang.Object
org.apache.openjpa.kernel.FillStrategy.NewInstance<T>
- All Implemented Interfaces:
- FillStrategy<T>
- Enclosing interface:
- FillStrategy<T>
public static class FillStrategy.NewInstance<T>
- extends Object
- implements FillStrategy<T>
Construct and populate an instance by the given constructor and arguments.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FillStrategy.NewInstance
public FillStrategy.NewInstance(Constructor<? extends T> cons)
FillStrategy.NewInstance
public FillStrategy.NewInstance(Class<T> cls)
findConstructor
<X> Constructor<X> findConstructor(Class<X> cls,
Class<?>[] types)
- Finds a constructor of the given class with given argument types.
fill
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.