Class ComparablesSupport
- java.lang.Object
-
- cdc.util.validation.checkers.defaults.ComparablesSupport
-
public final class ComparablesSupport extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static cdc.util.args.FormalArg<Class>CLASSstatic cdc.util.args.FormalArg<Comparable>MANDATORY_COMPARABLE_MAXstatic cdc.util.args.FormalArg<Comparable>MANDATORY_COMPARABLE_MINstatic cdc.util.args.FormalArg<String>MANDATORY_STRING_MAXstatic cdc.util.args.FormalArg<String>MANDATORY_STRING_MINstatic cdc.util.args.FormalArg<Comparable>OPTIONAL_COMPARABLE_MAXstatic cdc.util.args.FormalArg<Comparable>OPTIONAL_COMPARABLE_MINstatic cdc.util.args.FormalArg<String>OPTIONAL_STRING_MAXstatic cdc.util.args.FormalArg<String>OPTIONAL_STRING_MIN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static Class<Comparable>getClass(cdc.util.args.Args args)(package private) static ComparablegetMaxFromComparable(cdc.util.args.Args args, Class<Comparable> cls)(package private) static ComparablegetMaxFromString(cdc.util.args.Args args, Class<Comparable> cls)(package private) static ComparablegetMinFromComparable(cdc.util.args.Args args, Class<Comparable> cls)(package private) static ComparablegetMinFromString(cdc.util.args.Args args, Class<Comparable> cls)static StringvalueInfo(Checker<?> checker)
-
-
-
Field Detail
-
CLASS
public static final cdc.util.args.FormalArg<Class> CLASS
-
MANDATORY_COMPARABLE_MIN
public static final cdc.util.args.FormalArg<Comparable> MANDATORY_COMPARABLE_MIN
-
OPTIONAL_COMPARABLE_MIN
public static final cdc.util.args.FormalArg<Comparable> OPTIONAL_COMPARABLE_MIN
-
MANDATORY_COMPARABLE_MAX
public static final cdc.util.args.FormalArg<Comparable> MANDATORY_COMPARABLE_MAX
-
OPTIONAL_COMPARABLE_MAX
public static final cdc.util.args.FormalArg<Comparable> OPTIONAL_COMPARABLE_MAX
-
MANDATORY_STRING_MIN
public static final cdc.util.args.FormalArg<String> MANDATORY_STRING_MIN
-
MANDATORY_STRING_MAX
public static final cdc.util.args.FormalArg<String> MANDATORY_STRING_MAX
-
OPTIONAL_STRING_MIN
public static final cdc.util.args.FormalArg<String> OPTIONAL_STRING_MIN
-
OPTIONAL_STRING_MAX
public static final cdc.util.args.FormalArg<String> OPTIONAL_STRING_MAX
-
-
Method Detail
-
getClass
static Class<Comparable> getClass(cdc.util.args.Args args)
-
getMinFromComparable
static Comparable getMinFromComparable(cdc.util.args.Args args, Class<Comparable> cls)
-
getMinFromString
static Comparable getMinFromString(cdc.util.args.Args args, Class<Comparable> cls)
-
getMaxFromComparable
static Comparable getMaxFromComparable(cdc.util.args.Args args, Class<Comparable> cls)
-
getMaxFromString
static Comparable getMaxFromString(cdc.util.args.Args args, Class<Comparable> cls)
-
-