org.clazzes.remoting.annotations
Annotation Type OldSerialVersionUID
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface OldSerialVersionUID
This annotation adds a compatibility note for an old serial version UID
for the compact Marshaler.
- Author:
- wglas
Required Element Summary |
long |
id
|
java.lang.String[] |
skipFields
|
id
public abstract long id
- Returns:
- the old serialVersionUID.
skipFields
public abstract java.lang.String[] skipFields
- Returns:
- The fields which have been added to the class since the
given serialVersion UID.
superSerialVersionUID
public abstract java.lang.String superSerialVersionUID
- Returns:
- The serialVersionUID of the super class, if the old version of this
class had an old version of the super class.
The argument will be passed to
Long.valueOf(String)
if not
empty. In this case, the super class must have an
OldSerialVersionUID
annotation for the given serialVersionUID.
- Default:
- ""
Copyright © 2010. All Rights Reserved.