1 package org.hibernate.annotations;2 3 import static java.lang.annotation.ElementType.TYPE ;4 import static java.lang.annotation.ElementType.METHOD ;5 import static java.lang.annotation.ElementType.FIELD ;6 import static java.lang.annotation.RetentionPolicy.RUNTIME ;7 8 import java.lang.annotation.Target ;9 import java.lang.annotation.Retention ;10 11 /**12 * Where clause to add to the element (Class or Collection)13 * @author Emmanuel Bernard14 */15 @Target ({TYPE, METHOD, FIELD}) @Retention (RUNTIME)16 public @interface Where {17 String clause();18 }19