Package com.mchange.v1.db.sql.schemarep
Class TableRepImpl
- java.lang.Object
-
- com.mchange.v1.db.sql.schemarep.TableRepImpl
-
-
Constructor Summary
Constructors Constructor Description TableRepImpl(java.lang.String tableName, java.util.List colReps, java.util.Collection primaryKeyColNames, java.util.Collection foreignKeyReps, java.util.Collection uniqConstrReps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnRep
columnRepForName(java.lang.String name)
boolean
equals(java.lang.Object o)
java.util.Iterator
getColumnNames()
java.util.Set
getForeignKeyReps()
java.util.Set
getPrimaryKeyColumnNames()
java.lang.String
getTableName()
java.util.Set
getUniquenessConstraintReps()
int
hashCode()
-
-
-
Method Detail
-
getTableName
public java.lang.String getTableName()
- Specified by:
getTableName
in interfaceTableRep
-
getColumnNames
public java.util.Iterator getColumnNames()
- Specified by:
getColumnNames
in interfaceTableRep
-
columnRepForName
public ColumnRep columnRepForName(java.lang.String name)
- Specified by:
columnRepForName
in interfaceTableRep
-
getPrimaryKeyColumnNames
public java.util.Set getPrimaryKeyColumnNames()
- Specified by:
getPrimaryKeyColumnNames
in interfaceTableRep
-
getForeignKeyReps
public java.util.Set getForeignKeyReps()
- Specified by:
getForeignKeyReps
in interfaceTableRep
-
getUniquenessConstraintReps
public java.util.Set getUniquenessConstraintReps()
- Specified by:
getUniquenessConstraintReps
in interfaceTableRep
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-