public class KeyChoiceFormat extends Format
| Constructor and Description |
|---|
KeyChoiceFormat() |
| Modifier and Type | Method and Description |
|---|---|
String |
debugInfo()
Return a short partial description of the type, useful of DSL users
|
Map<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 Schema
|
void |
setChoices(Map<String,Format> choices) |
void |
validate(com.fasterxml.jackson.databind.JsonNode node,
Consumer<String> fieldReport,
ValidatorEngine validator) |
void |
walk(Consumer<Format> consumer)
Execute an action on each node of the TypeDef tree.
|
consumeAllFields, getHint, getMax, getMin, getName, getReportingType, isOptional, setHint, setMax, setMin, setName, setOptional, setReportingType, toStringprotected void resolve(Schema schema)
Formatpublic Map<String,Format> getChoices()
public void validate(com.fasterxml.jackson.databind.JsonNode node,
Consumer<String> fieldReport,
ValidatorEngine validator)
public void walk(Consumer<Format> consumer)
FormatCopyright © 2018 Vitam. All rights reserved.