public interface DataSerializable
DataContainer
.
DataContainers received from toContainer()
should be considered to be copies of the original data, and therefore,
thread safe.
Modifier and Type | Method and Description |
---|---|
int |
getContentVersion()
Gets the content version of this
DataSerializable . |
DataContainer |
toContainer()
Serializes this object into a comprehensible
DataContainer . |
int getContentVersion()
DataSerializable
. The version
may differ between instances of plugins and implementations such that
the DataView
from toContainer()
may include different
information, or remove other information as they are no longer deemed
necessary. The version goes hand in hand with DataContentUpdater
as it is required when there exists any DataView
of this
DataSerializable
with an "older" version.DataContainer toContainer()
DataContainer
.