Class LogV2toV1Converter.V1LogEntryWrapper
java.lang.Object
org.dataone.service.types.v1.LogEntry
edu.ucsb.nceas.metacat.dataone.convert.LogV2toV1Converter.V1LogEntryWrapper
- All Implemented Interfaces:
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:
-
Field Summary
Fields inherited from class org.dataone.service.types.v1.LogEntry
dateLogged, entryId, event, identifier, ipAddress, nodeIdentifier, subject, userAgent
-
Constructor Summary
-
Method Summary
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
-
Constructor Details
-
V1LogEntryWrapper
public V1LogEntryWrapper()
-
-
Method Details
-
setEvent
-