edu.ucsb.nceas.metacat.dataone.convert

## Class LogV2toV1Converter.V2LogEntryWrapper

- java.lang.Object
- - org.dataone.service.types.v2.LogEntry
  - - edu.ucsb.nceas.metacat.dataone.convert.LogV2toV1Converter.V2LogEntryWrapper

- All Implemented Interfaces:
    java.io.Serializable
  Enclosing class:
    LogV2toV1Converter

      public static class LogV2toV1Converter.V2LogEntryWrapper
      extends org.dataone.service.types.v2.LogEntry

  A wrapper class to gap the difference in the signature of setEvent between the v2 and v1 LogEntry objects. (The v2 LogEntry doesn't have the setEvent(Event) method, so TypeMarshaller can't handle it)
  Author:
    tao
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.dataone.service.types.v2.LogEntry

      `dateLogged, entryId, event, identifier, ipAddress, nodeIdentifier, subject, userAgent`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `V2LogEntryWrapper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setEvent(org.dataone.service.types.v1.Event event)`

    - ### Methods inherited from class org.dataone.service.types.v2.LogEntry

      `getDateLogged, getEntryId, getEvent, getIdentifier, getIpAddress, getNodeIdentifier, getSubject, getUserAgent, setDateLogged, setEntryId, setEvent, setIdentifier, setIpAddress, setNodeIdentifier, setSubject, setUserAgent`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### V2LogEntryWrapper

          public V2LogEntryWrapper()

  - ### Method Detail

    - #### setEvent

          public void setEvent(org.dataone.service.types.v1.Event event)

Copyright © 2020 Regents of the University of California. All Rights Reserved.