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

handlebars.JavaSpring.NotUndefined.mustache Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package {{configPackage}};

{{#jakarta}}
import jakarta.validation.Constraint;
import jakarta.validation.Payload;
{{/jakarta}}
{{^jakarta}}
import javax.validation.Constraint;
import javax.validation.Payload;
{{/jakarta}}
import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Constraint(validatedBy = NotUndefinedValidator.class)
public @interface NotUndefined {
    String message() default "field cannot be undefined";
    Class[] groups() default {};
    Class[] payload() default {};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy