public class EnumFormat extends Format
Constructor and Description |
---|
EnumFormat() |
Modifier and Type | Method and Description |
---|---|
String |
debugInfo()
Return a short partial description of the type, useful of DSL users
|
protected void |
resolve(Schema schema)
Second phase of initialization, when the Format is associated to the Schema
|
void |
setMax(int max) |
void |
setMin(Integer min) |
void |
setValues(List<com.fasterxml.jackson.databind.JsonNode> values)
Accessor for Jackson
|
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, setName, setOptional, setReportingType, toString
protected void resolve(Schema schema)
Format
public void setValues(List<com.fasterxml.jackson.databind.JsonNode> values)
public void validate(com.fasterxml.jackson.databind.JsonNode node, Consumer<String> fieldReport, ValidatorEngine validator)
public void walk(Consumer<Format> consumer)
Format
Copyright © 2018 Vitam. All rights reserved.