Class OntologyValidator
java.lang.Object
fr.gouv.vitam.metadata.core.validation.OntologyValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
stringExceedsMaxLuceneUtf8StorageSize
(String textValue, int maxUtf8Length) ES stores data in lucene indexes that have 32Kb max limit per token.com.fasterxml.jackson.databind.node.ObjectNode
verifyAndReplaceFields
(com.fasterxml.jackson.databind.JsonNode jsonNode) Verify and replace fields.
-
Constructor Details
-
OntologyValidator
-
-
Method Details
-
verifyAndReplaceFields
public com.fasterxml.jackson.databind.node.ObjectNode verifyAndReplaceFields(com.fasterxml.jackson.databind.JsonNode jsonNode) throws MetadataValidationException Verify and replace fields.- Parameters:
jsonNode
- to modify- Returns:
- error list
- Throws:
MetadataValidationException
-
stringExceedsMaxLuceneUtf8StorageSize
ES stores data in lucene indexes that have 32Kb max limit per token.
-