class BaseObject<T extends StorableObject<T>> extends Object implements StoredObject<T>, Serializable
Modifier and Type | Field and Description |
---|---|
private byte[] |
blob |
(package private) static long |
serialVersionUID |
Constructor and Description |
---|
BaseObject(T object) |
Modifier and Type | Method and Description |
---|---|
private void |
readObject(ObjectInputStream ois)
Added to enable the serial form to be modified
in a backward compatible manner (if necessary) with 3.0.0 and later.
|
T |
restore(T object)
Restore the state of a
StorableObject object. |
static final long serialVersionUID
private final byte[] blob
BaseObject(T object)
public T restore(T object) throws IOException, ClassNotFoundException
StoredObject
StorableObject
object.
There are two use cases for this method:restore
in interface StoredObject<T extends StorableObject<T>>
object
- to restoreIOException
ClassNotFoundException
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
ois
- IOException
ClassNotFoundException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.