Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

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