Annotation Interface SerVersion
Optional annotation for serializable types, used to specify the version of the object. If an @Ser
type does not have an @SerVersion annotation, it is assumed to be 0. When deserializing an
object, the serialized version id can be retrieved via the use of a
custom
object loader
.
When modifying the structure (fields or type hierarchy) of an object marked @Ser, the @SerVersion is no longer optional. It must be set to a value greater than the one previously sets.
-
Required Element Summary
Required Elements
-
Element Details
-
value
int value
-