colesico.framework.beanvalidation.ValidateWithBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of colesico-validation Show documentation
Show all versions of colesico-validation Show documentation
Colesico framework data bean validation assistant and simple dsl validator
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