retVal.setTaskID( new TaskID( result.getInt( "ID" ) ) );
retVal.setUserID( new UserID( result.getInt( "userid" ) ) );
retVal.setTeamID( new GroupID( result.getInt( "groupid" ) ) );
retVal.setTaskDescription( result.getString( "description" ) );
retVal.setTaskExpirationDate( result.getDate( "expiration" ) );
retVal.setSourceTokenID( new TokenID(
result.getInt( "tokenid" ) ) );
retVal.setTaskStatus( result.getInt( "status" ) );
retVal.setInstanceID( new InstanceID(
result.getInt( "instanceid" ) ) );