AmountDto $B$O(B<br>
public String subject;<br>
public String detail;<br>
public int amount;<br>
public String plus;<br>
public String minus;<br>
$B$NMM$J(Bproperty$B$N;}$C$F$$$^$9!#(B<br>
<br>
NewAmount$B$O(BdbFlute$B$N(Bquery()$B%a%=%C%I$G:n$C$?(Blist$B$N(Bentity$B$G$9!#(B<br>
public String subject;<br>
public String detail;<br>
public int amount;<br>
public int plus;<br>
public int minus;<br>
$B$NMM$J(Bproperty$B$N;}$C$F$$$^$9!#(B<br>
<br>
$B$7$?$$$N$O!"(BDxo$B$r;H$C$F(BList<NewAmount>$B$r(BList<AmountDto>$B$KJQ49$9$k$3$H$G$9!#(B<br>
<br>
$B$h$&$9$k$K(B public int plus; public int minus; $B$r(B public String plus;<br>
public String minus; $B$KJQ99$9$k$3$H$G$9!#(B<br>
<br>
List<NewAmount>$B$N3F(BNewAmount$B$N(Bint plus$B$,(B 0$B$N;~$O(BStirng$B7A<0$N(B<br>
"$B!|(B"$B$K$J$j$^$9!#(B1$B$N;~$O(B"$B!{(B"$B$K$J$j$^$9!#JQ49$7$?8e(BArrayList$B$N(BList<AmountDto>$B$K$$$l$^$9!#(B<br>
<br>
$BJQ49$N(Bif$BJ8$O(Bpackage kmanage.web.main;$B7PO)$N(B<br>
<br>
public static ArrayList<AmountDto> changeList(ArrayList<NewAmount> dataItems)<br>
$B$K:n@.$7$^$7$?!#(B<br>
return$BCM$O(B<br>
ArrayList<AmountDto> $B7A<0$N(BviewList$B$G$9!#(B<br>
<br>
<br>
$B$=$N$H$-!"(BD$B#X#O%U%!%$%k(B<br>
package kmanage.dxo;<br>
<br>
import java.util.ArrayList;<br>
<br>
import kmanage.dto.AmountDto;<br>
import kmanage.dbflute.exentity.customize.NewAmount;<br>
import org.seasar.extension.dxo.annotation.ConversionRule;<br>
<br>
public interface KmanageDxo { <br>
@ ConversionRule("viewList : @ kmanage.web.main.ConvertLogic @ changeList(dataItems)")<br>
ArrayList<AmountDto> ListConvert(ArrayList<NewAmount> dataItems); <br>
}<br>
<br>
$B$G(B O$B#G(BN$B#L(B:token $B%(%i!<$,$G$^$9!#(B<br>
$B$?$V$s:G8e$N(B dataItems); $BItJ,$G%(%i!<$,H/@8$7$^$9!#(B<br>
<br>
$B$5$i$K$b$&<ALd$,$"$j$^$9$,!"(B<br>
$BJ#;($J(B convert$B%m%8%C%/$,$"$k$H$-$O(B<br>
@ convertionrule$B$r;H$&>l9g!"(B<br>
$B%m%8%C%/$r2?=h$K:n$C$F(B<br>
DXO$B%U%!%$%kCf$K$I$&$d$C$F;X<($7$^$9$+!#(B<br>
<br>
$BA0$N$*Ez$($"$j$,$H$&$4$6$$$^$7$?!#(B<br>
$B:#$N7o$b$h$m$7$/$*4j$$$7$^$9!#(B<br>
<br>
<br>
<br>
<br>
<div style="line-height: 0; width: 0; height: 5px; clear: both;"> </div>
<p> 
<hr size=1><a href=http://pr.mail.yahoo.co.jp/toolbar/ target="new">Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar</a><br>