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

org.jarbframework.constraint.metadata.DatabaseGenerated Maven / Gradle / Ivy

The newest version!
package org.jarbframework.constraint.metadata;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

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

/**
 * Mark a property as database generated. Meaning that a value
 * can always be generated by the database, this could e.g. be
 * implemented by a default value, trigger or auto-incremental type.
 *
 * @author Jeroen van Schagen
 * @since Aug 16, 2011
 */
@Documented
@Target({ FIELD, METHOD })
@Retention(RUNTIME)
public @interface DatabaseGenerated {
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy