
org.panteleyev.mysqlapi.annotations.Table Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-api-for-mysql Show documentation
Show all versions of java-api-for-mysql Show documentation
Annotation based Java API for MySQL database.
The newest version!
package org.panteleyev.mysqlapi.annotations;
/*
* Copyright (c) Petr Panteleyev. All rights reserved.
* Licensed under the BSD license. See LICENSE file in the project root for full license information.
*/
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Defines database table.
*/
@Retention(RUNTIME)
@Target(TYPE)
@Inherited
public @interface Table {
/**
* SQL name of the table.
* @return table name
*/
String value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy