KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Parameter.java,v 1.2 2005/04/03 23:37:28 epbernard Exp $
2
package org.hibernate.annotations;
3
4 import static java.lang.annotation.RetentionPolicy.RUNTIME JavaDoc;
5
6 import java.lang.annotation.Target JavaDoc;
7 import java.lang.annotation.Retention JavaDoc;
8
9 /**
10  * Parameter (basically key/value pattern)
11  *
12  * @author Emmanuel Bernard
13  */

14 @Target JavaDoc({}) @Retention JavaDoc(RUNTIME)
15 public @interface Parameter {
16     String JavaDoc name();
17     String JavaDoc value();
18 }
19
Popular Tags