public class ReferenceFormat extends Format
Constructor and Description |
---|
ReferenceFormat() |
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 |
setType(String type)
Accessor for Jackson
set the map of the properties allowed for the object.
|
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
public void setType(String type)
public void validate(com.fasterxml.jackson.databind.JsonNode node, Consumer<String> fieldReport, ValidatorEngine validator)
public void walk(Consumer<Format> consumer)
Format
public String debugInfo()
Format
Copyright © 2018 Vitam. All rights reserved.