public class LogV2toV1Converter
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LogV2toV1Converter.LogEntryV2toV1Converter
A class to convert a v2 LogEntry object to a v1 LogEntry object
|
static class |
LogV2toV1Converter.V1LogEntryWrapper
A wrapper class to gap the difference in the signature of setEvent between the v2 and v1 LogEntry objects.
|
static class |
LogV2toV1Converter.V2LogEntryWrapper
A wrapper class to gap the difference in the signature of setEvent between the v2 and v1 LogEntry objects.
|
| Constructor and Description |
|---|
LogV2toV1Converter()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.dataone.service.types.v1.Log |
convert(org.dataone.service.types.v2.Log logV2)
Convert a v2 Log object to a v1 Log object
|
public org.dataone.service.types.v1.Log convert(org.dataone.service.types.v2.Log logV2)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
org.dataone.exceptions.MarshallingException,
java.io.IOException
logV2 - - the v2 Log object which needs to be convertedjava.io.IOExceptionJiBXExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionorg.dataone.exceptions.MarshallingExceptionCopyright © 2020 Regents of the University of California. All Rights Reserved.