@Target(value={METHOD,FIELD})
@Documented
@Retention(value=RUNTIME)
@Inherited
public @interface PermissionResource
Marks the property of an entity bean that represents the 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 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