1 //$Id: Type.java,v 1.2 2005/04/06 23:41:11 epbernard Exp $2 package org.hibernate.annotations;3 4 import static java.lang.annotation.ElementType.FIELD ;5 import static java.lang.annotation.ElementType.METHOD ;6 7 import static java.lang.annotation.RetentionPolicy.RUNTIME ;8 9 import java.lang.annotation.Target ;10 import java.lang.annotation.Retention ;11 12 /**13 * hibernate type14 * @author Emmanuel Bernard15 */16 @Target ({FIELD,METHOD}) @Retention (RUNTIME)17 public @interface Type {18 String type();19 Parameter[] parameters() default {};20 }