code: public Set<String> getUpdatedScalarFieldNames(TableDefinition tableDef) {
          Set<String> fieldNames = new HashSet<String>();
          for (String fieldName : m_valueMap.keySet()) {
              if (tableDef.isScalarField(fieldName)) {
                  fieldNames.add(fieldName);
              }
          }
          for (String fieldName : m_valueRemoveMap.keySet()) {
              if (tableDef.isScalarField(fieldName)) {
                  fieldNames.add(fieldName);
              }
          }
          return fieldNames;
      }
docs: Return the names of all scalar fields for which new or "remove" values have been
  assigned for this object. The given {@link TableDefinition} is used to determine
  which field names are scalars.
  
  @param tableDef  {@link TableDefinition} of a table.
  @return          Set of all updated scalar field names.