PropertyAccess implementation that deals with an underlying Map
as the container, using Map#get and Map#put.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Getter | |
| private final Setter | |
| private final PropertyAccessStrategyMapImpl |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Getter | getGetter()
Implements org. |
| public PropertyAccessStrategy | getPropertyAccessStrategy()
Implements org. PropertyAccessStrategy that created this instance.
|
| public Setter | getSetter()
Implements org. |
| getter | back to summary |
|---|---|
| private final Getter getter | |
| setter | back to summary |
|---|---|
| private final Setter setter | |
| strategy | back to summary |
|---|---|
| private final PropertyAccessStrategyMapImpl strategy | |
| PropertyAccessMapImpl | back to summary |
|---|---|
| public PropertyAccessMapImpl(PropertyAccessStrategyMapImpl strategy, final String propertyName) | |
| getGetter | back to summary |
|---|---|
| public Getter getGetter() Implements org. Doc from org. Obtain the delegate for getting values of the persistent attribute. | |
| getPropertyAccessStrategy | back to summary |
|---|---|
| public PropertyAccessStrategy getPropertyAccessStrategy() Implements org. Doc from org. Access to the
| |
| getSetter | back to summary |
|---|---|
| public Setter getSetter() Implements org. Doc from org. Obtain the delegate for setting values of the persistent attribute. | |
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public @Nullable Object | get(Object
The instance containing the property value to be retrieved. owner)Implements org. |
| public @Nullable Object | getForInsert(Object
The instance containing the value to be retrieved. owner, Map<K, V> a map of merged persistent instances to detached instances mergeMap, SharedSessionContractImplementor The session from which this request originated. session)Implements org. |
| public @Nullable Member | getMember()
Implements org. |
| public @Nullable Method | getMethod()
Implements org. |
| public @Nullable String | getMethodName()
Implements org. |
| public Type | getReturnType()
Implements org. |
| public Class | getReturnTypeClass()
Implements org. |
| propertyName | back to summary |
|---|---|
| private final String propertyName | |
| GetterImpl | back to summary |
|---|---|
| public GetterImpl(String propertyName) | |
| get | back to summary |
|---|---|
| public @Nullable Object get(Object owner) Implements org. Doc from org. Get the property value from the given owner instance.
| |
| getForInsert | back to summary |
|---|---|
| public @Nullable Object getForInsert(Object owner, Map<K, V> mergeMap, SharedSessionContractImplementor session) Implements org. Doc from org. Get the property value from the given owner instance.
| |
| getMember | back to summary |
|---|---|
| public @Nullable Member getMember() Implements org. Doc from org. Retrieve the member to which this property maps. This might be the field or it might be the getter method.
Optional operation (may return | |
| getMethod | back to summary |
|---|---|
| public @Nullable Method getMethod() Implements org. Doc from org. Retrieve the getter-method.
Optional operation (may return | |
| getMethodName | back to summary |
|---|---|
| public @Nullable String getMethodName() Implements org. Doc from org. Retrieve the getter-method name.
Optional operation (may return | |
| getReturnType | back to summary |
|---|---|
| public Type getReturnType() Implements org. Doc from org. Retrieve the declared Java type | |
| getReturnTypeClass | back to summary |
|---|---|
| public Class Implements org. Doc from org. Retrieve the declared Java type class | |
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public @Nullable Method | getMethod()
Implements org. null)
|
| public @Nullable String | getMethodName()
Implements org. null)
|
| public void |
| propertyName | back to summary |
|---|---|
| private final String propertyName | |
| SetterImpl | back to summary |
|---|---|
| public SetterImpl(String propertyName) | |
| getMethod | back to summary |
|---|---|
| public @Nullable Method getMethod() Implements org. Doc from org. Optional operation (may return
| |
| getMethodName | back to summary |
|---|---|
| public @Nullable String getMethodName() Implements org. Doc from org. Optional operation (may return
| |
| set | back to summary |
|---|---|
public void set(Object target, @Nullable Object value)
| |