Package com.northconcepts.datapipeline.foundations.schema
package com.northconcepts.datapipeline.foundations.schema
Schema models for validation, mapping, and code generation.
-
ClassDescriptionA
FieldDeffor binary (byte[]) values with optional minimum and maximum lengths; allowed values are not supported.AFieldDeffor boolean values.The metadata structure defining a file, JSON object, database table, or class for validation and mapping.The metadata model for relating two entities in a schema.The metadata structure of one column or property in a file, JSON object, database table, or class for validation and mapping.A foreign key's ON UPDATE or ON DELETE referential action in anEntityRelationshipDef.The metadata model for an entity's index.The metadata model for a field in an entity's index.AFieldDeffor numeric values with optional range, precision and scale limits and a parsing pattern for mapping.See the definitions in JPA's javax.persistence.GenerationTypeAFieldDeffor nested records, validated and mapped using another entity in the same schema.Whether one primary entity record relates to one or to many foreign entity records in anEntityRelationshipDef.The metadata model containing a set of related entities.A filter that matches a record against an entity definition.Base class for the schema model (SchemaParts,SchemaProblems and validation results), adding Java code generation toFoundationObject.Base class for the elements of a schema definition -- theSchemaDefitself and its entities, relationships, fields, indexes and index fields.The kinds ofSchemaPart: schema, entity, entity relationship, field, index and index field.Describes an issue found when checking a schema definition and theSchemaPartit was found in.Severity levels for schema problems; currently unused.Implemented by schema elements that can check themselves, and optionally their children, forSchemaProblems.Converts and validates records using the specified entity schema.Keeps a per-thread stack of the names being validated, used to build qualified field names such asorder.items.[0]for validation messages.Static checks used by the schema definitions to add aSchemaProblemto a list for each issue found.AFieldDeffor date, time and datetime values with optional minimum and maximum limits and a parsing pattern for mapping.AFieldDeffor text values with optional length limits, blank check, regular expression and trimming.One mapping or validation error, with the entity, field or validation rule it concerns.Collects theValidationMessageerrors produced when mapping or validating data against a schema definition.