public class PrimitiveGenerator extends Object implements Generator
Boolean, Integer,
BigInteger, Float, Double, BigDecimal, Long, Short, Character, String,
Date, Date, Calendar, Timestamp, Byte| Constructor and Description |
|---|
PrimitiveGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
generateJavaDefaultClass(Class<?> type) |
Object |
generateObject(Class<?> clazz,
List<Object> input,
List<Class<?>> inputClasses) |
public Object generateObject(Class<?> clazz, List<Object> input, List<Class<?>> inputClasses) throws Exception
generateObject in interface Generatorclazz - The class of the object to generateinput - the parameters to give to the constructorinputClasses - the types of the constructor parametersException - if illegal calls to object constructors.Copyright © 2013. All Rights Reserved.