Class PropertyAccessEmbeddedImpl
- java.lang.Object
-
- org.hibernate.property.access.internal.PropertyAccessEmbeddedImpl
-
- All Implemented Interfaces:
PropertyAccess
public class PropertyAccessEmbeddedImpl extends Object implements PropertyAccess
PropertyAccess for handling non-aggregated composites. IMPL NOTE : We actually use a singleton for the Setter; we cannot for the getter mainly because we need to differentiateGetter.getReturnTypeClass()
. Ultimately I'd prefer to model that "common information" on PropertyAccess itself.
-
-
Constructor Summary
Constructors Constructor Description PropertyAccessEmbeddedImpl(PropertyAccessStrategyEmbeddedImpl strategy, Class<?> containerType, String propertyName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Getter
getGetter()
Obtain the delegate for getting values for the described persistent propertyPropertyAccessStrategy
getPropertyAccessStrategy()
Access to the PropertyAccessStrategy that created this PropertyAccessSetter
getSetter()
Obtain the delegate for setting values for the described persistent property
-
-
-
Constructor Detail
-
PropertyAccessEmbeddedImpl
public PropertyAccessEmbeddedImpl(PropertyAccessStrategyEmbeddedImpl strategy, Class<?> containerType, String propertyName)
-
-
Method Detail
-
getPropertyAccessStrategy
public PropertyAccessStrategy getPropertyAccessStrategy()
Description copied from interface:PropertyAccess
Access to the PropertyAccessStrategy that created this PropertyAccess- Specified by:
getPropertyAccessStrategy
in interfacePropertyAccess
- Returns:
- The PropertyAccessStrategy that created this PropertyAccess
-
getGetter
public Getter getGetter()
Description copied from interface:PropertyAccess
Obtain the delegate for getting values for the described persistent property- Specified by:
getGetter
in interfacePropertyAccess
- Returns:
- The property getter
-
getSetter
public Setter getSetter()
Description copied from interface:PropertyAccess
Obtain the delegate for setting values for the described persistent property- Specified by:
getSetter
in interfacePropertyAccess
- Returns:
- The property setter
-
-