public interface DataRepresentationService extends BatchService
| Modifier and Type | Method and Description |
|---|---|
<T> byte[] |
toInternalRepresentation(T dataObject)
Convert the given dataObject into something which can be stored
in a BLOB in the database.
|
<T> T |
toJavaRepresentation(byte[] internalRepresentation)
Convert the internal representation stored in the
PersistenceManagerService
to the Java objects needed by the batch artifacts. |
init<T> byte[] toInternalRepresentation(T dataObject)
T - dataObject - the object to store or null if no data is to be stored<T> T toJavaRepresentation(byte[] internalRepresentation)
PersistenceManagerService
to the Java objects needed by the batch artifacts.T - internalRepresentation - the String representation which we store in the databasCopyright © 2023 The Apache Software Foundation. All rights reserved.