$B>.NSMM(B<div><br></div><div>$BAaB.$NBP1~M-Fq$&8f:B$$$^$7$?!#(B</div><div>$B$3$l$GBgJQ;H$$$d$9$/$J$j$^$7$?!#(B</div><div><br></div><div>$B;VB<(B<br><br><div class="gmail_quote">2010$BG/(B8$B7n(B30$BF|(B19:30 Koichi Kobayashi <span dir="ltr">&lt;<a href="mailto:koichik@gmail.com">koichik@gmail.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">$B>.NS(B (koichik) $B$G$9!%(B<br>
<br>
&gt; &gt; Date: &nbsp; &nbsp;Sat, 28 Aug 2010 15:18:18 +0900<br>
&gt; &gt; From: &nbsp; &nbsp;Masanobu Shimura &lt;<a href="mailto:mikeshimura@gmail.com">mikeshimura@gmail.com</a>&gt;<br>
&gt; &gt; To: &nbsp; &nbsp; &nbsp;<a href="mailto:seasar-dev@ml.seasar.org">seasar-dev@ml.seasar.org</a><br>
&gt; &gt; Subject: [seasar-dev:1214] Re: S2Util<br>
&gt; &gt;<br>
&gt; &gt; &gt; org.slim3.util$B$N(BBeanUtil$B$N(B Copy$B$G(B CopyOptions$BIU$-$,BgJQ;H$$0W$$$N$G$9$,!"(B<br>
&gt; &gt; &gt; $B$3$l$r(B S2UTIL$B$K<h$j9~$`;v$r8!F$$7$FD:$1$^$;$s$G$7$g$&$+!#(B<br>
<br>
</div>Seasar2 $B$N(B Beans $B$r(B Slim3 $B$N(B BeanUtil $BIw$K$7$F(B<br>
Seasar2 $B$N(B BeanUtil $B$HE}9g$7$^$7$?!%(B<br>
$B$H$$$&$+!$85$N(B BeanUtil $B$O@W7A$J$7!%(B<br>
Slim3 $B$G$O(B Beans $B$N5!G=$,0lIt:o$i$l$F$$$k$N$G$9$,!$(B<br>
S2Util $B$G$O$=$N$^$^;D$7$F$^$9!%(B<br>
<br>
$B$^$?!$(BSlim3 $B$G$O(B BeanUtil $B$N(B copy() $B%a%=%C%I$O(B<br>
<br>
copy(Object, Object);<br>
copy(Object, Map);<br>
<br>
$B$N$h$&$K%*!<%P!<%m!<%I$5$l$F$$$F!$(BMap $B$O(B<br>
generics $B$K$J$C$F$$$J$$867?$,;H$o$l$F$$$^$9!%(B<br>
$B867?$,;H$o$l$F$$$k$N$O(B<br>
<br>
copy(Object, Map&lt;String, Object&gt;)<br>
<br>
$B$J$I$H$9$k$HBh(B 2 $B0z?t$K(B Map&lt;String, String&gt; $B$r(B<br>
$B;XDj$7$?>l9g$J$I$K(B copy(Object, Object) $B$NJ}$,(B<br>
$B8F$P$l$F$7$^$&$N$KBP=h$7$F$$$k$b$N$H;W$o$l$^$9!%(B<br>
$B$*$+$2$G(B copy(Object, Object) $B$,8F$P$l$k$3$H$O(B<br>
$B$J$$$N$G$9$,!$K\Mh$O(B Map&lt;String, String&gt; $B$r(B<br>
$BEO$7$?$i%3%s%Q%$%k%(%i!<$K$J$C$F$[$7$$$o$1$G!$(B<br>
$B$=$3$,$A$g$C$HG:$^$7$$!%(B<br>
<br>
$B$=$3$G(B S2Util $B$G$O%*!<%P!<%m!<%I$O$d$a$F!$(B<br>
<br>
copyBeanToBean(Object, Object);<br>
copyBeanToMap(Object, Map&lt;String, Object&gt;);<br>
<br>
$B$N$h$&$K$7$^$7$?!%(B<br>
$B$D$$$G$K(B createAndCopy() $BAjEv$O(B<br>
<br>
copyBeanToNewBean(Object, Class&lt;?&gt;);<br>
copyBeanToNewMap(Object);<br>
copyBeanToNewMap(Object, Class&lt;?&gt;);<br>
<br>
$B$N$h$&$K$7$^$7$?!%(B<br>
<br>
$B$A$g$C$H>iD9$+$J$H$$$&5$$b$7$^$9$,!$$R$H$^$:(B<br>
$B0BA4$JJ}$K$7$F$_$?$H$$$&$3$H$G!%(B<br>
<br>
$B4V0c$$$,$"$C$F$b%3%s%Q%$%k%(%i!<$K$J$i$J$/$F(B<br>
$B$$$$$+$iC;$$%a%=%C%IL>$NJ}$,$$$$$J$I!$(B<br>
$B0U8+$,$"$C$?$i$*4j$$$7$^$9!d(BALL<br>
<br>
<br>
$B$^$?!$(BCopyOptions $B$N%$%s%9%?%s%9$r@8@.$9$k(B<br>
static $B%a%=%C%I$rDj5A$7$?(B CopyOptionsUtil $B$r(B<br>
$BMQ0U$7$?$N$G!$$3$l$r(B static import $B$9$k$H(B<br>
<br>
copyBeanToBean(src, dest, excludeNull());<br>
<br>
$B$J$I$H=q$1$^$9!%(B<br>
$BLa$jCM$O(B CopyOptions $B$J$N$G!$(B<br>
<br>
copyBeanToBean(src, dest, excludeNull().excludeWhitespace());<br>
<br>
$B$H%A%'!<%s$9$k$3$H$,=PMh$^$9!%(B<br>
Seasar2 $B$N(B Beans $B$@$H%a%=%C%IL>$O(B<br>
excludesNull() $B$H$+$@$C$?$N$G$9$,!$(B<br>
CopyOptions(Util)? $B$N%a%=%C%IL>$O(B<br>
Slim3 $B$K9g$o$;$F(B excludeNull() $B$J$I(B<br>
&#39;s&#39; $B$,$J$/$J$C$F$$$^$9!%(B<br>
<br>
<br>
--<br>
<div class="im">&lt;component name=&quot;koichik&quot;&gt;<br>
 &nbsp; &nbsp;&lt;property name=&quot;fullName&quot;&gt;&quot;Koichi Kobayashi&quot;&lt;/property&gt;<br>
</div> &nbsp; &nbsp;&lt;property name=&quot;email&quot;&gt;&quot;<a href="mailto:koichik@gmail.com">koichik@gmail.com</a>&quot;&lt;/property&gt;<br>
<div class="im"> &nbsp; &nbsp;&lt;property name=&quot;blog&quot;&gt;&quot;<a href="http://d.hatena.ne.jp/koichik" target="_blank">http://d.hatena.ne.jp/koichik</a>&quot;&lt;/property&gt;<br>
</div><div><div></div><div class="h5">&lt;/component&gt;<br>
<br>
_______________________________________________<br>
Seasar-dev mailing list<br>
<a href="mailto:Seasar-dev@ml.seasar.org">Seasar-dev@ml.seasar.org</a><br>
<a href="https://ml.seasar.org/mailman/listinfo/seasar-dev" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-dev</a><br>
</div></div></blockquote></div><br></div>