Package groovy.beans

Interface PropertyWriter

All Known Subinterfaces:
PropertyAccessor
All Known Implementing Classes:
DefaultPropertyAccessor, DefaultPropertyWriter

public interface PropertyWriter
Strategy for writing a named property on an object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(Object owner, String propertyName, Object value)
    Writes the named property on the supplied owner.
  • Method Details

    • write

      void write(Object owner, String propertyName, Object value)
      Writes the named property on the supplied owner.
      Parameters:
      owner - the object that owns the property
      propertyName - the property name
      value - the value to assign