Class PropertyAccessStrategyBasicImpl

  • All Implemented Interfaces:
    PropertyAccessStrategy

    public class PropertyAccessStrategyBasicImpl
    extends Object
    implements PropertyAccessStrategy
    Defines a strategy for accessing property values via a get/set pair, which may be nonpublic. This is the default (and recommended) strategy.
    • Constructor Detail

      • PropertyAccessStrategyBasicImpl

        public PropertyAccessStrategyBasicImpl()
    • Method Detail

      • buildPropertyAccess

        public PropertyAccess buildPropertyAccess​(Class containerJavaType,
                                                  String propertyName)
        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
        Returns:
        The appropriate PropertyAccess