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

colesico.framework.beanvalidation.ValidateWithBuilder Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
package colesico.framework.beanvalidation;

import java.lang.annotation.*;

/**
 * Validate this property as a bean with validation form another validator builder
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
@Inherited
@Documented
public @interface ValidateWithBuilder {

    /**
     * Validator builder class full name.
     * If not specified will be used a builder prototype class name.
     */
    String builderClass() default "";

    /**
     * Property value may be null.
     * If false - property value required.
     */
    boolean optional() default true;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy