Package arez.persist
Annotation Interface PersistId
Annotation applied to method that returns the a value to identify the instance of the type.
The method that is annotated with this annotation must also comply with the following constraints:
- Must not have any parameters
- Must not throw any exceptions
- Must not be parameterized
- Must not be private
- Must not be protected
- Must not be static
- If package access, the method must be in the same package as any subclass annotated with the
PersistTypeannotation.