com.talk2object.plum.interaction.meta.validation.annotation.parameter.GeneralValidation Maven / Gradle / Ivy
package com.talk2object.plum.interaction.meta.validation.annotation.parameter;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.talk2object.plum.interaction.meta.validation.validator.ValidatorType;
/*
* this annotation provide a common way to describe any kinds of validator, with 4 parameters.
* one fits all, and a bit too long.
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface GeneralValidation {
ValidatorType type();
String p1() default "";
String p2() default "";
String p3() default "";
String p4() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy