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 Object
- implements TableRep
TableRepImpl
public TableRepImpl(String tableName,
List colReps,
Collection primaryKeyColNames,
Collection foreignKeyReps,
Collection uniqConstrReps)
getTableName
public String getTableName()
- Specified by:
getTableName
in interface TableRep
getColumnNames
public Iterator getColumnNames()
- Specified by:
getColumnNames
in interface TableRep
columnRepForName
public ColumnRep columnRepForName(String name)
- Specified by:
columnRepForName
in interface TableRep
getPrimaryKeyColumnNames
public Set getPrimaryKeyColumnNames()
- Specified by:
getPrimaryKeyColumnNames
in interface TableRep
getForeignKeyReps
public Set getForeignKeyReps()
- Specified by:
getForeignKeyReps
in interface TableRep
getUniquenessConstraintReps
public Set getUniquenessConstraintReps()
- Specified by:
getUniquenessConstraintReps
in interface TableRep
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object