class ConfigurationSchema extends java.lang.Object implements ObjectSchema
Constructor and Description |
---|
ConfigurationSchema(java.lang.String fieldName,
Configuration configuration,
Configuration defaultValue,
boolean required) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fieldName() |
java.lang.Object |
getDefaultValue() |
java.util.Collection<java.lang.String> |
getFieldDependencies(java.lang.String name) |
Schema |
getInnerSchema(java.lang.String fieldName,
Configuration configuration) |
java.util.Collection<java.lang.String> |
getInnerSchemaNames() |
boolean |
isRequired() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFieldsDependingOn, getInnerSchema, validate
getDefaultValueAs, isArray, isBoolean, isEmpty, isNumber, isObject, isString, validateOrDefault
ConfigurationSchema(java.lang.String fieldName, Configuration configuration, Configuration defaultValue, boolean required)
public java.lang.Object getDefaultValue()
getDefaultValue
in interface Schema
public boolean isRequired()
isRequired
in interface Schema
public Schema getInnerSchema(java.lang.String fieldName, Configuration configuration)
getInnerSchema
in interface ObjectSchema
public java.util.Collection<java.lang.String> getFieldDependencies(java.lang.String name)
getFieldDependencies
in interface ObjectSchema
public java.util.Collection<java.lang.String> getInnerSchemaNames()
getInnerSchemaNames
in interface ObjectSchema