edu.ucsb.nceas.metacat.dataone.convert

## Class LogV2toV1Converter.V1LogEntryWrapper

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

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

      public static class LogV2toV1Converter.V1LogEntryWrapper
      extends org.dataone.service.types.v1.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.v1.LogEntry

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `V1LogEntryWrapper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setEvent(java.lang.String event)`

    - ### Methods inherited from class org.dataone.service.types.v1.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

    - #### V1LogEntryWrapper

          public V1LogEntryWrapper()

  - ### Method Detail

    - #### setEvent

          public void setEvent(java.lang.String event)

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