1 //$Id: Table.java,v 1.1 2005/07/26 04:57:08 epbernard Exp $2 package org.hibernate.annotations;3 4 import java.lang.annotation.Retention ;5 import java.lang.annotation.Target ;6 import static java.lang.annotation.ElementType.TYPE ;7 import static java.lang.annotation.RetentionPolicy.RUNTIME ;8 9 /**10 * Complementary information to a table either primary or secondary11 *12 * @author Emmanuel Bernard13 */14 @Target ({TYPE}) @Retention (RUNTIME)15 public @interface Table {16 /**17 * name of the targeted table18 */19 String name();20 21 /**22 * Indexes23 */24 Index[] indexes() default {};25 26 }27