jodd.vtor.constraint.Min Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jodd-vtor Show documentation
Show all versions of jodd-vtor Show documentation
Jodd VTor is focused validation framework for any Java object.
// Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved.
package jodd.vtor.constraint;
import jodd.vtor.Constraint;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Constraint(MinConstraint.class)
public @interface Min {
/**
* The minimum value.
*/
double value();
// ---------------------------------------------------------------- common
/**
* Profiles.
*/
String[] profiles() default {};
/**
* Severity.
*/
int severity() default 0;
}