Package com.cloudinary.metadata
Class MetadataValidation
- java.lang.Object
-
- org.cloudinary.json.JSONObject
-
- com.cloudinary.metadata.MetadataValidation
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MetadataValidation.AndValidator,MetadataValidation.ComparisonRule,MetadataValidation.StringLength
public abstract class MetadataValidation extends JSONObject
Represents the base class for metadata fields validation mechanisms.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMetadataValidation.AndValidatorAn 'And' rule validation used to combine other rules with an 'AND' logic relation between them.static classMetadataValidation.ComparisonRule<T>Base class for all comparison (greater than/less than) validation rules.static classMetadataValidation.DateGreaterThanGreat-than rule for dates.static classMetadataValidation.DateLessThanLess-than rule for dates.static classMetadataValidation.IntGreaterThanGreat-than rule for integers.static classMetadataValidation.IntLessThanLess-than rule for integers.static classMetadataValidation.StringLengthA validator to validate string lengths
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEQUALSstatic java.lang.StringGREATER_THANstatic java.lang.StringLESS_THANstatic java.lang.StringMAXstatic java.lang.StringMINstatic java.lang.StringSTRLENstatic java.lang.StringTYPEstatic java.lang.StringVALUE-
Fields inherited from class org.cloudinary.json.JSONObject
NULL
-
-
Constructor Summary
Constructors Constructor Description MetadataValidation()
-
Method Summary
-
Methods inherited from class org.cloudinary.json.JSONObject
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, write
-
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
MIN
public static final java.lang.String MIN
- See Also:
- Constant Field Values
-
MAX
public static final java.lang.String MAX
- See Also:
- Constant Field Values
-
STRLEN
public static final java.lang.String STRLEN
- See Also:
- Constant Field Values
-
EQUALS
public static final java.lang.String EQUALS
- See Also:
- Constant Field Values
-
GREATER_THAN
public static final java.lang.String GREATER_THAN
- See Also:
- Constant Field Values
-
LESS_THAN
public static final java.lang.String LESS_THAN
- See Also:
- Constant Field Values
-
VALUE
public static final java.lang.String VALUE
- See Also:
- Constant Field Values
-
-