Package | Description |
---|---|
fr.gouv.vitam.common.dsl.schema | |
fr.gouv.vitam.common.dsl.schema.meta |
Constructor and Description |
---|
ValidationErrorMessage(com.fasterxml.jackson.databind.JsonNode node,
Format property,
ValidationErrorMessage.Code code,
String message,
List<Object> context) |
Modifier and Type | Class and Description |
---|---|
class |
AnyKeyFormat |
class |
ArrayFormat |
class |
EnumFormat |
class |
KeyChoiceFormat |
class |
ObjectFormat |
class |
ReferenceFormat |
class |
ShortReferenceFormat
Shorthand for ReferenceFormat, except that it is defined by a simple string.
|
class |
TypeChoiceArrayFormat |
class |
TypeChoiceFormat |
class |
UnionFormat |
Modifier and Type | Method and Description |
---|---|
Format |
Format.getReportingType() |
Format |
Schema.getType(String typeName)
Get Schema Type
|
Modifier and Type | Method and Description |
---|---|
Map<String,Format> |
KeyChoiceFormat.getChoices()
Accessor for Jackson
set the map of the properties allowed for the object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ValidatorEngine.reportError(Format propertyFormat,
com.fasterxml.jackson.databind.JsonNode node,
ValidationErrorMessage.Code code,
String message) |
void |
ArrayFormat.setItemtype(Format itemType)
Accessor for Jackson
|
void |
AnyKeyFormat.setItemtype(Format keyType)
Accessor for Jackson
|
protected void |
Format.setReportingType(Format format) |
protected void |
ValidatorEngine.validate(Format propertyFormat,
com.fasterxml.jackson.databind.JsonNode node,
Consumer<String> fieldReport) |
Modifier and Type | Method and Description |
---|---|
void |
TypeChoiceFormat.setChoices(Map<JsonTypeName,Format> choices)
Accessor for Jackson
set the map of the json types allowed for the object.
|
void |
KeyChoiceFormat.setChoices(Map<String,Format> choices) |
void |
ObjectFormat.setElements(Map<String,Format> elements)
Accessor for Jackson
set the map of the properties allowed for the object.
|
void |
TypeChoiceArrayFormat.setItemchoices(Map<JsonTypeName,Format> itemChoices)
Accessor for Jackson
set the map of the json types allowed for the object.
|
void |
UnionFormat.setTypes(List<Format> types)
Accessor for Jackson
|
void |
ArrayFormat.walk(Consumer<Format> consumer) |
void |
ObjectFormat.walk(Consumer<Format> consumer) |
void |
TypeChoiceArrayFormat.walk(Consumer<Format> consumer) |
void |
UnionFormat.walk(Consumer<Format> consumer) |
void |
AnyKeyFormat.walk(Consumer<Format> consumer) |
void |
ReferenceFormat.walk(Consumer<Format> consumer) |
void |
KeyChoiceFormat.walk(Consumer<Format> consumer) |
abstract void |
Format.walk(Consumer<Format> consumer)
Execute an action on each node of the TypeDef tree.
|
void |
TypeChoiceFormat.walk(Consumer<Format> consumer) |
void |
EnumFormat.walk(Consumer<Format> consumer) |
Constructor and Description |
---|
Schema(Map<String,Format> definitions) |
Copyright © 2018 Vitam. All rights reserved.