Module org.seasar.doma.core
Package org.seasar.doma.jdbc.entity
package org.seasar.doma.jdbc.entity
Provides classes and interfaces for entity mapping and lifecycle management.
This package contains the core components for mapping Java objects to database tables and managing their lifecycle during database operations. Key components include:
EntityType- Metadata about entity classesEntityPropertyType- Metadata about entity propertiesEntityListener- Lifecycle callbacks for entitiesNamingType- Naming conventions for table and column names
The classes in this package are typically used by the Doma annotation processor to generate implementations at compile time, rather than being used directly by application code.
-
ClassDescriptionAbstractEntityType<ENTITY>AssignedIdPropertyType<ENTITY,
BASIC, CONTAINER> Represents a property in an entity class that is used as a primary key with an application-assigned value.Represents a property that defines an association between entity classes.Represents the metadata for a database column.DefaultPropertyType<ENTITY,BASIC, CONTAINER> A description for a default property.EmbeddableType<EMBEDDABLE>Represents the metadata for a class annotated withEmbeddable.EmbeddedPropertyType<ENTITY,EMBEDDABLE> Represents a property in an entity class that is mapped to an embeddable object.Represents the metadata for an embedded property within an entity.EntityListener<ENTITY>A callback listener interface that is invoked during entity lifecycle events.Exception thrown when access to an entity property fails.Exception thrown when a property is referenced but not defined in an entity class.Exception thrown when a property is not found in an entity class.EntityPropertyType<ENTITY,BASIC> Describes a property of an entity class that maps to a database column.EntityType<ENTITY>Describes metadata for an entity class that maps to a database table.A factory for entity descriptions.Exception thrown when an entity type implementation is not found.GeneratedIdPropertyType<ENTITY,BASIC extends Number, CONTAINER> A property type for entity ID fields whose values are automatically generated.A visitor implementation that sets an ID value in a number wrapper.Defines naming conventions for converting between entity/property names and table/column names.NullEntityListener<ENTITY>An entity listener that does nothing.Thrown to indicate that the access to the filed that is annotated withOriginalStatesis failed.An accessor that is access to the field that is annotated withOriginalStates.Exception thrown when a field annotated withOriginalStatesis not found in an entity.A context for post-processing an entity after a delete operation.A context for post-processing an entity after an insert operation.A context for post-processing an entity after an update operation.A context for pre-processing an entity before a delete operation.A context for pre-processing an entity before an insert operation.A context for pre-processing an entity before an update operation.Property<ENTITY,BASIC> Represents a property of an entity class that can be mapped to a database column.TenantIdPropertyType<ENTITY,BASIC, CONTAINER> Represents a property in an entity class that is used for multi-tenancy support.VersionPropertyType<ENTITY,BASIC extends Number, CONTAINER> Represents a property in an entity class that is used for optimistic locking.A visitor implementation that increments a version value in a number wrapper.A visitor implementation that sets a version value in a number wrapper.