org.jarbframework.constraint.metadata.DatabaseGenerated Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jarb-constraints Show documentation
Show all versions of jarb-constraints Show documentation
Module for handling database constraints
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