org.slim3.commons.beanutil
Class Copy

java.lang.Object
  extended by org.slim3.commons.beanutil.AbstractCopy<Copy>
      extended by org.slim3.commons.beanutil.Copy

public class Copy
extends AbstractCopy<Copy>

A class to copy a bean to an another bean.

Since:
3.0
Author:
higa

Field Summary
protected  Object dest
          The destination.
protected  Object src
          The source.
 
Fields inherited from class org.slim3.commons.beanutil.AbstractCopy
converterMap, converters, copyEmptyString, copyNull, DEFAULT_DATE_CONVERTER, DEFAULT_TIME_CONVERTER, DEFAULT_TIMESTAMP_CONVERTER, EMPTY_STRINGS, excludedPropertyNames, includedPropertyNames
 
Constructor Summary
Copy(Object src, Object dest)
          Constructor.
 
Method Summary
 void execute()
          Executes copy process.
 
Methods inherited from class org.slim3.commons.beanutil.AbstractCopy
converter, convertValue, copyBeanToBean, copyBeanToMap, copyEmptyString, copyMapToBean, copyMapToMap, copyNull, dateConverter, exclude, findConverter, findDefaultConverter, include, isTargetProperty, isTargetValue, numberConverter, sqlDateConverter, timeConverter, timestampConverter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

src

protected Object src
The source.


dest

protected Object dest
The destination.

Constructor Detail

Copy

public Copy(Object src,
            Object dest)
     throws NullPointerException,
            IllegalArgumentException
Constructor.

Parameters:
src - the source
dest - the destination
Throws:
NullPointerException - if the src parameter is null or if the dest parameter is null
IllegalArgumentException - if the src parameter is map or if the dest parameter is map
Method Detail

execute

public void execute()
Executes copy process.



Copyright © 2008-2009 The Slim3 project. All Rights Reserved.