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 NVAL:
return this.nVal;
case BVAL:
return this.bVal;
case IVAL:
return this.iVal;
case FVAL:
return this.fVal;
case SVAL:
return this.sVal;
case DVAL:
return this.dVal;
case TVAL:
return this.tVal;
case DTVAL:
return this.dtVal;
case VVAL:
return this.vVal;
case EVAL:
return this.eVal;
case PVAL:
return this.pVal;
case LVAL:
return this.lVal;
case MVAL:
return this.mVal;
case UVAL:
return this.uVal;
case GVAL:
return this.gVal;
case GGVAL:
return this.ggVal;
case DUVAL:
return this.duVal;
default:
throw new ArgumentError("Field $fieldID doesn't exist!");
}
}