OSDN Git Service

"https://svn.sourceforge.jp/svnroot/ea2ddl" にプロジェクト "ea2ddl-dao" を共用
[ea2ddl/ea2ddl.git] / ea2ddl-dao / src / main / java / jp / sourceforge / ea2ddl / dao / exbhv / TAttributeBhv.java
1 package jp.sourceforge.ea2ddl.dao.exbhv;\r
2 \r
3 import java.util.List;\r
4 \r
5 import jp.sourceforge.ea2ddl.dao.cbean.TAttributeCB;\r
6 import jp.sourceforge.ea2ddl.dao.exentity.TAttribute;\r
7 import jp.sourceforge.ea2ddl.dao.exentity.TObject;\r
8 \r
9 /**\r
10  * The behavior of t_attribute.\r
11  * <p>\r
12  * You can implement your original methods here.\r
13  * This class is NOT overrided when re-generating.\r
14  * </p>\r
15  * @author DBFlute(AutoGenerator)\r
16  */
17 @SuppressWarnings("unchecked")\r
18 public class TAttributeBhv extends jp.sourceforge.ea2ddl.dao.bsbhv.BsTAttributeBhv {\r
19         public List<TAttribute> selectColumns(TObject table) {\r
20                 final TAttributeCB cb = new TAttributeCB();\r
21                 cb.query().setObjectId_Equal(table.getObjectId());\r
22                 cb.query().addOrderBy_Name_Asc();\r
23                 return selectList(cb);\r
24         }\r
25 }\r