net.sf.doolin.util
Class SimpleItemCopier<T>

java.lang.Object
  extended by net.sf.doolin.util.SimpleItemCopier<T>
Type Parameters:
T - Type of object to copy
All Implemented Interfaces:
ItemCopier<T>

public class SimpleItemCopier<T>
extends Object
implements ItemCopier<T>

Copies using BeanUtils.copyProperties(Object, Object)

Author:
Damien Coraboeuf (x74639)

Constructor Summary
SimpleItemCopier()
           
 
Method Summary
 void copy(T source, T target)
          Copies the source to the target
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleItemCopier

public SimpleItemCopier()
Method Detail

copy

public void copy(T source,
                 T target)
Description copied from interface: ItemCopier
Copies the source to the target

Specified by:
copy in interface ItemCopier<T>
Parameters:
source - Source object
target - Target object


Copyright © 2011. All Rights Reserved.