Class LogV2toV1Converter.V2LogEntryWrapper

java.lang.Object
org.dataone.service.types.v2.LogEntry
edu.ucsb.nceas.metacat.dataone.convert.LogV2toV1Converter.V2LogEntryWrapper
All Implemented Interfaces:
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:
  • Field Summary

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

    dateLogged, entryId, event, identifier, ipAddress, nodeIdentifier, subject, userAgent
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    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 Details

    • V2LogEntryWrapper

      public V2LogEntryWrapper()
  • Method Details

    • setEvent

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