Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
//$Id: TypeDef.java 11282 2007-03-14 22:05:59Z epbernard $
2
package org.hibernate.annotations;
3
 
4
import static java.lang.annotation.ElementType.PACKAGE;
5
import static java.lang.annotation.ElementType.TYPE;
6
import java.lang.annotation.Retention;
7
import static java.lang.annotation.RetentionPolicy.RUNTIME;
8
import java.lang.annotation.Target;
9
 
10
/**
11
 * Type definition
12
 *
13
 * @author Emmanuel Bernard
14
 */
15
@Target({TYPE, PACKAGE})
16
@Retention(RUNTIME)
17
public @interface TypeDef {
18
        String name();
19
 
20
        Class typeClass();
21
 
22
        Parameter[] parameters() default {};
23
}