public abstract class MetadataValidation extends JSONObject
| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataValidation.AndValidator
An 'And' rule validation used to combine other rules with an 'AND' logic relation between them.
|
static class |
MetadataValidation.ComparisonRule<T>
Base class for all comparison (greater than/less than) validation rules.
|
static class |
MetadataValidation.DateGreaterThan
Great-than rule for dates.
|
static class |
MetadataValidation.DateLessThan
Less-than rule for dates.
|
static class |
MetadataValidation.IntGreaterThan
Great-than rule for integers.
|
static class |
MetadataValidation.IntLessThan
Less-than rule for integers.
|
static class |
MetadataValidation.StringLength
A validator to validate string lengths
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EQUALS |
static java.lang.String |
GREATER_THAN |
static java.lang.String |
LESS_THAN |
static java.lang.String |
MAX |
static java.lang.String |
MIN |
static java.lang.String |
STRLEN |
static java.lang.String |
TYPE |
static java.lang.String |
VALUE |
NULL| Constructor and Description |
|---|
MetadataValidation() |
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 TYPE
public static final java.lang.String MIN
public static final java.lang.String MAX
public static final java.lang.String STRLEN
public static final java.lang.String EQUALS
public static final java.lang.String GREATER_THAN
public static final java.lang.String LESS_THAN
public static final java.lang.String VALUE