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 / BsTOperationCQ.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_operation.\r
13  * @author DBFlute(AutoGenerator)\r
14  */
15 @SuppressWarnings("unchecked")\r
16 public class BsTOperationCQ extends AbstractBsTOperationCQ {\r
17 \r
18     // ===================================================================================\r
19     //                                                                           Attribute\r
20     //                                                                           =========\r
21     protected TOperationCIQ _inlineQuery;\r
22 \r
23     // ===================================================================================\r
24     //                                                                         Constructor\r
25     //                                                                         ===========\r
26     public BsTOperationCQ(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_operation) where abc = [abc] ...}\r
36      * @return Inline query. (NotNull)\r
37      */\r
38     public TOperationCIQ inline() {\r
39         if (_inlineQuery == null) {\r
40             _inlineQuery = new TOperationCIQ(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_operation on ... and abc = [abc] ...}\r
48      * @return On-clause query. (NotNull)\r
49      */\r
50     public TOperationCIQ on() {\r
51         if (isBaseQuery(this)) { throw new UnsupportedOperationException("Unsupported onClause of Base Table!"); }\r
52         TOperationCIQ inlineQuery = inline(); inlineQuery.xsetOnClauseInline(true); return inlineQuery;\r
53     }\r
54 \r
55     // ===================================================================================\r
56     //                                                                               Query\r
57     //                                                                               =====\r
58 \r
59     protected ConditionValue _operationid;\r
60     public ConditionValue getOperationid() {\r
61         if (_operationid == null) { _operationid = new ConditionValue(); }\r
62         return _operationid;\r
63     }\r
64     protected ConditionValue getCValueOperationid() { return getOperationid(); }\r
65           \r
66     public BsTOperationCQ addOrderBy_Operationid_Asc() { regOBA("OperationID"); return this; }\r
67     public BsTOperationCQ addOrderBy_Operationid_Desc() { regOBD("OperationID"); return this; }\r
68 \r
69     protected ConditionValue _objectId;\r
70     public ConditionValue getObjectId() {\r
71         if (_objectId == null) { _objectId = new ConditionValue(); }\r
72         return _objectId;\r
73     }\r
74     protected ConditionValue getCValueObjectId() { return getObjectId(); }\r
75           \r
76     public BsTOperationCQ addOrderBy_ObjectId_Asc() { regOBA("Object_ID"); return this; }\r
77     public BsTOperationCQ addOrderBy_ObjectId_Desc() { regOBD("Object_ID"); return this; }\r
78 \r
79     protected ConditionValue _name;\r
80     public ConditionValue getName() {\r
81         if (_name == null) { _name = new ConditionValue(); }\r
82         return _name;\r
83     }\r
84     protected ConditionValue getCValueName() { return getName(); }\r
85     \r
86     public BsTOperationCQ addOrderBy_Name_Asc() { regOBA("Name"); return this; }\r
87     public BsTOperationCQ addOrderBy_Name_Desc() { regOBD("Name"); return this; }\r
88 \r
89     protected ConditionValue _scope;\r
90     public ConditionValue getScope() {\r
91         if (_scope == null) { _scope = new ConditionValue(); }\r
92         return _scope;\r
93     }\r
94     protected ConditionValue getCValueScope() { return getScope(); }\r
95     \r
96     public BsTOperationCQ addOrderBy_Scope_Asc() { regOBA("Scope"); return this; }\r
97     public BsTOperationCQ addOrderBy_Scope_Desc() { regOBD("Scope"); return this; }\r
98 \r
99     protected ConditionValue _type;\r
100     public ConditionValue getType() {\r
101         if (_type == null) { _type = new ConditionValue(); }\r
102         return _type;\r
103     }\r
104     protected ConditionValue getCValueType() { return getType(); }\r
105     \r
106     public BsTOperationCQ addOrderBy_Type_Asc() { regOBA("Type"); return this; }\r
107     public BsTOperationCQ addOrderBy_Type_Desc() { regOBD("Type"); return this; }\r
108 \r
109     protected ConditionValue _returnarray;\r
110     public ConditionValue getReturnarray() {\r
111         if (_returnarray == null) { _returnarray = new ConditionValue(); }\r
112         return _returnarray;\r
113     }\r
114     protected ConditionValue getCValueReturnarray() { return getReturnarray(); }\r
115     \r
116     public BsTOperationCQ addOrderBy_Returnarray_Asc() { regOBA("ReturnArray"); return this; }\r
117     public BsTOperationCQ addOrderBy_Returnarray_Desc() { regOBD("ReturnArray"); return this; }\r
118 \r
119     protected ConditionValue _stereotype;\r
120     public ConditionValue getStereotype() {\r
121         if (_stereotype == null) { _stereotype = new ConditionValue(); }\r
122         return _stereotype;\r
123     }\r
124     protected ConditionValue getCValueStereotype() { return getStereotype(); }\r
125     \r
126     public BsTOperationCQ addOrderBy_Stereotype_Asc() { regOBA("Stereotype"); return this; }\r
127     public BsTOperationCQ addOrderBy_Stereotype_Desc() { regOBD("Stereotype"); return this; }\r
128 \r
129     protected ConditionValue _isstatic;\r
130     public ConditionValue getIsstatic() {\r
131         if (_isstatic == null) { _isstatic = new ConditionValue(); }\r
132         return _isstatic;\r
133     }\r
134     protected ConditionValue getCValueIsstatic() { return getIsstatic(); }\r
135     \r
136     public BsTOperationCQ addOrderBy_Isstatic_Asc() { regOBA("IsStatic"); return this; }\r
137     public BsTOperationCQ addOrderBy_Isstatic_Desc() { regOBD("IsStatic"); return this; }\r
138 \r
139     protected ConditionValue _concurrency;\r
140     public ConditionValue getConcurrency() {\r
141         if (_concurrency == null) { _concurrency = new ConditionValue(); }\r
142         return _concurrency;\r
143     }\r
144     protected ConditionValue getCValueConcurrency() { return getConcurrency(); }\r
145     \r
146     public BsTOperationCQ addOrderBy_Concurrency_Asc() { regOBA("Concurrency"); return this; }\r
147     public BsTOperationCQ addOrderBy_Concurrency_Desc() { regOBD("Concurrency"); return this; }\r
148 \r
149     protected ConditionValue _notes;\r
150     public ConditionValue getNotes() {\r
151         if (_notes == null) { _notes = new ConditionValue(); }\r
152         return _notes;\r
153     }\r
154     protected ConditionValue getCValueNotes() { return getNotes(); }\r
155     \r
156     public BsTOperationCQ addOrderBy_Notes_Asc() { regOBA("Notes"); return this; }\r
157     public BsTOperationCQ addOrderBy_Notes_Desc() { regOBD("Notes"); return this; }\r
158 \r
159     protected ConditionValue _behaviour;\r
160     public ConditionValue getBehaviour() {\r
161         if (_behaviour == null) { _behaviour = new ConditionValue(); }\r
162         return _behaviour;\r
163     }\r
164     protected ConditionValue getCValueBehaviour() { return getBehaviour(); }\r
165     \r
166     public BsTOperationCQ addOrderBy_Behaviour_Asc() { regOBA("Behaviour"); return this; }\r
167     public BsTOperationCQ addOrderBy_Behaviour_Desc() { regOBD("Behaviour"); return this; }\r
168 \r
169     protected ConditionValue _genoption;\r
170     public ConditionValue getGenoption() {\r
171         if (_genoption == null) { _genoption = new ConditionValue(); }\r
172         return _genoption;\r
173     }\r
174     protected ConditionValue getCValueGenoption() { return getGenoption(); }\r
175     \r
176     public BsTOperationCQ addOrderBy_Genoption_Asc() { regOBA("GenOption"); return this; }\r
177     public BsTOperationCQ addOrderBy_Genoption_Desc() { regOBD("GenOption"); return this; }\r
178 \r
179     protected ConditionValue _pos;\r
180     public ConditionValue getPos() {\r
181         if (_pos == null) { _pos = new ConditionValue(); }\r
182         return _pos;\r
183     }\r
184     protected ConditionValue getCValuePos() { return getPos(); }\r
185           \r
186     public BsTOperationCQ addOrderBy_Pos_Asc() { regOBA("Pos"); return this; }\r
187     public BsTOperationCQ addOrderBy_Pos_Desc() { regOBD("Pos"); return this; }\r
188 \r
189     protected ConditionValue _style;\r
190     public ConditionValue getStyle() {\r
191         if (_style == null) { _style = new ConditionValue(); }\r
192         return _style;\r
193     }\r
194     protected ConditionValue getCValueStyle() { return getStyle(); }\r
195     \r
196     public BsTOperationCQ addOrderBy_Style_Asc() { regOBA("Style"); return this; }\r
197     public BsTOperationCQ addOrderBy_Style_Desc() { regOBD("Style"); return this; }\r
198 \r
199     protected ConditionValue _pure;\r
200     public ConditionValue getPure() {\r
201         if (_pure == null) { _pure = new ConditionValue(); }\r
202         return _pure;\r
203     }\r
204     protected ConditionValue getCValuePure() { return getPure(); }\r
205     \r
206     public BsTOperationCQ addOrderBy_Pure_Asc() { regOBA("Pure"); return this; }\r
207     public BsTOperationCQ addOrderBy_Pure_Desc() { regOBD("Pure"); return this; }\r
208 \r
209     protected ConditionValue _classifier;\r
210     public ConditionValue getClassifier() {\r
211         if (_classifier == null) { _classifier = new ConditionValue(); }\r
212         return _classifier;\r
213     }\r
214     protected ConditionValue getCValueClassifier() { return getClassifier(); }\r
215     \r
216     public BsTOperationCQ addOrderBy_Classifier_Asc() { regOBA("Classifier"); return this; }\r
217     public BsTOperationCQ addOrderBy_Classifier_Desc() { regOBD("Classifier"); return this; }\r
218 \r
219     protected ConditionValue _code;\r
220     public ConditionValue getCode() {\r
221         if (_code == null) { _code = new ConditionValue(); }\r
222         return _code;\r
223     }\r
224     protected ConditionValue getCValueCode() { return getCode(); }\r
225     \r
226     public BsTOperationCQ addOrderBy_Code_Asc() { regOBA("Code"); return this; }\r
227     public BsTOperationCQ addOrderBy_Code_Desc() { regOBD("Code"); return this; }\r
228 \r
229     protected ConditionValue _isroot;\r
230     public ConditionValue getIsroot() {\r
231         if (_isroot == null) { _isroot = new ConditionValue(); }\r
232         return _isroot;\r
233     }\r
234     protected ConditionValue getCValueIsroot() { return getIsroot(); }\r
235     \r
236     public BsTOperationCQ addOrderBy_Isroot_Asc() { regOBA("IsRoot"); return this; }\r
237     public BsTOperationCQ addOrderBy_Isroot_Desc() { regOBD("IsRoot"); return this; }\r
238 \r
239     protected ConditionValue _isleaf;\r
240     public ConditionValue getIsleaf() {\r
241         if (_isleaf == null) { _isleaf = new ConditionValue(); }\r
242         return _isleaf;\r
243     }\r
244     protected ConditionValue getCValueIsleaf() { return getIsleaf(); }\r
245     \r
246     public BsTOperationCQ addOrderBy_Isleaf_Asc() { regOBA("IsLeaf"); return this; }\r
247     public BsTOperationCQ addOrderBy_Isleaf_Desc() { regOBD("IsLeaf"); return this; }\r
248 \r
249     protected ConditionValue _isquery;\r
250     public ConditionValue getIsquery() {\r
251         if (_isquery == null) { _isquery = new ConditionValue(); }\r
252         return _isquery;\r
253     }\r
254     protected ConditionValue getCValueIsquery() { return getIsquery(); }\r
255     \r
256     public BsTOperationCQ addOrderBy_Isquery_Asc() { regOBA("IsQuery"); return this; }\r
257     public BsTOperationCQ addOrderBy_Isquery_Desc() { regOBD("IsQuery"); return this; }\r
258 \r
259     protected ConditionValue _stateflags;\r
260     public ConditionValue getStateflags() {\r
261         if (_stateflags == null) { _stateflags = new ConditionValue(); }\r
262         return _stateflags;\r
263     }\r
264     protected ConditionValue getCValueStateflags() { return getStateflags(); }\r
265     \r
266     public BsTOperationCQ addOrderBy_Stateflags_Asc() { regOBA("StateFlags"); return this; }\r
267     public BsTOperationCQ addOrderBy_Stateflags_Desc() { regOBD("StateFlags"); return this; }\r
268 \r
269     protected ConditionValue _eaGuid;\r
270     public ConditionValue getEaGuid() {\r
271         if (_eaGuid == null) { _eaGuid = new ConditionValue(); }\r
272         return _eaGuid;\r
273     }\r
274     protected ConditionValue getCValueEaGuid() { return getEaGuid(); }\r
275     \r
276     public BsTOperationCQ addOrderBy_EaGuid_Asc() { regOBA("ea_guid"); return this; }\r
277     public BsTOperationCQ addOrderBy_EaGuid_Desc() { regOBD("ea_guid"); return this; }\r
278 \r
279     protected ConditionValue _styleex;\r
280     public ConditionValue getStyleex() {\r
281         if (_styleex == null) { _styleex = new ConditionValue(); }\r
282         return _styleex;\r
283     }\r
284     protected ConditionValue getCValueStyleex() { return getStyleex(); }\r
285     \r
286     public BsTOperationCQ addOrderBy_Styleex_Asc() { regOBA("StyleEx"); return this; }\r
287     public BsTOperationCQ addOrderBy_Styleex_Desc() { regOBD("StyleEx"); return this; }\r
288 \r
289     // ===================================================================================\r
290     //                                                           Specified Derived OrderBy\r
291     //                                                           =========================\r
292     public BsTOperationCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) { registerSpecifiedDerivedOrderBy_Asc(aliasName); return this; }\r
293     public BsTOperationCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) { registerSpecifiedDerivedOrderBy_Desc(aliasName); return this; }\r
294 \r
295     // ===================================================================================\r
296     //                                                                         Union Query\r
297     //                                                                         ===========\r
298     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r
299     }\r
300 \r
301     // ===================================================================================\r
302     //                                                                       Foreign Query\r
303     //                                                                       =============\r
304 \r
305 \r
306     protected String getConditionQueryClassNameInternally() { return TOperationCQ.class.getName(); }\r
307     protected String getMapClassNameInternally() { return Map.class.getName(); }\r
308 }\r