Class PropertyAccessStrategyEmbeddedImpl
java.lang.Object
org.hibernate.property.access.internal.PropertyAccessStrategyEmbeddedImpl
- All Implemented Interfaces:
PropertyAccessStrategy
A
PropertyAccessStrategy
that deals with non-aggregated composites.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyAccessStrategyEmbeddedImpl
Singleton access -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildPropertyAccess
(Class<?> containerJavaType, String propertyName, boolean setterRequired) Build aPropertyAccess
for the indicated property
-
Field Details
-
INSTANCE
Singleton access
-
-
Constructor Details
-
PropertyAccessStrategyEmbeddedImpl
public PropertyAccessStrategyEmbeddedImpl()
-
-
Method Details
-
buildPropertyAccess
public PropertyAccess buildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired) Description copied from interface:PropertyAccessStrategy
Build aPropertyAccess
for the indicated property- Specified by:
buildPropertyAccess
in interfacePropertyAccessStrategy
- Parameters:
containerJavaType
- The Java type that contains the property; may benull
for non-pojo cases.propertyName
- The property namesetterRequired
- Whether it is an error if we are unable to find a corresponding setter- Returns:
- The appropriate PropertyAccess
-