Module litebridge.orm
Package org.litebridgedb.orm.api.spec
@NullMarked
package org.litebridgedb.orm.api.spec
Models for specifying DTO field mappings
These spec models are primarily used by the ORM to map DTO fields to database expressions,
e.g. via Litebridge.register(java.lang.Class<?>, java.util.function.Function<org.litebridgedb.orm.api.register.RegistrationContext, org.litebridgedb.orm.api.register.RegistrationContextTerminal>).
They are typically created by a user via appropriate builder classes/methods.
-
ClassDescriptionRepresents a base type for various kinds of database column mappings.Specification of a database column, used to map DTO fields to target expressions.DTO-to-table mapping details, used for registering a DTO class as an entity with the Litebridge ORM.Represents the mapping between a specific field in a Data Transfer Object (DTO) and its corresponding database column specification.Defines a mapping of a field or a property in a class to its corresponding representation.Represents a specification for mapping a field in a class to a database column or property.Represents a many-to-many relationship mapping between two tables using a join table.Utility class representing a field mapping that does not map to any database field.Represents a one-to-many relationship mapping between a field in a DTO and a corresponding collection of rows in a database table.Represents the mapping between a Data Transfer Object (DTO) class and a database table, along with a method lookup used for runtime operations.Specification of a database tab, used to map DTO instances to to target tables.