Class EnumFormat
- java.lang.Object
-
- fr.gouv.vitam.common.dsl.schema.meta.Format
-
- fr.gouv.vitam.common.dsl.schema.meta.EnumFormat
-
public class EnumFormat extends Format
-
-
Constructor Summary
Constructors Constructor Description EnumFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdebugInfo()Return a short partial description of the type, useful of DSL usersprotected voidresolve(Schema schema)Second phase of initialization, when the Format is associated to the SchemavoidsetMax(int max)voidsetMin(java.lang.Integer min)voidsetValues(java.util.List<com.fasterxml.jackson.databind.JsonNode> values)Accessor for Jacksonvoidvalidate(com.fasterxml.jackson.databind.JsonNode node, java.util.function.Consumer<java.lang.String> fieldReport, ValidatorEngine validator)voidwalk(java.util.function.Consumer<Format> consumer)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
-
-
-
-
Method Detail
-
resolve
protected void resolve(Schema schema)
Description copied from class:FormatSecond phase of initialization, when the Format is associated to the Schema
-
setValues
public void setValues(java.util.List<com.fasterxml.jackson.databind.JsonNode> values)
Accessor for Jackson
-
validate
public void validate(com.fasterxml.jackson.databind.JsonNode node, java.util.function.Consumer<java.lang.String> fieldReport, ValidatorEngine validator)
-
walk
public void walk(java.util.function.Consumer<Format> consumer)
Description copied from class:FormatExecute an action on each node of the TypeDef tree. E.g. to resolve type name of KindReference
-
-