Class PropertyAccessStrategyMixedImpl

java.lang.Object
org.hibernate.property.access.internal.PropertyAccessStrategyMixedImpl
All Implemented Interfaces:
PropertyAccessStrategy

public class PropertyAccessStrategyMixedImpl extends Object implements PropertyAccessStrategy
A PropertyAccessStrategy that selects between available getter/setter method and/or field.
  • Field Details

  • Constructor Details

    • PropertyAccessStrategyMixedImpl

      public PropertyAccessStrategyMixedImpl()
  • Method Details

    • buildPropertyAccess

      public PropertyAccess buildPropertyAccess(Class<?> containerJavaType, String propertyName, boolean setterRequired)
      Description copied from interface: PropertyAccessStrategy
      Build a PropertyAccess for the indicated property
      Specified by:
      buildPropertyAccess in interface PropertyAccessStrategy
      Parameters:
      containerJavaType - The Java type that contains the property; may be null for non-pojo cases.
      propertyName - The property name
      setterRequired - Whether it is an error if we are unable to find a corresponding setter
      Returns:
      The appropriate PropertyAccess