1 package jp.sourceforge.ea2ddl.dao.exbhv;
\r
3 import jp.sourceforge.ea2ddl.dao.cbean.TAttributeCB;
\r
4 import jp.sourceforge.ea2ddl.dao.exentity.TAttribute;
\r
5 import jp.sourceforge.ea2ddl.dao.exentity.TObject;
\r
7 import org.seasar.dbflute.cbean.ListResultBean;
\r
10 * The behavior of t_attribute.
\r
12 * You can implement your original methods here. This class is NOT overrided
\r
13 * when re-generating.
\r
16 * @author DBFlute(AutoGenerator)
\r
18 public class TAttributeBhv extends
\r
19 jp.sourceforge.ea2ddl.dao.bsbhv.BsTAttributeBhv {
\r
20 private TAttributetagBhv _tAttributetagBhv;
\r
22 public void setTAttributetagBhv(TAttributetagBhv tAttributetagBhv) {
\r
23 _tAttributetagBhv = tAttributetagBhv;
\r
26 public ListResultBean<TAttribute> selectColumns(TObject table) {
\r
27 final TAttributeCB cb = new TAttributeCB();
\r
28 cb.query().setObjectId_Equal(table.getObjectId());
\r
29 cb.query().addOrderBy_Pos_Asc();
\r
30 ListResultBean<TAttribute> list = selectList(cb);
\r
31 for (TAttribute tAttribute : list) {
\r
32 _tAttributetagBhv.loadTags(tAttribute);
\r