getFieldValue method
Get a field's value by fieldId
. Primitive types will be wrapped in the
appropriate "boxed" types.
Implementation
getFieldValue(int fieldID) {
switch (fieldID) {
case COLUMN_NAME:
return this.column_name;
case SCAN_TYPE:
return this.scan_type;
case BEGIN_VALUE:
return this.begin_value;
case END_VALUE:
return this.end_value;
case INCLUDE_BEGIN:
return this.include_begin;
case INCLUDE_END:
return this.include_end;
default:
throw new ArgumentError("Field $fieldID doesn't exist!");
}
}