to.etc.domui.component.meta.impl
Class IdentityAccessor<T>

java.lang.Object
  extended by to.etc.domui.component.meta.impl.IdentityAccessor<T>
All Implemented Interfaces:
IValueAccessor<T>, IValueTransformer<T>

public class IdentityAccessor<T>
extends java.lang.Object
implements IValueAccessor<T>

Accessor which returns the same object as it's input.

Author:
Frits Jalvingh Created on Jul 28, 2008

Constructor Summary
IdentityAccessor()
           
 
Method Summary
 T getValue(java.lang.Object in)
           
 void setValue(java.lang.Object target, T value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityAccessor

public IdentityAccessor()
Method Detail

getValue

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

setValue

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