Class EnumFormat
java.lang.Object
fr.gouv.vitam.common.dsl.schema.meta.Format
fr.gouv.vitam.common.dsl.schema.meta.EnumFormat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn a short partial description of the type, useful of DSL usersprotected void
Second phase of initialization, when the Format is associated to the Schemavoid
setMax
(int max) void
void
Accessor for Jacksonvoid
validate
(com.fasterxml.jackson.databind.JsonNode node, Consumer<String> fieldReport, ValidatorEngine validator) void
Execute an action on each node of the TypeDef tree.Methods inherited from class fr.gouv.vitam.common.dsl.schema.meta.Format
consumeAllFields, getHint, getMax, getMin, getName, getReportingType, isOptional, setHint, setName, setOptional, setReportingType, toString
-
Constructor Details
-
EnumFormat
public EnumFormat()
-
-
Method Details
-
resolve
Description copied from class:Format
Second phase of initialization, when the Format is associated to the Schema -
setValues
Accessor for Jackson -
setMax
public void setMax(int max) -
setMin
-
validate
public void validate(com.fasterxml.jackson.databind.JsonNode node, Consumer<String> fieldReport, ValidatorEngine validator) -
walk
Description copied from class:Format
Execute an action on each node of the TypeDef tree. E.g. to resolve type name of KindReference -
debugInfo
Description copied from class:Format
Return a short partial description of the type, useful of DSL users
-