Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
//$Id: Filter.java 11282 2007-03-14 22:05:59Z epbernard $
2
package org.hibernate.annotations;
3
 
4
import static java.lang.annotation.ElementType.*;
5
import java.lang.annotation.Retention;
6
import static java.lang.annotation.RetentionPolicy.RUNTIME;
7
import java.lang.annotation.Target;
8
 
9
/**
10
 * Add filters to an entity or a target entity of a collection
11
 *
12
 * @author Emmanuel Bernard
13
 * @author Matthew Inger
14
 * @author Magnus Sandberg
15
 */
16
@Target({TYPE, METHOD, FIELD})
17
@Retention(RUNTIME)
18
public @interface Filter {
19
        String name();
20
 
21
        String condition() default "";
22
}