|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.andromda.schema2xmi.SqlToModelNameFormatter
public class SqlToModelNameFormatter
Provides formatting functions, when converting SQL names to model names.
| Constructor Summary | |
|---|---|
SqlToModelNameFormatter()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
toAttributeName(java.lang.String name)
Converts a column name to an attribute name. |
static java.lang.String |
toCamelCase(java.lang.String name)
Turns a table name into a model element class name. |
static java.lang.String |
toClassName(java.lang.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 java.lang.String toClassName(java.lang.String name)
name - the name of the table.
public static java.lang.String toAttributeName(java.lang.String name)
name - the name of the column
public static java.lang.String toCamelCase(java.lang.String name)
name - the table name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||