Class DynamicEntityImpl

  • All Implemented Interfaces:
    ChangeTracker, DynamicEntity, PersistenceEntity, FetchGroupTracker

    public abstract class DynamicEntityImpl
    extends Object
    implements DynamicEntity, PersistenceEntity, ChangeTracker, FetchGroupTracker
    This abstract class is used to represent an entity which typically is not realized in Java code. In combination with the DynamicClassLoader ASM is used to generate subclasses that will work within EclipseLink's framework. Since no concrete fields or methods exist on this class the mappings used must be customized to use a custom AttributeAccessor (ValuesAccessor).

    Type/Property Meta-model: This dynamic entity approach also includes a meta-model facade to simplify access to the types and property information so that clients can more easily understand the model. Each DynamicTypeImpl wraps the underlying EclipseLink relational-descriptor and the DynamicPropertiesManager wraps each mapping. The client application can use these types and properties to facilitate generic access to the entity instances and are required for creating new instances as well as for accessing the Java class needed for JPA and EclipseLink native API calls.

    Since:
    EclipseLink 1.2
    Author:
    dclarke, mnorman