1 package jp.sourceforge.ea2ddl.dao.cbean.cq.ciq;
\r
3 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.*;
\r
4 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.ckey.*;
\r
5 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.coption.ConditionOption;
\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.bs.*;
\r
9 import jp.sourceforge.ea2ddl.dao.cbean.cq.*;
\r
12 * The condition-inline-query of t_operation.
\r
13 * @author DBFlute(AutoGenerator)
\r
15 @SuppressWarnings("unchecked")
\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 key, Object value, ConditionValue cvalue
\r
43 , String colName, String capPropName, String uncapPropName) {
\r
44 registerInlineQuery(key, value, cvalue, colName, capPropName, uncapPropName);
\r
48 protected void setupConditionValueAndRegisterWhereClause(ConditionKey key, Object value, ConditionValue cvalue
\r
49 , String colName, String capPropName, String uncapPropName, ConditionOption option) {
\r
50 registerInlineQuery(key, value, cvalue, colName, capPropName, uncapPropName, option);
\r
54 protected void registerWhereClause(String whereClause) {
\r
55 registerInlineWhereClause(whereClause);
\r
59 protected String getInScopeSubQueryRealColumnName(String columnName) {
\r
60 if (_onClauseInline) {
\r
61 throw new UnsupportedOperationException("InScopeSubQuery of on-clause is unsupported");
\r
63 return _onClauseInline ? getRealAliasName() + "." + columnName : columnName;
\r
67 protected void registerExistsSubQuery(ConditionQuery subQuery
\r
68 , String columnName, String relatedColumnName, String propertyName) {
\r
69 throw new UnsupportedOperationException("Sorry! ExistsSubQuery at inline view is unsupported. So please use InScopeSubQyery.");
\r
72 // ===================================================================================
\r
73 // Override about Query
\r
74 // ====================
\r
75 protected ConditionValue getCValueOperationid() {
\r
76 return _myCQ.getOperationid();
\r
78 public String keepOperationid_InScopeSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {
\r
79 return _myCQ.keepOperationid_InScopeSubQuery_TOperationparamsList(subQuery);
\r
81 public String keepOperationid_NotInScopeSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {
\r
82 return _myCQ.keepOperationid_NotInScopeSubQuery_TOperationparamsList(subQuery);
\r
84 public String keepOperationid_ExistsSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {
\r
85 throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
\r
87 public String keepOperationid_NotExistsSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {
\r
88 throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");
\r
90 public String keepOperationid_DeriveSubQuery_TOperationparamsList(TOperationparamsCQ subQuery) {
\r
91 throw new UnsupportedOperationException("DeriveSubQuery at inline() is unsupported! Sorry!");
\r
93 protected ConditionValue getCValueObjectId() {
\r
94 return _myCQ.getObjectId();
\r
96 protected ConditionValue getCValueName() {
\r
97 return _myCQ.getName();
\r
99 public String keepName_InScopeSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {
\r
100 return _myCQ.keepName_InScopeSubQuery_TConnectorBySourceroleList(subQuery);
\r
102 public String keepName_InScopeSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {
\r
103 return _myCQ.keepName_InScopeSubQuery_TConnectorByDestroleList(subQuery);
\r
105 public String keepName_NotInScopeSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {
\r
106 return _myCQ.keepName_NotInScopeSubQuery_TConnectorBySourceroleList(subQuery);
\r
108 public String keepName_NotInScopeSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {
\r
109 return _myCQ.keepName_NotInScopeSubQuery_TConnectorByDestroleList(subQuery);
\r
111 public String keepName_ExistsSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {
\r
112 throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
\r
114 public String keepName_ExistsSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {
\r
115 throw new UnsupportedOperationException("ExistsSubQuery at inline() is unsupported! Sorry!");
\r
117 public String keepName_NotExistsSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {
\r
118 throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");
\r
120 public String keepName_NotExistsSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {
\r
121 throw new UnsupportedOperationException("NotExistsSubQuery at inline() is unsupported! Sorry!");
\r
123 public String keepName_DeriveSubQuery_TConnectorBySourceroleList(TConnectorCQ subQuery) {
\r
124 throw new UnsupportedOperationException("DeriveSubQuery at inline() is unsupported! Sorry!");
\r
126 public String keepName_DeriveSubQuery_TConnectorByDestroleList(TConnectorCQ subQuery) {
\r
127 throw new UnsupportedOperationException("DeriveSubQuery at inline() is unsupported! Sorry!");
\r
129 protected ConditionValue getCValueScope() {
\r
130 return _myCQ.getScope();
\r
132 protected ConditionValue getCValueType() {
\r
133 return _myCQ.getType();
\r
135 protected ConditionValue getCValueReturnarray() {
\r
136 return _myCQ.getReturnarray();
\r
138 protected ConditionValue getCValueStereotype() {
\r
139 return _myCQ.getStereotype();
\r
141 protected ConditionValue getCValueIsstatic() {
\r
142 return _myCQ.getIsstatic();
\r
144 protected ConditionValue getCValueConcurrency() {
\r
145 return _myCQ.getConcurrency();
\r
147 protected ConditionValue getCValueNotes() {
\r
148 return _myCQ.getNotes();
\r
150 protected ConditionValue getCValueBehaviour() {
\r
151 return _myCQ.getBehaviour();
\r
153 protected ConditionValue getCValueGenoption() {
\r
154 return _myCQ.getGenoption();
\r
156 protected ConditionValue getCValuePos() {
\r
157 return _myCQ.getPos();
\r
159 protected ConditionValue getCValueStyle() {
\r
160 return _myCQ.getStyle();
\r
162 protected ConditionValue getCValuePure() {
\r
163 return _myCQ.getPure();
\r
165 protected ConditionValue getCValueClassifier() {
\r
166 return _myCQ.getClassifier();
\r
168 protected ConditionValue getCValueCode() {
\r
169 return _myCQ.getCode();
\r
171 protected ConditionValue getCValueIsroot() {
\r
172 return _myCQ.getIsroot();
\r
174 protected ConditionValue getCValueIsleaf() {
\r
175 return _myCQ.getIsleaf();
\r
177 protected ConditionValue getCValueIsquery() {
\r
178 return _myCQ.getIsquery();
\r
180 protected ConditionValue getCValueStateflags() {
\r
181 return _myCQ.getStateflags();
\r
183 protected ConditionValue getCValueEaGuid() {
\r
184 return _myCQ.getEaGuid();
\r
186 protected ConditionValue getCValueStyleex() {
\r
187 return _myCQ.getStyleex();
\r
190 protected String getConditionQueryClassNameInternally() { return TOperationCQ.class.getName(); }
\r