public final class Constraints extends Object
@Nonnull public static CollectionUtils.MapBuilder<String,List<ConstraintDef>> map()
@Nonnull public static CollectionUtils.ListBuilder<ConstraintDef> list()
@Nonnull public static CollectionUtils.ListBuilder<ConstraintDef> list(@Nonnull ConstraintDef... defs)
@Nonnull public static CollectionUtils.SetBuilder<PropertyConstraintDef> set()
@Nonnull public static ConstraintDef blank(boolean value)
@Nonnull public static ConstraintDef creditCard(boolean value)
@Nonnull public static ConstraintDef email(boolean value)
@Nonnull public static ConstraintDef inList(@Nonnull List<?> elements)
@Nonnull public static ConstraintDef matches(@Nonnull String pattern)
@Nonnull public static ConstraintDef max(@Nonnull Object value)
@Nonnull public static ConstraintDef maxSize(int value)
@Nonnull public static ConstraintDef min(Object value)
@Nonnull public static ConstraintDef minSize(int value)
@Nonnull public static ConstraintDef notEqual(@Nonnull Object value)
@Nonnull public static ConstraintDef nullable(boolean value)
@Nonnull public static ConstraintDef range(int from, int to)
@Nonnull public static ConstraintDef range(long from, long to)
@Nonnull public static ConstraintDef range(double from, double to)
@Nonnull public static ConstraintDef range(float from, float to)
@Nonnull public static ConstraintDef range(char from, char to)
@Nonnull public static ConstraintDef range(Enum from, Enum to)
@Nonnull public static ConstraintDef scale(int scale)
@Nonnull public static ConstraintDef size(int from, int to)
@Nonnull public static ConstraintDef url(boolean value)
@Nonnull public static ConstraintDef url(@Nonnull String pattern)
@Nonnull public static ConstraintDef url(@Nonnull List<?> pattern)
@Nonnull public static ConstraintDef date(@Nonnull String value)
@Nonnull public static ConstraintDef validator(@Nonnull PropertyValidator<?> validator)
@Nonnull public static ConstraintDef validator(@Nonnull ObjectValidator<?,?> validator)