String variableName = (String) row.get(InteractiveVariableDBTable.COLUMN.VARIABLE_NAME.ordinal());
int functionID = ((Integer) row.get(InteractiveVariableDBTable.COLUMN.FUNCTION_ID.ordinal()))
.intValue();
- int sourceLineNum = ((Integer) row.get(InteractiveVariableDBTable.COLUMN.SOURCE_LINE_NUM.ordinal()))
+ int sourceLineNum = ((Integer) row.get(InteractiveVariableDBTable.COLUMN.SOURCE_LINE_NUMBER.ordinal()))
.intValue();
String sourceFileName = (String) row.get(InteractiveVariableDBTable.COLUMN.SOURCE_FILE_NAME.ordinal());
int pointerOrder = ((Integer) row.get(InteractiveVariableDBTable.COLUMN.POINTER_ORDER.ordinal()))
VARIABLE_TYPE_NAME,
VARIABLE_NAME,
FUNCTION_ID,
- SOURCE_LINE_NUM,
+ SOURCE_LINE_NUMBER,
SOURCE_FILE_NAME,
POINTER_ORDER,
POINTER_SIZE,
public static final String VARIABLE_TYPE_NAME = "VARIABLE_TYPE_NAME";
public static final String VARIABLE_NAME = "VARIABLE_NAME";
public static final String FUNCTION_ID = "FUNCTION_ID";
- public static final String SOURCE_LINE_NUM = "SOURCE_LINE_NUM";
+ public static final String SOURCE_LINE_NUMBER = "SOURCE_LINE_NUMBER";
public static final String SOURCE_FILE_NAME = "SOURCE_FILE_NAME";
public static final String POINTER_ORDER = "POINTER_ORDER";
public static final String POINTER_SIZE = "POINTER_SIZE";
addColumn(new DBColumn(VARIABLE_TYPE_NAME, DBConstants.EMPTY, DBConstants.DBTYPE_VARCHAR, MAX_TYPE_LEN));
addColumn(new DBColumn(VARIABLE_NAME, DBConstants.NOT_NULL, DBConstants.DBTYPE_VARCHAR, MAX_NAME_LEN));
addColumn(new DBColumn(FUNCTION_ID, DBConstants.NOT_NULL, DBConstants.DBTYPE_INT4));
- addColumn(new DBColumn(SOURCE_LINE_NUM, DBConstants.NOT_NULL, DBConstants.DBTYPE_INT4));
+ addColumn(new DBColumn(SOURCE_LINE_NUMBER, DBConstants.NOT_NULL, DBConstants.DBTYPE_INT4));
addColumn(new DBColumn(SOURCE_FILE_NAME, DBConstants.NOT_NULL, DBConstants.DBTYPE_VARCHAR, MAX_NAME_LEN));
addColumn(new DBColumn(POINTER_ORDER, DBConstants.NOT_NULL, DBConstants.DBTYPE_INT4));
addColumn(new DBColumn(POINTER_SIZE, DBConstants.NOT_NULL, DBConstants.DBTYPE_INT4));
}
prep.setString(index++, name);
prep.setInt(index++, (Integer) (rowData.get(COLUMN.FUNCTION_ID.ordinal())));
- prep.setInt(index++, (Integer) (rowData.get(COLUMN.SOURCE_LINE_NUM.ordinal())));
+ prep.setInt(index++, (Integer) (rowData.get(COLUMN.SOURCE_LINE_NUMBER.ordinal())));
// Check string overflow
name = (String) (rowData.get(COLUMN.SOURCE_FILE_NAME.ordinal()));
if (name != null && name.length() > MAX_NAME_LEN) {