| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Constants |
|
| 0.0;0 |
| 1 | package nl.beesting.beangenerator; | |
| 2 | ||
| 3 | /** | |
| 4 | * @author gerard | |
| 5 | * | |
| 6 | * Class that contains constants for the bean generator. | |
| 7 | */ | |
| 8 | 0 | public class Constants { |
| 9 | /** Sloppy mode <code>true / false</code>. Are we sloppy? Or does any recoverable error result into an exception? */ | |
| 10 | public final static boolean SLOPPY_MODE = true; | |
| 11 | ||
| 12 | /** Location for the instance generator file. */ | |
| 13 | final static String XML_IG_REGISTRATION_FILE = "d:/development/finalist/BeanGenerator/conf/instance_generation_registrations.xml"; | |
| 14 | ||
| 15 | /** Location for the composite element type file. */ | |
| 16 | final static String XML_ELEMENT_CLASS_FILE = "d:/development/finalist/BeanGenerator/conf/composite_element_types.xml"; | |
| 17 | ||
| 18 | /** | |
| 19 | * Are we in debug mode: note that this constant is obsolete the moment log4j is introduced. | |
| 20 | */ | |
| 21 | public final static boolean DEBUG = true; | |
| 22 | ||
| 23 | /** The default number of elements in a generated collection */ | |
| 24 | public final static long DEFAULT_COLLECTION_SIZE = 50; | |
| 25 | ||
| 26 | /** The default number of elements in a generated maps */ | |
| 27 | public final static long DEFAULT_MAP_SIZE = 30; | |
| 28 | ||
| 29 | /** The default number of elements in a generated arrays */ | |
| 30 | public final static int DEFAULT_ARRAY_SIZE = 30; | |
| 31 | } | |
| 32 | /* | |
| 33 | * | |
| 34 | * $Log: Constants.java,v $ Revision 1.2 2004/10/28 10:06:40 gerard added cvs log information tag | |
| 35 | * | |
| 36 | */ |