gw.lang.reflect.IPropertyAccessor Maven / Gradle / Ivy
/*
* 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 );
}