Interface PropertyAccessor<T>

Type Parameters:
T - the type of the property

@Deprecated(since="2022-10-31") public interface PropertyAccessor<T>
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
Provides access for getting and setting property data.
Since:
3.5
  • Method Summary

    Modifier and Type
    Method
    Description
    <S> T
    get(S instance)
    Deprecated.
    Gets the value for a given PropertyModel instance.
    <S> void
    set(S instance, T value)
    Deprecated.
    Sets a value on the given PropertyModel
  • Method Details

    • get

      <S> T get(S instance)
      Deprecated.
      Gets the value for a given PropertyModel instance.
      Type Parameters:
      S - the class instance type
      Parameters:
      instance - the class instance to get the property value from
      Returns:
      the value of the property.
    • set

      <S> void set(S instance, T value)
      Deprecated.
      Sets a value on the given PropertyModel
      Type Parameters:
      S - the class instance type
      Parameters:
      instance - the instance to set the property value to
      value - the new value for the property