code: public String convertIndexToString(int index)
      {
          String tempString = null;
          if (index == 0)
              tempString = NO;
          else if (index == 1)
              tempString = YES;
          return tempString;
      }
docs: Convert this index to a string.
  This method return N for 0 and Y for 1.
  @param index The index to convert.
  @return The display string.