OSDN Git Service

"https://svn.sourceforge.jp/svnroot/ea2ddl" にプロジェクト "ea2ddl-dao" を共用
[ea2ddl/ea2ddl.git] / ea2ddl-dao / src / main / java / jp / sourceforge / ea2ddl / dao / cbean / cq / bs / BsTObjecttestsCQ.java
1 package jp.sourceforge.ea2ddl.dao.cbean.cq.bs;\r
2 \r
3 import java.util.Map;\r
4 \r
5 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.*;\r
6 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.cvalue.ConditionValue;\r
7 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.sqlclause.SqlClause;\r
8 import jp.sourceforge.ea2ddl.dao.cbean.cq.ciq.*;\r
9 import jp.sourceforge.ea2ddl.dao.cbean.cq.*;\r
10 \r
11 /**\r
12  * The base condition-query of t_objecttests.\r
13  * @author DBFlute(AutoGenerator)\r
14  */
15 @SuppressWarnings("unchecked")\r
16 public class BsTObjecttestsCQ extends AbstractBsTObjecttestsCQ {\r
17 \r
18     // ===================================================================================\r
19     //                                                                           Attribute\r
20     //                                                                           =========\r
21     protected TObjecttestsCIQ _inlineQuery;\r
22 \r
23     // ===================================================================================\r
24     //                                                                         Constructor\r
25     //                                                                         ===========\r
26     public BsTObjecttestsCQ(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_objecttests) where abc = [abc] ...}\r
36      * @return Inline query. (NotNull)\r
37      */\r
38     public TObjecttestsCIQ inline() {\r
39         if (_inlineQuery == null) {\r
40             _inlineQuery = new TObjecttestsCIQ(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_objecttests on ... and abc = [abc] ...}\r
48      * @return On-clause query. (NotNull)\r
49      */\r
50     public TObjecttestsCIQ on() {\r
51         if (isBaseQuery(this)) { throw new UnsupportedOperationException("Unsupported onClause of Base Table!"); }\r
52         TObjecttestsCIQ inlineQuery = inline(); inlineQuery.xsetOnClauseInline(true); return inlineQuery;\r
53     }\r
54 \r
55     // ===================================================================================\r
56     //                                                                               Query\r
57     //                                                                               =====\r
58 \r
59     protected ConditionValue _objectId;\r
60     public ConditionValue getObjectId() {\r
61         if (_objectId == null) { _objectId = new ConditionValue(); }\r
62         return _objectId;\r
63     }\r
64     protected ConditionValue getCValueObjectId() { return getObjectId(); }\r
65           \r
66     public BsTObjecttestsCQ addOrderBy_ObjectId_Asc() { regOBA("Object_ID"); return this; }\r
67     public BsTObjecttestsCQ addOrderBy_ObjectId_Desc() { regOBD("Object_ID"); return this; }\r
68 \r
69     protected ConditionValue _test;\r
70     public ConditionValue getTest() {\r
71         if (_test == null) { _test = new ConditionValue(); }\r
72         return _test;\r
73     }\r
74     protected ConditionValue getCValueTest() { return getTest(); }\r
75     \r
76     public BsTObjecttestsCQ addOrderBy_Test_Asc() { regOBA("Test"); return this; }\r
77     public BsTObjecttestsCQ addOrderBy_Test_Desc() { regOBD("Test"); return this; }\r
78 \r
79     protected ConditionValue _testclass;\r
80     public ConditionValue getTestclass() {\r
81         if (_testclass == null) { _testclass = new ConditionValue(); }\r
82         return _testclass;\r
83     }\r
84     protected ConditionValue getCValueTestclass() { return getTestclass(); }\r
85           \r
86     public BsTObjecttestsCQ addOrderBy_Testclass_Asc() { regOBA("TestClass"); return this; }\r
87     public BsTObjecttestsCQ addOrderBy_Testclass_Desc() { regOBD("TestClass"); return this; }\r
88 \r
89     protected ConditionValue _testtype;\r
90     public ConditionValue getTesttype() {\r
91         if (_testtype == null) { _testtype = new ConditionValue(); }\r
92         return _testtype;\r
93     }\r
94     protected ConditionValue getCValueTesttype() { return getTesttype(); }\r
95     \r
96     public BsTObjecttestsCQ addOrderBy_Testtype_Asc() { regOBA("TestType"); return this; }\r
97     public BsTObjecttestsCQ addOrderBy_Testtype_Desc() { regOBD("TestType"); return this; }\r
98 \r
99     protected ConditionValue _notes;\r
100     public ConditionValue getNotes() {\r
101         if (_notes == null) { _notes = new ConditionValue(); }\r
102         return _notes;\r
103     }\r
104     protected ConditionValue getCValueNotes() { return getNotes(); }\r
105     \r
106     public BsTObjecttestsCQ addOrderBy_Notes_Asc() { regOBA("Notes"); return this; }\r
107     public BsTObjecttestsCQ addOrderBy_Notes_Desc() { regOBD("Notes"); return this; }\r
108 \r
109     protected ConditionValue _inputdata;\r
110     public ConditionValue getInputdata() {\r
111         if (_inputdata == null) { _inputdata = new ConditionValue(); }\r
112         return _inputdata;\r
113     }\r
114     protected ConditionValue getCValueInputdata() { return getInputdata(); }\r
115     \r
116     public BsTObjecttestsCQ addOrderBy_Inputdata_Asc() { regOBA("InputData"); return this; }\r
117     public BsTObjecttestsCQ addOrderBy_Inputdata_Desc() { regOBD("InputData"); return this; }\r
118 \r
119     protected ConditionValue _acceptancecriteria;\r
120     public ConditionValue getAcceptancecriteria() {\r
121         if (_acceptancecriteria == null) { _acceptancecriteria = new ConditionValue(); }\r
122         return _acceptancecriteria;\r
123     }\r
124     protected ConditionValue getCValueAcceptancecriteria() { return getAcceptancecriteria(); }\r
125     \r
126     public BsTObjecttestsCQ addOrderBy_Acceptancecriteria_Asc() { regOBA("AcceptanceCriteria"); return this; }\r
127     public BsTObjecttestsCQ addOrderBy_Acceptancecriteria_Desc() { regOBD("AcceptanceCriteria"); return this; }\r
128 \r
129     protected ConditionValue _status;\r
130     public ConditionValue getStatus() {\r
131         if (_status == null) { _status = new ConditionValue(); }\r
132         return _status;\r
133     }\r
134     protected ConditionValue getCValueStatus() { return getStatus(); }\r
135     \r
136     public BsTObjecttestsCQ addOrderBy_Status_Asc() { regOBA("Status"); return this; }\r
137     public BsTObjecttestsCQ addOrderBy_Status_Desc() { regOBD("Status"); return this; }\r
138 \r
139     protected ConditionValue _daterun;\r
140     public ConditionValue getDaterun() {\r
141         if (_daterun == null) { _daterun = new ConditionValue(); }\r
142         return _daterun;\r
143     }\r
144     protected ConditionValue getCValueDaterun() { return getDaterun(); }\r
145     \r
146     public BsTObjecttestsCQ addOrderBy_Daterun_Asc() { regOBA("DateRun"); return this; }\r
147     public BsTObjecttestsCQ addOrderBy_Daterun_Desc() { regOBD("DateRun"); return this; }\r
148 \r
149     protected ConditionValue _results;\r
150     public ConditionValue getResults() {\r
151         if (_results == null) { _results = new ConditionValue(); }\r
152         return _results;\r
153     }\r
154     protected ConditionValue getCValueResults() { return getResults(); }\r
155     \r
156     public BsTObjecttestsCQ addOrderBy_Results_Asc() { regOBA("Results"); return this; }\r
157     public BsTObjecttestsCQ addOrderBy_Results_Desc() { regOBD("Results"); return this; }\r
158 \r
159     protected ConditionValue _runby;\r
160     public ConditionValue getRunby() {\r
161         if (_runby == null) { _runby = new ConditionValue(); }\r
162         return _runby;\r
163     }\r
164     protected ConditionValue getCValueRunby() { return getRunby(); }\r
165     \r
166     public BsTObjecttestsCQ addOrderBy_Runby_Asc() { regOBA("RunBy"); return this; }\r
167     public BsTObjecttestsCQ addOrderBy_Runby_Desc() { regOBD("RunBy"); return this; }\r
168 \r
169     protected ConditionValue _checkby;\r
170     public ConditionValue getCheckby() {\r
171         if (_checkby == null) { _checkby = new ConditionValue(); }\r
172         return _checkby;\r
173     }\r
174     protected ConditionValue getCValueCheckby() { return getCheckby(); }\r
175     \r
176     public BsTObjecttestsCQ addOrderBy_Checkby_Asc() { regOBA("CheckBy"); return this; }\r
177     public BsTObjecttestsCQ addOrderBy_Checkby_Desc() { regOBD("CheckBy"); return this; }\r
178 \r
179     // ===================================================================================\r
180     //                                                           Specified Derived OrderBy\r
181     //                                                           =========================\r
182     public BsTObjecttestsCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) { registerSpecifiedDerivedOrderBy_Asc(aliasName); return this; }\r
183     public BsTObjecttestsCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) { registerSpecifiedDerivedOrderBy_Desc(aliasName); return this; }\r
184 \r
185     // ===================================================================================\r
186     //                                                                         Union Query\r
187     //                                                                         ===========\r
188     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r
189     }\r
190 \r
191     // ===================================================================================\r
192     //                                                                       Foreign Query\r
193     //                                                                       =============\r
194 \r
195 \r
196     protected String getConditionQueryClassNameInternally() { return TObjecttestsCQ.class.getName(); }\r
197     protected String getMapClassNameInternally() { return Map.class.getName(); }\r
198 }\r