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

com.kenshoo.pl.entity.annotation.DefaultValue Maven / Gradle / Ivy

Go to download

A Java persistence layer based on JOOQ for high performance and business flow support.

There is a newer version: 0.1.121-jooq-3.16.3
Show newest version
package com.kenshoo.pl.entity.annotation;

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

/**
 * Placed on an EntityField that gets a default value at creation time if not specified explicitly by the client.
 * Analogous to the DEFAULT clause in database.
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DefaultValue {
    /**
     * @return default value as string, will be parsed using the StringValueConverter of the field
     */
    String value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy