com.javaforge.tapestry.prop
Interface PropertyAccessor


public interface PropertyAccessor

Interface that defines direct access to a particular property of a particular instance.

Author:
Howard M. Lewis Ship

Method Summary
 Object readProperty()
          Reads the property.
 void writeProperty(Object newValue)
          Updates the property to a new value
 

Method Detail

readProperty

Object readProperty()
Reads the property.

Returns:
the current value of the property.
Throws:
org.apache.hivemind.ApplicationRuntimeException - if the property is write-only

writeProperty

void writeProperty(Object newValue)
Updates the property to a new value

Parameters:
newValue - the value to assign to the property
Throws:
org.apache.hivemind.ApplicationRuntimeException - if the property is read-only


Copyright © 2005-2007 Howard M. Lewis Ship. All Rights Reserved.