com.mchange.v1.db.sql.schemarep
Class TableRepImpl
java.lang.Object
com.mchange.v1.db.sql.schemarep.TableRepImpl
- All Implemented Interfaces:
- TableRep
public class TableRepImpl
- extends java.lang.Object
- implements TableRep
|
Constructor Summary |
TableRepImpl(java.lang.String tableName,
java.util.List colReps,
java.util.Collection primaryKeyColNames,
java.util.Collection foreignKeyReps,
java.util.Collection uniqConstrReps)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TableRepImpl
public TableRepImpl(java.lang.String tableName,
java.util.List colReps,
java.util.Collection primaryKeyColNames,
java.util.Collection foreignKeyReps,
java.util.Collection uniqConstrReps)
getTableName
public java.lang.String getTableName()
- Specified by:
getTableName in interface TableRep
getColumnNames
public java.util.Iterator getColumnNames()
- Specified by:
getColumnNames in interface TableRep
columnRepForName
public ColumnRep columnRepForName(java.lang.String name)
- Specified by:
columnRepForName in interface TableRep
getPrimaryKeyColumnNames
public java.util.Set getPrimaryKeyColumnNames()
- Specified by:
getPrimaryKeyColumnNames in interface TableRep
getForeignKeyReps
public java.util.Set getForeignKeyReps()
- Specified by:
getForeignKeyReps in interface TableRep
getUniquenessConstraintReps
public java.util.Set getUniquenessConstraintReps()
- Specified by:
getUniquenessConstraintReps in interface TableRep
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object