public abstract @interface


implements Annotation

Class Overview

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.


Inherited Methods
From interface java.lang.annotation.Annotation