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

com.anaptecs.jeaf.accounting.validation.MyGeneratedCustomConstraint Maven / Gradle / Ivy

There is a newer version: 1.24.3
Show newest version
package com.anaptecs.jeaf.accounting.validation;

import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE_USE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

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

import javax.validation.Constraint;
import javax.validation.Payload;

@Target({ FIELD, METHOD, PARAMETER, ANNOTATION_TYPE, TYPE_USE })
@Retention(RUNTIME)
@Constraint(validatedBy = { MyCustomConstraintValidator.class, BankConstraintValidator.class })
public @interface MyGeneratedCustomConstraint {
  MyEnum myEnum();

  String message() default "{com.anaptecs.jeaf.accounting.validation.MyGeneratedCustomConstraint.message}";

  Class[] groups() default {};

  Class[] payload() default {};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy