1 package jp.sourceforge.ea2ddl.dao.cbean.cq.ciq;
\r
3 import org.seasar.dbflute.cbean.*;
\r
4 import org.seasar.dbflute.cbean.ckey.*;
\r
5 import org.seasar.dbflute.cbean.coption.ConditionOption;
\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.*;
\r
9 import jp.sourceforge.ea2ddl.dao.cbean.cq.bs.*;
\r
10 import jp.sourceforge.ea2ddl.dao.cbean.cq.*;
\r
13 * The condition-inline-query of t_operation.
\r
14 * @author DBFlute(AutoGenerator)
\r
16 public class TOperationCIQ extends AbstractBsTOperationCQ {
\r
18 // ===================================================================================
\r
21 protected BsTOperationCQ _myCQ;
\r
23 // ===================================================================================
\r
26 public TOperationCIQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel, BsTOperationCQ myCQ) {
\r
27 super(childQuery, sqlClause, aliasName, nestLevel);
\r
29 _foreignPropertyName = _myCQ.getForeignPropertyName();// Accept foreign property name.
\r
30 _relationPath = _myCQ.getRelationPath();// Accept relation path.
\r
33 // ===================================================================================
\r
34 // Override about Register
\r
35 // =======================
\r
37 protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
\r
38 throw new UnsupportedOperationException("InlineQuery must not need UNION method: " + baseQueryAsSuper + " : " + unionQueryAsSuper);
\r
42 protected void setupConditionValueAndRegisterWhereClause(ConditionKey k, Object v, ConditionValue cv, String col) {
\r
43 regIQ(k, v, cv, col);
\r
47 protected void setupConditionValueAndRegisterWhereClause(ConditionKey k, Object v, ConditionValue cv, String col, ConditionOption op) {
\r
48 regIQ(k, v, cv, col, op);
\r
52 protected void registerWhereClause(String whereClause) {
\r
53 registerInlineWhereClause(whereClause);
\r
57 protected String getInScopeSubQueryRealColumnName(String columnName) {
\r
58 if (_onClauseInline) {
\r
59 throw new UnsupportedOperationException("InScopeSubQuery of on-clause is unsupported");
\r
61 return _onClauseInline ? getRealAliasName() + "." + columnName : columnName;
\r
65 protected void registerExistsSubQuery(ConditionQuery subQuery
\r
66 , String columnName, String relatedColumnName, String propertyName) {
\r
67 throw new UnsupportedOperationException("Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
\r
70 // ===================================================================================
\r
71 // Override about Query
\r
72 // ====================
\r
73 protected ConditionValue getCValueOperationid() {
\r
74 return _myCQ.getOperationid();
\r
76 public String keepOperationid_InScopeSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {
\r
77 return _myCQ.keepOperationid_InScopeSubQuery_TOperationparamsList(subQuery);
\r
79 public String keepOperationid_NotInScopeSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {
\r
80 return _myCQ.keepOperationid_NotInScopeSubQuery_TOperationparamsList(subQuery);
\r
82 public String keepOperationid_ExistsSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {
\r
83 throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
\r
85 public String keepOperationid_NotExistsSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {
\r
86 throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");
\r
88 public String keepOperationid_SpecifyDerivedReferrer_TOperationparamsList(TOperationparamsCQ subQuery) {
\r
89 throw new UnsupportedOperationException("(Specify)DerivedReferrer at inline() is unsupported! Sorry!");
\r
91 public String keepOperationid_QueryDerivedReferrer_TOperationparamsList(TOperationparamsCQ subQuery) {
\r
92 throw new UnsupportedOperationException("(Query)DerivedReferrer at inline() is unsupported! Sorry!");
\r
94 public String keepOperationid_QueryDerivedReferrer_TOperationparamsListParameter(Object parameterValue) {
\r
95 throw new UnsupportedOperationException("(Query)DerivedReferrer at inline() is unsupported! Sorry!");
\r
97 protected ConditionValue getCValueObjectId() {
\r
98 return _myCQ.getObjectId();
\r
100 protected ConditionValue getCValueName() {
\r
101 return _myCQ.getName();
\r
103 public String keepName_InScopeSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {
\r
104 return _myCQ.keepName_InScopeSubQuery_TConnectorBySourceroleList(subQuery);
\r
106 public String keepName_InScopeSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {
\r
107 return _myCQ.keepName_InScopeSubQuery_TConnectorByDestroleList(subQuery);
\r
109 public String keepName_NotInScopeSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {
\r
110 return _myCQ.keepName_NotInScopeSubQuery_TConnectorBySourceroleList(subQuery);
\r
112 public String keepName_NotInScopeSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {
\r
113 return _myCQ.keepName_NotInScopeSubQuery_TConnectorByDestroleList(subQuery);
\r
115 public String keepName_ExistsSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {
\r
116 throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
\r
118 public String keepName_ExistsSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {
\r
119 throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
\r
121 public String keepName_NotExistsSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {
\r
122 throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");
\r
124 public String keepName_NotExistsSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {
\r
125 throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");
\r
127 public String keepName_SpecifyDerivedReferrer_TConnectorBySourceroleList(TConnectorCQ subQuery) {
\r
128 throw new UnsupportedOperationException("(Specify)DerivedReferrer at inline() is unsupported! Sorry!");
\r
130 public String keepName_SpecifyDerivedReferrer_TConnectorByDestroleList(TConnectorCQ subQuery) {
\r
131 throw new UnsupportedOperationException("(Specify)DerivedReferrer at inline() is unsupported! Sorry!");
\r
133 public String keepName_QueryDerivedReferrer_TConnectorBySourceroleList(TConnectorCQ subQuery) {
\r
134 throw new UnsupportedOperationException("(Query)DerivedReferrer at inline() is unsupported! Sorry!");
\r
136 public String keepName_QueryDerivedReferrer_TConnectorBySourceroleListParameter(Object parameterValue) {
\r
137 throw new UnsupportedOperationException("(Query)DerivedReferrer at inline() is unsupported! Sorry!");
\r
139 public String keepName_QueryDerivedReferrer_TConnectorByDestroleList(TConnectorCQ subQuery) {
\r
140 throw new UnsupportedOperationException("(Query)DerivedReferrer at inline() is unsupported! Sorry!");
\r
142 public String keepName_QueryDerivedReferrer_TConnectorByDestroleListParameter(Object parameterValue) {
\r
143 throw new UnsupportedOperationException("(Query)DerivedReferrer at inline() is unsupported! Sorry!");
\r
145 protected ConditionValue getCValueScope() {
\r
146 return _myCQ.getScope();
\r
148 protected ConditionValue getCValueType() {
\r
149 return _myCQ.getType();
\r
151 protected ConditionValue getCValueReturnarray() {
\r
152 return _myCQ.getReturnarray();
\r
154 protected ConditionValue getCValueStereotype() {
\r
155 return _myCQ.getStereotype();
\r
157 protected ConditionValue getCValueIsstatic() {
\r
158 return _myCQ.getIsstatic();
\r
160 protected ConditionValue getCValueConcurrency() {
\r
161 return _myCQ.getConcurrency();
\r
163 protected ConditionValue getCValueNotes() {
\r
164 return _myCQ.getNotes();
\r
166 protected ConditionValue getCValueBehaviour() {
\r
167 return _myCQ.getBehaviour();
\r
169 protected ConditionValue getCValueGenoption() {
\r
170 return _myCQ.getGenoption();
\r
172 protected ConditionValue getCValuePos() {
\r
173 return _myCQ.getPos();
\r
175 protected ConditionValue getCValueStyle() {
\r
176 return _myCQ.getStyle();
\r
178 protected ConditionValue getCValuePure() {
\r
179 return _myCQ.getPure();
\r
181 protected ConditionValue getCValueClassifier() {
\r
182 return _myCQ.getClassifier();
\r
184 protected ConditionValue getCValueCode() {
\r
185 return _myCQ.getCode();
\r
187 protected ConditionValue getCValueIsroot() {
\r
188 return _myCQ.getIsroot();
\r
190 protected ConditionValue getCValueIsleaf() {
\r
191 return _myCQ.getIsleaf();
\r
193 protected ConditionValue getCValueIsquery() {
\r
194 return _myCQ.getIsquery();
\r
196 protected ConditionValue getCValueStateflags() {
\r
197 return _myCQ.getStateflags();
\r
199 protected ConditionValue getCValueEaGuid() {
\r
200 return _myCQ.getEaGuid();
\r
202 protected ConditionValue getCValueStyleex() {
\r
203 return _myCQ.getStyleex();
\r
206 // ===================================================================================
\r
209 public String keepScalarSubQuery(TOperationCQ subQuery) {
\r
210 throw new UnsupportedOperationException("ScalarSubQuery at inline() is unsupported! Sorry!");
\r
213 // ===================================================================================
\r
214 // MySelf InScope SubQuery
\r
215 // =======================
\r
216 public String keepMyselfInScopeSubQuery(TOperationCQ subQuery) {
\r
217 throw new UnsupportedOperationException("MyselfInScopeSubQuery at inline() is unsupported! Sorry!");
\r
220 // ===================================================================================
\r
223 // Very Internal (for Suppressing Warn about 'Not Use Import')
\r
224 String xiCB() { return TOperationCB.class.getName(); }
\r
225 String xiCQ() { return TOperationCQ.class.getName(); }
\r