Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * Strategy to specify the table name for a CFC and column name for a property in the cfc.
 * This can be used to specify the application specific table and column naming convention.
 * This rule will be applied even if the user has specified the table/column name in the mapping so that
 * the name can be changed for any application at one place without changing the names in all the code. 
 */
interface
{
    /**
     * 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. 
     */
    public string function getTableName(string tableName);
    
    /**
     * 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 proeprty name.  
     */
    public string function getColumnName(string columnName);
    
}