[Seasar-user:21269] Re: 【Teeda】ページクラスのインタフェースについて
Koichi Kobayashi
[E-MAIL ADDRESS DELETED]
2012年 2月 7日 (火) 17:20:38 JST
$B>.NS(B (koichik) $B$G$9!%(B
> BankDto$B$G$O$J$/!"(BNurseBaseDto$B$+$i(BbankCd$B$rC5$=$&$H$7$F$$$^$9!#(B
>
> $B2?8N>e5-$N$h$&$JF0$-$,H/@8$9$k$N$G$7$g$&$+!)(B
Teeda $B$O(B List $B$[E-MAIL ADDRESS DELETED]*$J7?$+$i%j%U%l%/%7%g%s$r;H$C$F(B
Dto $B$N%W%m%Q%F%#$K%"%/%;%9$7$^$9!#(B
$B$=$N$?$a!"(B
> private List<? extends NurseBaseDto> resultListItems;
$B$3$3$G3NDj$9$k(B NurseBaseDto $B$+$i%W%m%Q%F%#$rC5$7$^$9!#(B
public abstract class NurseListPageBase<T extends NurseBaseDto> {
private List<T> resultListItems;
}
public class BankSearchPage extends NurseListPageBase<BankDto> implements
InterfaceNurseListPage {
}
$B$H$9$l$P(B BankDto $B$+$i%W%m%Q%F%#$,C5$5$l$k$s$8$c$J$$$+$H;W$$$^$9!#(B
$B$=$3$^$G$9$k0U5A$,$"$k$+$I$&$+$OHyL/$G$9$,!#!#!#(B
Date: Tue, 7 Feb 2012 11:27:15 +0900
From: <[E-MAIL ADDRESS DELETED]>
Subject: [Seasar-user:21267] $B!Z(BTeeda$B![%Z!<%8%/%i%9$N%$%s%?%U%'!<%9$K$D$$$F(B
> $[E-MAIL ADDRESS DELETED]&$H?=$7$^$9!#(B
>
> $B%$%s%?%U%'!<%9$rMQ$$$F!"%Z!<%8%/%i%9$N%a%=%C%IL>$rE}0l$7$h$&$H$7$F$$$k$,!"(B
> $B0lMw7O$N2hLL$N>l9g!"L@:Y9T$N%W%l%S%e!<%\%?%s$r2!2<$9$k$H!"(B
> [ESSR0065]$B%/%i%9(B(scs21.dto.nurse.NurseBaseDto)$B$N%W%m%Q%F%#(B(bankCd)$B$,8+$D$+$j$^$;$s(B
> $B$N%(%i!<$,H/@8$7$F$7$^$$$^$7$?!#(B
>
> $B%=!<%9$N9=B$$O2<5-$K$J$j$^$9!#(B
>
> $B"!%Z!<%8%/%i%9(B
> public class BankSearchPage extends NurseListPageBase implements
> InterfaceNurseListPage {
> /**
> * $B%W%l%S%e!<%\%?%s2!2<;~=hM}(B
> *
> * @return
> */
> public Class<? extends PageBase> doGoPreview(){}
> }
>
> $B"!%$%s%?%U%'!<%9(B
> public interface InterfaceNurseEditPage {
> /**
> * $B%W%l%S%e!<%\%?%s2!2<;~=hM}(B
> *
> * @return
> */
> Class<? extends PageBase> doGoPreview();
> }
>
> $B"!0lMw7O%Z!<%8%/%i%9$N%Y!<%9%/%i%9(B
> public abstract class NurseListPageBase {
> /**
> * $B8!:w7k2L"*(B<tbody id="resultListItems">
> */
> private List<? extends NurseBaseDto> resultListItems;
> }
>
> $B"!8!:w7k2L(BDTO
> public class BankDto extends NurseBaseDto {
> public String bankCd;
> }
>
> $B%(%i!<$NFbMF$K$h$j$^$9$H!"%\%?%s$r2!2<$9$k:]$K!"(B
> BankDto$B$G$O$J$/!"(BNurseBaseDto$B$+$i(BbankCd$B$rC5$=$&$H$7$F$$$^$9!#(B
>
> $B2?8N>e5-$N$h$&$JF0$-$,H/@8$9$k$N$G$7$g$&$+!)(B
> $B$465<x$r$h$m$7$/$*4j$$$$$?$7$^$9!#(B
>
> $B>0!"$$$m$$$m;n$7$F$$$F!"2<5-$N>l9g$[E-MAIL ADDRESS DELETED]>o$KF0$-$^$9!#(B
> $B-!8!:w7k2L(B(resultListItems)$B$N%8%'%M%j%9%/!J(B<? extends NurseBaseDto>$B!K$r$d$a$k$H!"@5>o$KF0$-$^$9!#(B
> $B-"%$%s%?%U%'!<%9!J(Bimplements InterfaceNurseListPage$B!K$r$d$a$k$H!"@5>o$KF0$-$^$9!#(B
> $B-#%$%s%?%U%'!<%9$,6u$C$]$@$C$?$i!"@5>o$KF0$-$^$9!#(B
>
> $B%P!<%8%g%s!'(Bteeda-1.0.13
>
> $B0J>e!"$h$m$7$/$*4j$$$$$?$7$^$9!#(B
>
>
--
{
name: "Koichi Kobayashi",
mail: "[E-MAIL ADDRESS DELETED]",
blog: "http://d.hatena.ne.jp/koichik/",
twitter: "@koichik"
}
Seasar-user メーリングリストの案内