KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > annotations > DiscriminatorFormula


1 //$Id: DiscriminatorFormula.java,v 1.1 2005/06/16 19:07:11 epbernard Exp $
2
package org.hibernate.annotations;
3
4 import java.lang.annotation.Retention JavaDoc;
5 import java.lang.annotation.Target JavaDoc;
6 import static java.lang.annotation.ElementType.TYPE JavaDoc;
7 import static java.lang.annotation.RetentionPolicy.RUNTIME JavaDoc;
8
9 /**
10  * Discriminator formula
11  * To be placed at the root entity.
12  *
13  * @see Formula
14  * @author Emmanuel Bernard
15  */

16 @Target JavaDoc({TYPE}) @Retention JavaDoc(RUNTIME)
17 public @interface DiscriminatorFormula {
18     String JavaDoc value();
19 }
20
Popular Tags