eu.unicore.persist.annotations.Table Maven / Gradle / Ivy
package eu.unicore.persist.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Used to select the database table name to be used for
* persisting a Java entity
*
* @author schuller
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface Table {
public String name();
}