| |
|
| java.lang.Object org.andromda.schema2xmi.SqlToModelNameFormatter
SqlToModelNameFormatter | public class SqlToModelNameFormatter (Code) | | Provides formatting functions, when converting SQL names to model names.
author: Chad Brandon |
Method Summary | |
public static String | toAttributeName(String name) Converts a column name to an attribute name. | public static String | toCamelCase(String name) Turns a table name into a model element class name.
Parameters: name - the table name. | public static String | toClassName(String name) Converts a table name to an class name.
Parameters: name - the name of the table. |
toAttributeName | public static String toAttributeName(String name)(Code) | | Converts a column name to an attribute name.
Parameters: name - the name of the column the new attribute name. |
toCamelCase | public static String toCamelCase(String name)(Code) | | Turns a table name into a model element class name.
Parameters: name - the table name. the new class name. |
toClassName | public static String toClassName(String name)(Code) | | Converts a table name to an class name.
Parameters: name - the name of the table. the new class name. |
|
|
|