src/org/objectweb/cjdbc/common/sql/schema/TableColumn.java

説明を見る。
00001 00025 package org.objectweb.cjdbc.common.sql.schema; 00026 00035 public class TableColumn 00036 { 00038 private String tableName; 00039 00041 private String columnName; 00042 00049 public TableColumn(String tableName, String columnName) 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 } 00060 00066 public String getColumnName() 00067 { 00068 return columnName; 00069 } 00070 00076 public String getTableName() 00077 { 00078 return tableName; 00079 } 00080 00086 public void setColumnName(String columnName) 00087 { 00088 this.columnName = columnName; 00089 } 00090 00096 public void setTableName(String tableName) 00097 { 00098 this.tableName = tableName; 00099 } 00100 00108 public boolean equals(Object other) 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 } 00117 }

CJDBCversion1.0.4に対してTue Oct 12 15:15:57 2004に生成されました。 doxygen 1.3.8