code: private void onTranslation(TranslationType type, StringBuilder builder, StringBuilder columnBuilder,
              String columnName, Object record, Field column)
      {
          switch (type)
          {
          case ALL:
              if (appendColumnValue(builder, record, column))
              {
                  builder.append(Constants.COMMA);
                  appendColumnName(columnBuilder, columnName);
                  columnBuilder.append(Constants.COMMA); // because only key columns
              }
              break;
  
          case COLUMN:
  
              appendColumnName(columnBuilder, columnName);
              columnBuilder.append(Constants.COMMA); // because only key columns
              break;
  
          case VALUE:
  
              if (appendColumnValue(builder, record, column))
              {
                  builder.append(Constants.COMMA); // because only key columns
              }
              break;
          }
      }
docs: Translates input object and corresponding field based on: a) ALL :
  translate both column name and column value. b) COlUMN: translates column
  name only. c) VALUE: translates column value only.
  
  @param type
  translation type.
  @param builder
  column value builder object.
  @param columnBuilder
  column name builder object.
  @param columnName
  column name.
  @param record
  value object.
  @param column
  value column name.