railo.runtime.orm.naming
Class DefaultNamingStrategy
java.lang.Object
railo.runtime.orm.naming.DefaultNamingStrategy
- All Implemented Interfaces:
- NamingStrategy
public class DefaultNamingStrategy
- extends Object
- implements NamingStrategy
INSTANCE
public static final NamingStrategy INSTANCE
DefaultNamingStrategy
public DefaultNamingStrategy()
convertTableName
public String convertTableName(String tableName)
- Description copied from interface:
NamingStrategy
- Defines the table name to be used for a specified table name. The specified table name is either
the table name specified in the mapping or chosen using the entity name.
- Specified by:
convertTableName
in interface NamingStrategy
- See Also:
railo.runtime.orm.NamingStrategy#convertTableName(java.lang.String)
convertColumnName
public String convertColumnName(String columnName)
- Description copied from interface:
NamingStrategy
- Defines the column name to be used for a specified column name. The specified column name is either
the column name specified in the mapping or chosen using the property name.
- Specified by:
convertColumnName
in interface NamingStrategy
- See Also:
railo.runtime.orm.NamingStrategy#convertColumnName(java.lang.String)
getType
public String getType()
- Specified by:
getType
in interface NamingStrategy
- See Also:
railo.runtime.orm.NamingStrategy#getType()
Copyright © 2012 Railo