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

net.java.ao.schema.Index Maven / Gradle / Ivy

Go to download

This is the full Active Objects library, if you don't know which one to use, you probably want this one.

The newest version!
package net.java.ao.schema;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Defines a database index.
 *
 * 

* The index can be either simple or composite. * Please note that the actual name of the index may differ. This field is case insensitive. *

* */ @Retention(RetentionPolicy.RUNTIME) @Target({}) public @interface Index { /** * @return the table unique index name. */ String name(); /** * @return an array of accessors or mutators to the columns that should be included in the index. */ String[] methodNames(); boolean unique() default false; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy