Public Member Functions | |
TableColumn (String tableName, String columnName) | |
String | getColumnName () |
String | getTableName () |
void | setColumnName (String columnName) |
void | setTableName (String tableName) |
boolean | equals (Object other) |
TableColumn
is used to carry parsing information and contains a database table name and one of its column.
Definition at line 35 of file TableColumn.java.
|
Creates a new
Definition at line 49 of file TableColumn.java. 00050 { 00051 if (tableName == null) 00052 throw new IllegalArgumentException("Illegal null table name in TableColumn constructor"); 00053 00054 if (columnName == null) 00055 throw new IllegalArgumentException("Illegal null column name in TableColumn constructor"); 00056 00057 this.tableName = tableName; 00058 this.columnName = columnName; 00059 }
|
|
Two
Definition at line 108 of file TableColumn.java. References org.objectweb.cjdbc.common.sql.schema.TableColumn.getColumnName(), and org.objectweb.cjdbc.common.sql.schema.TableColumn.getTableName(). 00109 { 00110 if ((other == null) || !(other instanceof TableColumn)) 00111 return false; 00112 00113 TableColumn c = (TableColumn) other; 00114 return columnName.equals(c.getColumnName()) 00115 && tableName.equals(c.getTableName()); 00116 }
|
|
Returns the column name.
Definition at line 66 of file TableColumn.java. Referenced by org.objectweb.cjdbc.common.sql.schema.TableColumn.equals(), org.objectweb.cjdbc.common.sql.CreateRequest.parse(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processAddToCache(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumn.processAddToCache(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processWriteNotify(), and org.objectweb.cjdbc.controller.cache.result.ResultCacheColumn.processWriteNotify(). 00067 {
00068 return columnName;
00069 }
|
|
Returns the table name.
Definition at line 76 of file TableColumn.java. Referenced by org.objectweb.cjdbc.common.sql.schema.TableColumn.equals(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processAddToCache(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumn.processAddToCache(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processWriteNotify(), and org.objectweb.cjdbc.controller.cache.result.ResultCacheColumn.processWriteNotify(). 00077 {
00078 return tableName;
00079 }
|
|
Sets the column name.
Definition at line 86 of file TableColumn.java. 00087 {
00088 this.columnName = columnName;
00089 }
|
|
Sets the table name.
Definition at line 96 of file TableColumn.java. 00097 {
00098 this.tableName = tableName;
00099 }
|