Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
//$Id: DiscriminatorFormula.java 11282 2007-03-14 22:05:59Z epbernard $
2
package org.hibernate.annotations;
3
 
4
import static java.lang.annotation.ElementType.TYPE;
5
import java.lang.annotation.Retention;
6
import static java.lang.annotation.RetentionPolicy.RUNTIME;
7
import java.lang.annotation.Target;
8
 
9
/**
10
 * Discriminator formula
11
 * To be placed at the root entity.
12
 *
13
 * @author Emmanuel Bernard
14
 * @see Formula
15
 */
16
@Target({TYPE})
17
@Retention(RUNTIME)
18
public @interface DiscriminatorFormula {
19
        String value();
20
}