org.jcon.data
Class PropertySettingMangler

java.lang.Object
  extended by org.jcon.data.PropertySettingMangler
All Implemented Interfaces:
ObjectMangler, ObjectTransform

public class PropertySettingMangler
extends java.lang.Object
implements ObjectMangler

Sets properties in a BeanGraphable object using a map of values. WARNING: MODIFIES THE OBJECT!!!!!!!!!!!

Author:
Paul Reavis Copyright 2000 Partner Software, Inc.

Constructor Summary
PropertySettingMangler()
           
 
Method Summary
 java.util.Map getValues()
           
 void setValues(java.util.Map newValues)
           
 java.lang.Object transform(java.lang.Object original)
          Our one method; this transforms one object into another.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertySettingMangler

public PropertySettingMangler()
Method Detail

transform

public java.lang.Object transform(java.lang.Object original)
Description copied from interface: ObjectTransform
Our one method; this transforms one object into another. Transformation must be nondestructive, but may produce a derived product that is still affected by changes to the original, so beware.

Specified by:
transform in interface ObjectTransform

getValues

public java.util.Map getValues()

setValues

public void setValues(java.util.Map newValues)