package org.jboss.seam.security.annotations.permission; import java.lang.annotation.Documented; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Marks an entity field or method as being a property for storing permission * related data. * * @author Shane Bryzak */ @Target({METHOD, FIELD}) @Documented @Retention(RUNTIME) @Inherited public @interface PermissionProperty { PermissionPropertyType value(); }