Class LogV2toV1Converter.LogEntryV2toV1Converter

java.lang.Object
edu.ucsb.nceas.metacat.dataone.convert.LogV2toV1Converter.LogEntryV2toV1Converter
Enclosing class:
LogV2toV1Converter

public static class LogV2toV1Converter.LogEntryV2toV1Converter extends Object
A class to convert a v2 LogEntry object to a v1 LogEntry object
Author:
tao
  • Constructor Details

    • LogEntryV2toV1Converter

      public LogEntryV2toV1Converter()
      Default constructor
  • Method Details

    • convert

      public org.dataone.service.types.v1.LogEntry convert(org.dataone.service.types.v2.LogEntry logEntryV2) throws InstantiationException, IllegalAccessException, InvocationTargetException, org.dataone.exceptions.MarshallingException, IOException
      Convert a v2 LogEntry object to a v1 LogEntry object
      Parameters:
      logV2 - - the v2 Log object which needs to be converted
      Returns:
      a v1 Log object. If the logV2 is null, null will be returned.