Class ReferenceFormat
java.lang.Object
fr.gouv.vitam.common.dsl.schema.meta.Format
fr.gouv.vitam.common.dsl.schema.meta.ReferenceFormat
- Direct Known Subclasses:
ShortReferenceFormat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a short partial description of the type, useful of DSL usersprotected voidSecond phase of initialization, when the Format is associated to the SchemavoidsetMax(int max) voidvoidAccessor for Jackson set the map of the properties allowed for the object.voidvalidate(com.fasterxml.jackson.databind.JsonNode node, Consumer<String> fieldReport, ValidatorEngine validator) voidExecute 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
-
Constructor Details
-
ReferenceFormat
public ReferenceFormat()
-
-
Method Details
-
setType
Accessor for Jackson set the map of the properties allowed for the object. -
setMax
public void setMax(int max) -
setMin
-
validate
public void validate(com.fasterxml.jackson.databind.JsonNode node, Consumer<String> fieldReport, ValidatorEngine validator) -
walk
Description copied from class:FormatExecute an action on each node of the TypeDef tree. E.g. to resolve type name of KindReference -
debugInfo
Description copied from class:FormatReturn a short partial description of the type, useful of DSL users -
resolve
Description copied from class:FormatSecond phase of initialization, when the Format is associated to the Schema
-