All Downloads are FREE. Search and download functionalities are using the official Maven repository.

arez.persist.PersistId Maven / Gradle / Ivy

The newest version!
package arez.persist;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;

/**
 * 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 {@link PersistType} annotation.
  • *
*/ @Documented @Target( ElementType.METHOD ) public @interface PersistId { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy