to.etc.domui.util
Class PropertyAccessor<T>

java.lang.Object
  extended by to.etc.domui.util.PropertyAccessor<T>
All Implemented Interfaces:
IValueAccessor<T>, IValueTransformer<T>

Deprecated.

@Deprecated
public final class PropertyAccessor<T>
extends java.lang.Object
implements IValueAccessor<T>

Should be unused. Pending removal. Generalized access to a property's value.

Author:
Frits Jalvingh Created on Jun 18, 2008

Constructor Summary
PropertyAccessor(java.lang.reflect.Method getmethod, java.lang.reflect.Method setmethod, PropertyMetaModel<T> pmm)
          Deprecated.  
PropertyAccessor(java.beans.PropertyDescriptor pd, PropertyMetaModel<T> pmm)
          Deprecated.  
 
Method Summary
 T getValue(java.lang.Object in)
          Deprecated. Retrieve the value from this object.
 void setValue(java.lang.Object target, T value)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyAccessor

public PropertyAccessor(java.lang.reflect.Method getmethod,
                        java.lang.reflect.Method setmethod,
                        PropertyMetaModel<T> pmm)
Deprecated. 

PropertyAccessor

public PropertyAccessor(java.beans.PropertyDescriptor pd,
                        PropertyMetaModel<T> pmm)
Deprecated. 
Method Detail

setValue

public void setValue(java.lang.Object target,
                     T value)
              throws java.lang.Exception
Deprecated. 
Specified by:
setValue in interface IValueAccessor<T>
Throws:
java.lang.Exception

getValue

public T getValue(java.lang.Object in)
           throws java.lang.Exception
Deprecated. 
Retrieve the value from this object. If the input object is null this throws NPE.

Specified by:
getValue in interface IValueTransformer<T>
Throws:
java.lang.Exception
See Also:
IValueTransformer.getValue(java.lang.Object)