@Target(value={METHOD,FIELD})
@Documented
@Retention(value=RUNTIME)
@Inherited
public @interface PermissionResourceIdentifier
Marks the property of an entity bean that represents the identifier of a resource for which a permission is granted. The value may
either be the String-based resource identifier, or in the case of an entity bean resource it may be the natural primary key
value (which may be any valid entity identifier class) for that entity, but only in the case that the @PermissionManaged annotation
specifies a resourceClasses member value with a single value being that of the entity bean class. This second use case is to
facilitate natural join queries between the entity bean and its associated permission table.
- Author:
- Shane Bryzak