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.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| protected CacheKey | |
| private PropertyChangeListener | changeListener
ChangeListener used for attribute change tracking processed in the property. |
| private FetchGroup | fetchGroup
FetchGroup cached by
|
| private Object | primaryKey
Cache the primary key within the entity |
| protected Map | |
| private boolean | |
| private Session | session
Session cached by
|
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public CacheKey | |
| public FetchGroup | _persistence_getFetchGroup()
Implements org. |
| public Object | |
| public PropertyChangeListener | _persistence_getPropertyChangeListener()
Implements org. |
| public Session | _persistence_getSession()
Implements org. |
| public boolean | Returns: true, if successfulthe attribute attribute)Implements org. |
| public void | _persistence_resetFetchGroup()
Implements org. |
| public void | |
| public void | _persistence_setFetchGroup(FetchGroup group)
Implements org. |
| public void | |
| public void | _persistence_setPropertyChangeListener(PropertyChangeListener listener)
Implements org. |
| public void | _persistence_setSession(Session session)
Implements org. |
| public void | _persistence_setShouldRefreshFetchGroup(boolean shouldRefreshFetchGroup)
Implements org. |
| public boolean | _persistence_shouldRefreshFetchGroup()
Implements org. |
| public abstract DynamicPropertiesManager | |
| public <T> T | get(String
the name of a mapped property
If the property cannot be found, a propertyName)DynamicException will be thrown.Implements org. |
| public Map | |
| public DynamicTypeImpl | |
| public boolean | isSet(String
the name of a mapped property
If the property cannot be found, a propertyName)DynamicException will be thrown.Implements org. |
| protected void | |
| public DynamicEntity | set(String
the name of a mapped property
If the property cannot be found, a propertyName, Object DynamicException will be thrown.the specified object value)Implements org. |
| public DynamicEntity | |
| public String | Returns: the stringOverrides java. |