railo.runtime.orm.naming
Class CFCNamingStrategy

java.lang.Object
  extended by railo.runtime.orm.naming.CFCNamingStrategy
All Implemented Interfaces:
NamingStrategy

public class CFCNamingStrategy
extends Object
implements NamingStrategy


Constructor Summary
CFCNamingStrategy(String cfcName)
           
 
Method Summary
 String convertColumnName(String columnName)
          Defines the column name to be used for a specified column name.
 String convertTableName(String tableName)
          Defines the table name to be used for a specified table name.
 String getType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CFCNamingStrategy

public CFCNamingStrategy(String cfcName)
                  throws PageException
Throws:
PageException
Method Detail

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:
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:
NamingStrategy.convertColumnName(java.lang.String)

getType

public String getType()
Specified by:
getType in interface NamingStrategy
See Also:
NamingStrategy.getType()


Copyright © 2012 Railo