All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.lang.reflect.IPropertyAccessor Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.reflect;

import gw.lang.PublishInGosu;

@PublishInGosu
public interface IPropertyAccessor
{
  /**
   * Returns the value for a property given a "this" object
   * @param ctx the "this" pointer.
   * @return the value of the property for the ctx object
   */
  public Object getValue( Object ctx );

  /**
   * Sets the property to the given value for the ctx object
   * @param ctx the "this" pointer
   * @param value the new value
   */
  public void setValue( Object ctx, Object value );

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy