Class KeyChoiceFormat
- java.lang.Object
-
- fr.gouv.vitam.common.dsl.schema.meta.Format
-
- fr.gouv.vitam.common.dsl.schema.meta.KeyChoiceFormat
-
public class KeyChoiceFormat extends Format
-
-
Constructor Summary
Constructors Constructor Description KeyChoiceFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
debugInfo()
Return a short partial description of the type, useful of DSL usersjava.util.Map<java.lang.String,Format>
getChoices()
Accessor for Jackson set the map of the properties allowed for the object.protected void
resolve(Schema schema)
Second phase of initialization, when the Format is associated to the Schemavoid
setChoices(java.util.Map<java.lang.String,Format> choices)
void
validate(com.fasterxml.jackson.databind.JsonNode node, java.util.function.Consumer<java.lang.String> fieldReport, ValidatorEngine validator)
void
walk(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, setMax, setMin, setName, setOptional, setReportingType, toString
-
-
-
-
Method Detail
-
resolve
protected void resolve(Schema schema)
Description copied from class:Format
Second phase of initialization, when the Format is associated to the Schema
-
getChoices
public java.util.Map<java.lang.String,Format> getChoices()
Accessor for Jackson set the map of the properties allowed for the object.
-
setChoices
public void setChoices(java.util.Map<java.lang.String,Format> choices)
-
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:Format
Execute an action on each node of the TypeDef tree. E.g. to resolve type name of KindReference
-
-