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() |
public Object generateObject(Class<?> clazz, List<Object> input, List<Class<?>> inputClasses, List<TreeNode> genericSubTypes) 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 parametersgenericSubTypes - if clazz has generic parameters here they should be enteredException - if illegal calls to object constructors.Copyright © 2013. All Rights Reserved.