1 package jp.sourceforge.ea2ddl.dao.cbean.cq.bs;
\r
3 import java.util.Map;
\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
12 * The base condition-query of t_operation.
\r
13 * @author DBFlute(AutoGenerator)
\r
15 @SuppressWarnings("unchecked")
\r
16 public class BsTOperationCQ extends AbstractBsTOperationCQ {
\r
18 // ===================================================================================
\r
21 protected TOperationCIQ _inlineQuery;
\r
23 // ===================================================================================
\r
26 public BsTOperationCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
\r
27 super(childQuery, sqlClause, aliasName, nestLevel);
\r
30 // ===================================================================================
\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
38 public TOperationCIQ inline() {
\r
39 if (_inlineQuery == null) {
\r
40 _inlineQuery = new TOperationCIQ(getChildQuery(), getSqlClause(), getAliasName(), getNestLevel(), this);
\r
42 _inlineQuery.xsetOnClauseInline(false); return _inlineQuery;
\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
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
55 // ===================================================================================
\r
59 protected ConditionValue _operationid;
\r
60 public ConditionValue getOperationid() {
\r
61 if (_operationid == null) { _operationid = new ConditionValue(); }
\r
62 return _operationid;
\r
64 protected ConditionValue getCValueOperationid() { return getOperationid(); }
\r
66 public BsTOperationCQ addOrderBy_Operationid_Asc() { regOBA("OperationID"); return this; }
\r
67 public BsTOperationCQ addOrderBy_Operationid_Desc() { regOBD("OperationID"); return this; }
\r
69 protected ConditionValue _objectId;
\r
70 public ConditionValue getObjectId() {
\r
71 if (_objectId == null) { _objectId = new ConditionValue(); }
\r
74 protected ConditionValue getCValueObjectId() { return getObjectId(); }
\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
79 protected ConditionValue _name;
\r
80 public ConditionValue getName() {
\r
81 if (_name == null) { _name = new ConditionValue(); }
\r
84 protected ConditionValue getCValueName() { return getName(); }
\r
86 public BsTOperationCQ addOrderBy_Name_Asc() { regOBA("Name"); return this; }
\r
87 public BsTOperationCQ addOrderBy_Name_Desc() { regOBD("Name"); return this; }
\r
89 protected ConditionValue _scope;
\r
90 public ConditionValue getScope() {
\r
91 if (_scope == null) { _scope = new ConditionValue(); }
\r
94 protected ConditionValue getCValueScope() { return getScope(); }
\r
96 public BsTOperationCQ addOrderBy_Scope_Asc() { regOBA("Scope"); return this; }
\r
97 public BsTOperationCQ addOrderBy_Scope_Desc() { regOBD("Scope"); return this; }
\r
99 protected ConditionValue _type;
\r
100 public ConditionValue getType() {
\r
101 if (_type == null) { _type = new ConditionValue(); }
\r
104 protected ConditionValue getCValueType() { return getType(); }
\r
106 public BsTOperationCQ addOrderBy_Type_Asc() { regOBA("Type"); return this; }
\r
107 public BsTOperationCQ addOrderBy_Type_Desc() { regOBD("Type"); return this; }
\r
109 protected ConditionValue _returnarray;
\r
110 public ConditionValue getReturnarray() {
\r
111 if (_returnarray == null) { _returnarray = new ConditionValue(); }
\r
112 return _returnarray;
\r
114 protected ConditionValue getCValueReturnarray() { return getReturnarray(); }
\r
116 public BsTOperationCQ addOrderBy_Returnarray_Asc() { regOBA("ReturnArray"); return this; }
\r
117 public BsTOperationCQ addOrderBy_Returnarray_Desc() { regOBD("ReturnArray"); return this; }
\r
119 protected ConditionValue _stereotype;
\r
120 public ConditionValue getStereotype() {
\r
121 if (_stereotype == null) { _stereotype = new ConditionValue(); }
\r
122 return _stereotype;
\r
124 protected ConditionValue getCValueStereotype() { return getStereotype(); }
\r
126 public BsTOperationCQ addOrderBy_Stereotype_Asc() { regOBA("Stereotype"); return this; }
\r
127 public BsTOperationCQ addOrderBy_Stereotype_Desc() { regOBD("Stereotype"); return this; }
\r
129 protected ConditionValue _isstatic;
\r
130 public ConditionValue getIsstatic() {
\r
131 if (_isstatic == null) { _isstatic = new ConditionValue(); }
\r
134 protected ConditionValue getCValueIsstatic() { return getIsstatic(); }
\r
136 public BsTOperationCQ addOrderBy_Isstatic_Asc() { regOBA("IsStatic"); return this; }
\r
137 public BsTOperationCQ addOrderBy_Isstatic_Desc() { regOBD("IsStatic"); return this; }
\r
139 protected ConditionValue _concurrency;
\r
140 public ConditionValue getConcurrency() {
\r
141 if (_concurrency == null) { _concurrency = new ConditionValue(); }
\r
142 return _concurrency;
\r
144 protected ConditionValue getCValueConcurrency() { return getConcurrency(); }
\r
146 public BsTOperationCQ addOrderBy_Concurrency_Asc() { regOBA("Concurrency"); return this; }
\r
147 public BsTOperationCQ addOrderBy_Concurrency_Desc() { regOBD("Concurrency"); return this; }
\r
149 protected ConditionValue _notes;
\r
150 public ConditionValue getNotes() {
\r
151 if (_notes == null) { _notes = new ConditionValue(); }
\r
154 protected ConditionValue getCValueNotes() { return getNotes(); }
\r
156 public BsTOperationCQ addOrderBy_Notes_Asc() { regOBA("Notes"); return this; }
\r
157 public BsTOperationCQ addOrderBy_Notes_Desc() { regOBD("Notes"); return this; }
\r
159 protected ConditionValue _behaviour;
\r
160 public ConditionValue getBehaviour() {
\r
161 if (_behaviour == null) { _behaviour = new ConditionValue(); }
\r
164 protected ConditionValue getCValueBehaviour() { return getBehaviour(); }
\r
166 public BsTOperationCQ addOrderBy_Behaviour_Asc() { regOBA("Behaviour"); return this; }
\r
167 public BsTOperationCQ addOrderBy_Behaviour_Desc() { regOBD("Behaviour"); return this; }
\r
169 protected ConditionValue _genoption;
\r
170 public ConditionValue getGenoption() {
\r
171 if (_genoption == null) { _genoption = new ConditionValue(); }
\r
174 protected ConditionValue getCValueGenoption() { return getGenoption(); }
\r
176 public BsTOperationCQ addOrderBy_Genoption_Asc() { regOBA("GenOption"); return this; }
\r
177 public BsTOperationCQ addOrderBy_Genoption_Desc() { regOBD("GenOption"); return this; }
\r
179 protected ConditionValue _pos;
\r
180 public ConditionValue getPos() {
\r
181 if (_pos == null) { _pos = new ConditionValue(); }
\r
184 protected ConditionValue getCValuePos() { return getPos(); }
\r
186 public BsTOperationCQ addOrderBy_Pos_Asc() { regOBA("Pos"); return this; }
\r
187 public BsTOperationCQ addOrderBy_Pos_Desc() { regOBD("Pos"); return this; }
\r
189 protected ConditionValue _style;
\r
190 public ConditionValue getStyle() {
\r
191 if (_style == null) { _style = new ConditionValue(); }
\r
194 protected ConditionValue getCValueStyle() { return getStyle(); }
\r
196 public BsTOperationCQ addOrderBy_Style_Asc() { regOBA("Style"); return this; }
\r
197 public BsTOperationCQ addOrderBy_Style_Desc() { regOBD("Style"); return this; }
\r
199 protected ConditionValue _pure;
\r
200 public ConditionValue getPure() {
\r
201 if (_pure == null) { _pure = new ConditionValue(); }
\r
204 protected ConditionValue getCValuePure() { return getPure(); }
\r
206 public BsTOperationCQ addOrderBy_Pure_Asc() { regOBA("Pure"); return this; }
\r
207 public BsTOperationCQ addOrderBy_Pure_Desc() { regOBD("Pure"); return this; }
\r
209 protected ConditionValue _classifier;
\r
210 public ConditionValue getClassifier() {
\r
211 if (_classifier == null) { _classifier = new ConditionValue(); }
\r
212 return _classifier;
\r
214 protected ConditionValue getCValueClassifier() { return getClassifier(); }
\r
216 public BsTOperationCQ addOrderBy_Classifier_Asc() { regOBA("Classifier"); return this; }
\r
217 public BsTOperationCQ addOrderBy_Classifier_Desc() { regOBD("Classifier"); return this; }
\r
219 protected ConditionValue _code;
\r
220 public ConditionValue getCode() {
\r
221 if (_code == null) { _code = new ConditionValue(); }
\r
224 protected ConditionValue getCValueCode() { return getCode(); }
\r
226 public BsTOperationCQ addOrderBy_Code_Asc() { regOBA("Code"); return this; }
\r
227 public BsTOperationCQ addOrderBy_Code_Desc() { regOBD("Code"); return this; }
\r
229 protected ConditionValue _isroot;
\r
230 public ConditionValue getIsroot() {
\r
231 if (_isroot == null) { _isroot = new ConditionValue(); }
\r
234 protected ConditionValue getCValueIsroot() { return getIsroot(); }
\r
236 public BsTOperationCQ addOrderBy_Isroot_Asc() { regOBA("IsRoot"); return this; }
\r
237 public BsTOperationCQ addOrderBy_Isroot_Desc() { regOBD("IsRoot"); return this; }
\r
239 protected ConditionValue _isleaf;
\r
240 public ConditionValue getIsleaf() {
\r
241 if (_isleaf == null) { _isleaf = new ConditionValue(); }
\r
244 protected ConditionValue getCValueIsleaf() { return getIsleaf(); }
\r
246 public BsTOperationCQ addOrderBy_Isleaf_Asc() { regOBA("IsLeaf"); return this; }
\r
247 public BsTOperationCQ addOrderBy_Isleaf_Desc() { regOBD("IsLeaf"); return this; }
\r
249 protected ConditionValue _isquery;
\r
250 public ConditionValue getIsquery() {
\r
251 if (_isquery == null) { _isquery = new ConditionValue(); }
\r
254 protected ConditionValue getCValueIsquery() { return getIsquery(); }
\r
256 public BsTOperationCQ addOrderBy_Isquery_Asc() { regOBA("IsQuery"); return this; }
\r
257 public BsTOperationCQ addOrderBy_Isquery_Desc() { regOBD("IsQuery"); return this; }
\r
259 protected ConditionValue _stateflags;
\r
260 public ConditionValue getStateflags() {
\r
261 if (_stateflags == null) { _stateflags = new ConditionValue(); }
\r
262 return _stateflags;
\r
264 protected ConditionValue getCValueStateflags() { return getStateflags(); }
\r
266 public BsTOperationCQ addOrderBy_Stateflags_Asc() { regOBA("StateFlags"); return this; }
\r
267 public BsTOperationCQ addOrderBy_Stateflags_Desc() { regOBD("StateFlags"); return this; }
\r
269 protected ConditionValue _eaGuid;
\r
270 public ConditionValue getEaGuid() {
\r
271 if (_eaGuid == null) { _eaGuid = new ConditionValue(); }
\r
274 protected ConditionValue getCValueEaGuid() { return getEaGuid(); }
\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
279 protected ConditionValue _styleex;
\r
280 public ConditionValue getStyleex() {
\r
281 if (_styleex == null) { _styleex = new ConditionValue(); }
\r
284 protected ConditionValue getCValueStyleex() { return getStyleex(); }
\r
286 public BsTOperationCQ addOrderBy_Styleex_Asc() { regOBA("StyleEx"); return this; }
\r
287 public BsTOperationCQ addOrderBy_Styleex_Desc() { regOBD("StyleEx"); return this; }
\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
295 // ===================================================================================
\r
298 protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
\r
301 // ===================================================================================
\r
306 protected String getConditionQueryClassNameInternally() { return TOperationCQ.class.getName(); }
\r
307 protected String getMapClassNameInternally() { return Map.class.getName(); }
\r