public static class MetadataValidation.AndValidator extends MetadataValidation
MetadataValidation.AndValidator, MetadataValidation.ComparisonRule<T>, MetadataValidation.DateGreaterThan, MetadataValidation.DateLessThan, MetadataValidation.IntGreaterThan, MetadataValidation.IntLessThan, MetadataValidation.StringLength| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AND |
EQUALS, GREATER_THAN, LESS_THAN, MAX, MIN, STRLEN, TYPE, VALUENULL| Constructor and Description |
|---|
AndValidator(java.util.List<MetadataValidation> rules)
Create a new instance of the validator with the given rules.
|
accumulate, append, doubleToString, get, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getString, has, increment, isNull, keys, keySet, length, names, numberToString, opt, optBoolean, optBoolean, optDouble, optDouble, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, put, put, putOnce, putOpt, quote, quote, remove, similar, stringToValue, testValidity, toJSONArray, toString, toString, valueToString, wrap, writepublic static final java.lang.String AND
public AndValidator(java.util.List<MetadataValidation> rules)
rules - The rules to use.