Uses of Interface
org.litebridge.db.spi.MappedFieldTarget
Packages that use MappedFieldTarget
Package
Description
Service Provider Interface (SPI) for integrating database drivers with Litebridge
Persistence subsystem; contains classes for saving/updating/deleting DTOs
-
Uses of MappedFieldTarget in org.litebridge.db.spi
Classes in org.litebridge.db.spi that implement MappedFieldTargetModifier and TypeClassDescriptionfinal classMetadata information for a database column. -
Uses of MappedFieldTarget in org.litebridge.orm.persistence
Classes in org.litebridge.orm.persistence that implement MappedFieldTargetModifier and TypeClassDescriptionfinal recordA mapped composite key, used for mapping multiple columns to a single field containing a related DTO.final recordA many-to-many relationship mapping in an object-relational mapping (ORM) context.final recordRepresents a one-to-many relationship mapping in an object-relational mapping (ORM) context.Methods in org.litebridge.orm.persistence that return MappedFieldTargetModifier and TypeMethodDescriptionMappedCompositeKey.columns()Returns the value of thecolumnsrecord component.OrmTable.mappedFieldTargetForField(String fieldName) Get the mapped field target for the specified field name, throwing an exception if not found.OrmTable.mappedFieldTargetForField(FieldAccessor fieldAccessor) Get the mapped field target for the specified field accessor, throwing an exception if not found.@Nullable MappedFieldTargetOrmTable.mappedFieldTargetForFieldOrNull(String fieldName) Get the mapped field target for the specified field name, ornullif not found.@Nullable MappedFieldTargetOrmTable.mappedFieldTargetForFieldOrNull(FieldAccessor fieldAccessor) Get the mapped field target for the specified field accessor, ornullif not found.Methods in org.litebridge.orm.persistence that return types with arguments of type MappedFieldTargetConstructors in org.litebridge.orm.persistence with parameters of type MappedFieldTargetModifierConstructorDescriptionMappedCompositeKey(MappedFieldTarget[] columns, Supplier<OrmTable> targetOrmTable, String[] targetColumns) Creates an instance of aMappedCompositeKeyrecord class.Constructor parameters in org.litebridge.orm.persistence with type arguments of type MappedFieldTargetModifierConstructorDescriptionOrmTable(Class<?> dtoClass, @Nullable Class<?> contextDtoClass, TableMetaData metaData, Map<FieldAccessor, MappedFieldTarget> fieldAccessorTargetMap, ChangeTracker changeTracker, ClassFieldAccessorCache classFieldAccessorCache) Constructs a newOrmTableinstance, initializing table metadata, field-to-column mappings, and a change tracker for managing object state.OrmTable(Class<?> dtoClass, TableMetaData metaData, Map<FieldAccessor, MappedFieldTarget> fieldAccessorTargetMap, ChangeTracker changeTracker, ClassFieldAccessorCache classFieldAccessorCache) Constructs a newOrmTableinstance, initializing table metadata, field-to-column mappings, and a change tracker for managing object state.