sets the value of the specified field , as a constant . the schema is examined to determine the field 's type . if integer , then the record file 's setint method is called ; otherwise , the setstring method is called . concode_field_sep RecordFile rf concode_elem_sep Schema sch concode_field_sep boolean next concode_elem_sep Constant getVal concode_elem_sep void beforeFirst concode_elem_sep void insert concode_elem_sep String getString concode_elem_sep void delete concode_elem_sep void setInt concode_elem_sep void moveToRid concode_elem_sep int getInt concode_elem_sep void setString concode_elem_sep void close concode_elem_sep boolean hasField concode_elem_sep RID getRid
void function ( String arg0 , Constant arg1 ) { if ( sch . type ( arg0 ) == INTEGER ) rf . setInt ( arg0 , ( Integer ) arg1 . asJavaVal ( ) ) ; else rf . setString ( arg0 , ( String ) arg1 . asJavaVal ( ) ) ; }