package com.quantum.model;
-import com.quantum.sql.SQLHelper;
+import com.quantum.util.sql.TypesHelper;
/**
* @author BC
*/
class ColumnImpl implements Column, Comparable {
- private int size;
+ private long size;
private boolean nullable;
private int primaryKeyOrder;
private String name;
private String remarks;
ColumnImpl(Entity entity, String name, String typeName, int type,
- int size, int numberOfFractionalDigits, boolean nullable, int position,
+ long size, int numberOfFractionalDigits, boolean nullable, int position,
String remarks) {
this.entity = entity;
* @see com.quantum.model.Column#isNumeric()
*/
public boolean isNumeric() {
- return SQLHelper.isNumeric(this.type);
+ return TypesHelper.isNumeric(this.type);
}
/**
* @see com.quantum.model.Column#getQualifiedTableName()
*/
public String getQualifiedTableName() {
- return this.entity.getCondQualifiedName();
+ return this.entity.getQualifiedName();
}
/**
* @param i
/**
* @return
*/
- public int getSize() {
+ public long getSize() {
return size;
}