public class SqlToModelNameFormatter extends Object
Constructor and Description |
---|
SqlToModelNameFormatter() |
Modifier and Type | Method and Description |
---|---|
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.
|
public SqlToModelNameFormatter()
public static String toClassName(String name)
name
- the name of the table.public static String toAttributeName(String name)
name
- the name of the columnpublic static String toCamelCase(String name)
name
- the table name.Copyright © 2003–2014 AndroMDA.org. All rights reserved.