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_objecttests.
\r
13 * @author DBFlute(AutoGenerator)
\r
15 @SuppressWarnings("unchecked")
\r
16 public class BsTObjecttestsCQ extends AbstractBsTObjecttestsCQ {
\r
18 // ===================================================================================
\r
21 protected TObjecttestsCIQ _inlineQuery;
\r
23 // ===================================================================================
\r
26 public BsTObjecttestsCQ(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_objecttests) where abc = [abc] ...}
\r
36 * @return Inline query. (NotNull)
\r
38 public TObjecttestsCIQ inline() {
\r
39 if (_inlineQuery == null) {
\r
40 _inlineQuery = new TObjecttestsCIQ(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_objecttests on ... and abc = [abc] ...}
\r
48 * @return On-clause query. (NotNull)
\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
55 // ===================================================================================
\r
59 protected ConditionValue _objectId;
\r
60 public ConditionValue getObjectId() {
\r
61 if (_objectId == null) { _objectId = new ConditionValue(); }
\r
64 protected ConditionValue getCValueObjectId() { return getObjectId(); }
\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
69 protected ConditionValue _test;
\r
70 public ConditionValue getTest() {
\r
71 if (_test == null) { _test = new ConditionValue(); }
\r
74 protected ConditionValue getCValueTest() { return getTest(); }
\r
76 public BsTObjecttestsCQ addOrderBy_Test_Asc() { regOBA("Test"); return this; }
\r
77 public BsTObjecttestsCQ addOrderBy_Test_Desc() { regOBD("Test"); return this; }
\r
79 protected ConditionValue _testclass;
\r
80 public ConditionValue getTestclass() {
\r
81 if (_testclass == null) { _testclass = new ConditionValue(); }
\r
84 protected ConditionValue getCValueTestclass() { return getTestclass(); }
\r
86 public BsTObjecttestsCQ addOrderBy_Testclass_Asc() { regOBA("TestClass"); return this; }
\r
87 public BsTObjecttestsCQ addOrderBy_Testclass_Desc() { regOBD("TestClass"); return this; }
\r
89 protected ConditionValue _testtype;
\r
90 public ConditionValue getTesttype() {
\r
91 if (_testtype == null) { _testtype = new ConditionValue(); }
\r
94 protected ConditionValue getCValueTesttype() { return getTesttype(); }
\r
96 public BsTObjecttestsCQ addOrderBy_Testtype_Asc() { regOBA("TestType"); return this; }
\r
97 public BsTObjecttestsCQ addOrderBy_Testtype_Desc() { regOBD("TestType"); return this; }
\r
99 protected ConditionValue _notes;
\r
100 public ConditionValue getNotes() {
\r
101 if (_notes == null) { _notes = new ConditionValue(); }
\r
104 protected ConditionValue getCValueNotes() { return getNotes(); }
\r
106 public BsTObjecttestsCQ addOrderBy_Notes_Asc() { regOBA("Notes"); return this; }
\r
107 public BsTObjecttestsCQ addOrderBy_Notes_Desc() { regOBD("Notes"); return this; }
\r
109 protected ConditionValue _inputdata;
\r
110 public ConditionValue getInputdata() {
\r
111 if (_inputdata == null) { _inputdata = new ConditionValue(); }
\r
114 protected ConditionValue getCValueInputdata() { return getInputdata(); }
\r
116 public BsTObjecttestsCQ addOrderBy_Inputdata_Asc() { regOBA("InputData"); return this; }
\r
117 public BsTObjecttestsCQ addOrderBy_Inputdata_Desc() { regOBD("InputData"); return this; }
\r
119 protected ConditionValue _acceptancecriteria;
\r
120 public ConditionValue getAcceptancecriteria() {
\r
121 if (_acceptancecriteria == null) { _acceptancecriteria = new ConditionValue(); }
\r
122 return _acceptancecriteria;
\r
124 protected ConditionValue getCValueAcceptancecriteria() { return getAcceptancecriteria(); }
\r
126 public BsTObjecttestsCQ addOrderBy_Acceptancecriteria_Asc() { regOBA("AcceptanceCriteria"); return this; }
\r
127 public BsTObjecttestsCQ addOrderBy_Acceptancecriteria_Desc() { regOBD("AcceptanceCriteria"); return this; }
\r
129 protected ConditionValue _status;
\r
130 public ConditionValue getStatus() {
\r
131 if (_status == null) { _status = new ConditionValue(); }
\r
134 protected ConditionValue getCValueStatus() { return getStatus(); }
\r
136 public BsTObjecttestsCQ addOrderBy_Status_Asc() { regOBA("Status"); return this; }
\r
137 public BsTObjecttestsCQ addOrderBy_Status_Desc() { regOBD("Status"); return this; }
\r
139 protected ConditionValue _daterun;
\r
140 public ConditionValue getDaterun() {
\r
141 if (_daterun == null) { _daterun = new ConditionValue(); }
\r
144 protected ConditionValue getCValueDaterun() { return getDaterun(); }
\r
146 public BsTObjecttestsCQ addOrderBy_Daterun_Asc() { regOBA("DateRun"); return this; }
\r
147 public BsTObjecttestsCQ addOrderBy_Daterun_Desc() { regOBD("DateRun"); return this; }
\r
149 protected ConditionValue _results;
\r
150 public ConditionValue getResults() {
\r
151 if (_results == null) { _results = new ConditionValue(); }
\r
154 protected ConditionValue getCValueResults() { return getResults(); }
\r
156 public BsTObjecttestsCQ addOrderBy_Results_Asc() { regOBA("Results"); return this; }
\r
157 public BsTObjecttestsCQ addOrderBy_Results_Desc() { regOBD("Results"); return this; }
\r
159 protected ConditionValue _runby;
\r
160 public ConditionValue getRunby() {
\r
161 if (_runby == null) { _runby = new ConditionValue(); }
\r
164 protected ConditionValue getCValueRunby() { return getRunby(); }
\r
166 public BsTObjecttestsCQ addOrderBy_Runby_Asc() { regOBA("RunBy"); return this; }
\r
167 public BsTObjecttestsCQ addOrderBy_Runby_Desc() { regOBD("RunBy"); return this; }
\r
169 protected ConditionValue _checkby;
\r
170 public ConditionValue getCheckby() {
\r
171 if (_checkby == null) { _checkby = new ConditionValue(); }
\r
174 protected ConditionValue getCValueCheckby() { return getCheckby(); }
\r
176 public BsTObjecttestsCQ addOrderBy_Checkby_Asc() { regOBA("CheckBy"); return this; }
\r
177 public BsTObjecttestsCQ addOrderBy_Checkby_Desc() { regOBD("CheckBy"); return this; }
\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
185 // ===================================================================================
\r
188 protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
\r
191 // ===================================================================================
\r
196 protected String getConditionQueryClassNameInternally() { return TObjecttestsCQ.class.getName(); }
\r
197 protected String getMapClassNameInternally() { return Map.class.getName(); }
\r