All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.panteleyev.mysqlapi.annotations.Table Maven / Gradle / Ivy

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