@Override
 public void jsonWrite(ObjectWriter writer) throws IOException, JsonException {
   writer.writeEntry("loggingType", LOGGING_TYPE_CODES.getCode(loggingType));
   writer.writeEntry(
       "intervalLoggingPeriodType", Common.TIME_PERIOD_CODES.getCode(intervalLoggingPeriodType));
   writer.writeEntry(
       "intervalLoggingType", INTERVAL_LOGGING_TYPE_CODES.getCode(intervalLoggingType));
   writer.writeEntry("purgeType", Common.TIME_PERIOD_CODES.getCode(purgeType));
   writer.writeEntry("pointLocator", pointLocator);
   writer.writeEntry("eventDetectors", eventDetectors);
   writer.writeEntry("engineeringUnits", ENGINEERING_UNITS_CODES.getCode(engineeringUnits));
   writer.writeEntry("plotType", PLOT_TYPE_CODES.getCode(plotType));
 }
 /** @throws JsonException */
 @Override
 public void jsonWrite(ObjectWriter writer) throws IOException, JsonException {
   writer.writeEntry("recipientType", TYPE_CODES.getCode(getRecipientType()));
 }