|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.schema2xmi.SqlToModelNameFormatter
Provides formatting functions, when converting SQL names to model names.
| Constructor Summary | |
SqlToModelNameFormatter()
|
|
| Method Summary | |
static String |
toAttributeName(String name)
Converts a column name to an attribute name. |
static String |
toCamelCase(String name)
Turns a table name into a model element class name. |
static String |
toClassName(String name)
Converts a table name to an class name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SqlToModelNameFormatter()
| Method Detail |
public static String toClassName(String name)
name - the name of the table.
public static String toAttributeName(String name)
name - the name of the column
public static String toCamelCase(String name)
name - the table name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||