1 package org.hibernate.annotations; 3 4 import static java.lang.annotation.ElementType.TYPE ; 5 6 import static java.lang.annotation.ElementType.METHOD ; 7 8 import static java.lang.annotation.ElementType.FIELD ; 9 10 import static java.lang.annotation.RetentionPolicy.RUNTIME ; 11 12 import java.lang.annotation.Target ; 13 import java.lang.annotation.Retention ; 14 15 22 @Target ({TYPE, METHOD, FIELD}) @Retention (RUNTIME) 23 public @interface Filter { 24 String name(); 25 String condition(); 26 } 27 | Popular Tags |