Class PropertyAccessStrategyCompositeUserTypeImpl
java.lang.Object
org.hibernate.property.access.internal.PropertyAccessStrategyCompositeUserTypeImpl
- All Implemented Interfaces:
PropertyAccessStrategy
public class PropertyAccessStrategyCompositeUserTypeImpl
extends Object
implements PropertyAccessStrategy
Defines a strategy for accessing property values via a CompositeUserType.
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyAccessStrategyCompositeUserTypeImpl(CompositeUserType<?> compositeUserType, List<String> sortedPropertyNames, List<Type> sortedPropertyTypes) -
Method Summary
Modifier and TypeMethodDescriptionbuildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired) Build aPropertyAccessfor the indicated property
-
Constructor Details
-
PropertyAccessStrategyCompositeUserTypeImpl
public PropertyAccessStrategyCompositeUserTypeImpl(CompositeUserType<?> compositeUserType, List<String> sortedPropertyNames, List<Type> sortedPropertyTypes)
-
-
Method Details
-
buildPropertyAccess
public PropertyAccess buildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired) Description copied from interface:PropertyAccessStrategyBuild aPropertyAccessfor the indicated property- Specified by:
buildPropertyAccessin interfacePropertyAccessStrategy- Parameters:
containerJavaType- The Java type that contains the property; may benullfor 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
-