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

com.dream.template.annotation.validate.Range Maven / Gradle / Ivy

package com.dream.template.annotation.validate;

import com.dream.template.annotation.Validated;
import com.dream.template.validate.RangeValidator;

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

@Validated(RangeValidator.class)
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Range {
    String msg();

    double min() default -1;

    double max() default -1;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy