OSDN Git Service

DBFlute-0.9.3に更新
[ea2ddl/ea2ddl.git] / ea2ddl-dao / src / main / java / jp / sourceforge / ea2ddl / dao / cbean / cq / bs / BsTProjectrolesCQ.java
1 package jp.sourceforge.ea2ddl.dao.cbean.cq.bs;\r
2 \r
3 import java.util.Map;\r
4 \r
5 import org.seasar.dbflute.cbean.*;\r
6 import org.seasar.dbflute.cbean.cvalue.ConditionValue;\r
7 import org.seasar.dbflute.cbean.sqlclause.SqlClause;\r
8 import jp.sourceforge.ea2ddl.dao.cbean.cq.ciq.*;\r
9 import jp.sourceforge.ea2ddl.dao.cbean.*;\r
10 import jp.sourceforge.ea2ddl.dao.cbean.cq.*;\r
11 \r
12 /**\r
13  * The base condition-query of t_projectroles.\r
14  * @author DBFlute(AutoGenerator)\r
15  */\r
16 public class BsTProjectrolesCQ extends AbstractBsTProjectrolesCQ {\r
17 \r
18     // ===================================================================================\r
19     //                                                                           Attribute\r
20     //                                                                           =========\r
21     protected TProjectrolesCIQ _inlineQuery;\r
22 \r
23     // ===================================================================================\r
24     //                                                                         Constructor\r
25     //                                                                         ===========\r
26     public BsTProjectrolesCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {\r
27         super(childQuery, sqlClause, aliasName, nestLevel);\r
28     }\r
29 \r
30     // ===================================================================================\r
31     //                                                                              Inline\r
32     //                                                                              ======\r
33     /**\r
34      * Prepare inline query. <br />\r
35      * {select ... from ... left outer join (select * from t_projectroles) where abc = [abc] ...}\r
36      * @return Inline query. (NotNull)\r
37      */\r
38     public TProjectrolesCIQ inline() {\r
39         if (_inlineQuery == null) {\r
40             _inlineQuery = new TProjectrolesCIQ(getChildQuery(), getSqlClause(), getAliasName(), getNestLevel(), this);\r
41         }\r
42         _inlineQuery.xsetOnClauseInline(false); return _inlineQuery;\r
43     }\r
44     \r
45     /**\r
46      * Prepare on-clause query. <br />\r
47      * {select ... from ... left outer join t_projectroles on ... and abc = [abc] ...}\r
48      * @return On-clause query. (NotNull)\r
49      */\r
50     public TProjectrolesCIQ on() {\r
51         if (isBaseQuery(this)) { throw new UnsupportedOperationException("Unsupported on-clause for local table!"); }\r
52         TProjectrolesCIQ inlineQuery = inline(); inlineQuery.xsetOnClauseInline(true); return inlineQuery;\r
53     }\r
54 \r
55     // ===================================================================================\r
56     //                                                                               Query\r
57     //                                                                               =====\r
58 \r
59     protected ConditionValue _role;\r
60     public ConditionValue getRole() {\r
61         if (_role == null) { _role = new ConditionValue(); }\r
62         return _role;\r
63     }\r
64     protected ConditionValue getCValueRole() { return getRole(); }\r
65 \r
66     public BsTProjectrolesCQ addOrderBy_Role_Asc() { regOBA("Role"); return this; }\r
67     public BsTProjectrolesCQ addOrderBy_Role_Desc() { regOBD("Role"); return this; }\r
68 \r
69     protected ConditionValue _description;\r
70     public ConditionValue getDescription() {\r
71         if (_description == null) { _description = new ConditionValue(); }\r
72         return _description;\r
73     }\r
74     protected ConditionValue getCValueDescription() { return getDescription(); }\r
75 \r
76     public BsTProjectrolesCQ addOrderBy_Description_Asc() { regOBA("Description"); return this; }\r
77     public BsTProjectrolesCQ addOrderBy_Description_Desc() { regOBD("Description"); return this; }\r
78 \r
79     protected ConditionValue _notes;\r
80     public ConditionValue getNotes() {\r
81         if (_notes == null) { _notes = new ConditionValue(); }\r
82         return _notes;\r
83     }\r
84     protected ConditionValue getCValueNotes() { return getNotes(); }\r
85 \r
86     public BsTProjectrolesCQ addOrderBy_Notes_Asc() { regOBA("Notes"); return this; }\r
87     public BsTProjectrolesCQ addOrderBy_Notes_Desc() { regOBD("Notes"); return this; }\r
88 \r
89     // ===================================================================================\r
90     //                                                           Specified Derived OrderBy\r
91     //                                                           =========================\r
92     public BsTProjectrolesCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) { registerSpecifiedDerivedOrderBy_Asc(aliasName); return this; }\r
93     public BsTProjectrolesCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) { registerSpecifiedDerivedOrderBy_Desc(aliasName); return this; }\r
94 \r
95     // ===================================================================================\r
96     //                                                                         Union Query\r
97     //                                                                         ===========\r
98     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r
99     }\r
100 \r
101     // ===================================================================================\r
102     //                                                                       Foreign Query\r
103     //                                                                       =============\r
104     // ===================================================================================\r
105     //                                                                       Very Internal\r
106     //                                                                       =============\r
107     // Very Internal (for Suppressing Warn about 'Not Use Import')\r
108     String xCB() { return TProjectrolesCB.class.getName(); }\r
109     String xCQ() { return TProjectrolesCQ.class.getName(); }\r
110     String xMap() { return Map.class.getName(); }\r
111 }\r