Constructor and Description |
---|
ArraySchema(java.lang.String fieldName,
Schema elementSchema,
boolean required,
ConfigurationArray defaultValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fieldName() |
java.lang.Object |
getDefaultValue() |
Schema |
getElementSchema() |
boolean |
isRequired() |
boolean |
validate(java.lang.Object object)
Validates the given input object, returns whether it is successfully validated against this input
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultValueAs, isArray, isBoolean, isEmpty, isNumber, isObject, isString, validateOrDefault
ArraySchema(java.lang.String fieldName, Schema elementSchema, boolean required, ConfigurationArray defaultValue)
public Schema getElementSchema()
public java.lang.Object getDefaultValue()
getDefaultValue
in interface Schema
public boolean isRequired()
isRequired
in interface Schema
public boolean validate(java.lang.Object object)
Validator