| java.lang.Object com.completex.objective.tools.generators.PersistentObjectGenerator
PersistentObjectGenerator | public class PersistentObjectGenerator implements MetaModelsExtractor(Code) | | Args[0]: persistent-object-config.properties
Args[1]: env.properties
author: Gennady Krizhevsky |
Method Summary | |
static String | classOrInterfaceName(String coreName, LineStruct intfStruct) | static String | classOrInterfaceName(MetaTable table, LineStruct intfStruct) | static String | classOrInterfaceName(MetaTable table, boolean mainPattern, LineStruct intfStruct) | static String | classOrInterfaceName(String coreName, boolean mainPattern, LineStruct intfStruct) | protected static PropertyMap | env(String envPath) | public ExtractStruct | extractMetaModels(String propertiesPath) | public ExtractStruct | extractMetaModels(String propertiesPath, Properties env) | public Map | extractProperties(String propertiesPath) | public static Map | extractProperties(String propertiesPath, SdlReader sdlReader) | public static Map | extractProperties(String propertiesPath, SdlReader sdlReader, Properties env) | protected void | generateClasses(MetaModel model, LineStructBlock block) | public Log | getLogger() | public static String | getOrIs(MetaColumn column) | public static Map | getType2JavaMap() | static boolean | isClassMainPattern(MetaTable table) | static boolean | isClassMainPattern(String name) | static boolean | isMixedCase(String name) | public static String | javaConstName(String prefix, String name) | public static String | javaName(String name, String prefix, String suffix, boolean calitalizeFirstChar) | public String | javaType(ColumnType type) | public static String | lowerFirstChar(String name) | public static void | main(String[] args) | public Map | prepareClassTableTemplateMap(MetaTable table, LineStruct classStruct, LineStruct intfStruct) | public Map | prepareInterfaceTableMap(MetaTable table, LineStruct intfStruct) | protected static void | printGeneratedClassFileInfo(String classFileName) | protected static void | printGeneratedClassFileInfo(String classFileName, String outputDir) | protected static void | printGeneratedIn(String outputDir) | protected static void | println(String s) | public void | process(String propertiesPath, String envPath) | public void | process(Map properties) | public void | process(Map properties, Properties env) | public void | process(MetaModel model, LineStructBlock block) | protected void | registerExtraTypes() | protected void | registerType(ColumnType type) | public void | setLogger(Log logger) | public MetaModel | setup(String inFilePath, String exFilePath, String filterPattern) | protected void | unregisterType(ColumnType type) | protected void | verifyModels(MetaModel[] metaModels, ExtractStruct extractStruct) |
EXTERNAL_DESC_PATH | final public static String EXTERNAL_DESC_PATH(Code) | | |
FILTER_PATTERN | final public static String FILTER_PATTERN(Code) | | |
GENERATE_INTERFACES | final public static String GENERATE_INTERFACES(Code) | | |
GENERATE_LIFE_CYCLE_CTL | final public static String GENERATE_LIFE_CYCLE_CTL(Code) | | |
INTERNAL_DESC_PATH | final public static String INTERNAL_DESC_PATH(Code) | | |
JDBC_TYPE_PREFIX | final public static String JDBC_TYPE_PREFIX(Code) | | |
LIFE_CYCLE_CTL | final public static String LIFE_CYCLE_CTL(Code) | | |
TAG_CLASS_NAME | final public static String TAG_CLASS_NAME(Code) | | |
TAG_GENERATE_TO_STRING | final public static String TAG_GENERATE_TO_STRING(Code) | | |
TAG_INTERFACES | final public static String TAG_INTERFACES(Code) | | |
TAG_INTERFACE_NAME | final public static String TAG_INTERFACE_NAME(Code) | | |
TAG_META_ASSEMBLY_CLASS_PREFIX | final public static String TAG_META_ASSEMBLY_CLASS_PREFIX(Code) | | |
TAG_META_ASSEMBLY_CLASS_SUFFIX | final public static String TAG_META_ASSEMBLY_CLASS_SUFFIX(Code) | | |
TAG_META_ASSEMBLY_TEMPLATE_PATH | final public static String TAG_META_ASSEMBLY_TEMPLATE_PATH(Code) | | |
debug | protected boolean debug(Code) | | |
PersistentObjectGenerator | public PersistentObjectGenerator()(Code) | | |
classOrInterfaceName | static String classOrInterfaceName(String coreName, LineStruct intfStruct)(Code) | | |
classOrInterfaceName | static String classOrInterfaceName(MetaTable table, boolean mainPattern, LineStruct intfStruct)(Code) | | |
classOrInterfaceName | static String classOrInterfaceName(String coreName, boolean mainPattern, LineStruct intfStruct)(Code) | | |
getType2JavaMap | public static Map getType2JavaMap()(Code) | | |
isClassMainPattern | static boolean isClassMainPattern(String name)(Code) | | |
prepareClassTableTemplateMap | public Map prepareClassTableTemplateMap(MetaTable table, LineStruct classStruct, LineStruct intfStruct)(Code) | | |
prepareInterfaceTableMap | public Map prepareInterfaceTableMap(MetaTable table, LineStruct intfStruct)(Code) | | |
printGeneratedClassFileInfo | protected static void printGeneratedClassFileInfo(String classFileName)(Code) | | |
printGeneratedClassFileInfo | protected static void printGeneratedClassFileInfo(String classFileName, String outputDir)(Code) | | |
printGeneratedIn | protected static void printGeneratedIn(String outputDir)(Code) | | |
registerExtraTypes | protected void registerExtraTypes()(Code) | | |
setLogger | public void setLogger(Log logger)(Code) | | |
verifyModels | protected void verifyModels(MetaModel[] metaModels, ExtractStruct extractStruct)(Code) | | |
|
|