001 package railo.runtime.orm.naming; 002 003 public interface NamingStrategy { 004 005 /** 006 * Defines the table name to be used for a specified table name. The specified table name is either 007 * the table name specified in the mapping or chosen using the entity name. 008 */ 009 public String convertTableName(String tableName); 010 011 /** 012 * Defines the column name to be used for a specified column name. The specified column name is either 013 * the column name specified in the mapping or chosen using the property name. 014 */ 015 public String convertColumnName(String columnName); 016 017 018 public String getType(); 019 020 }