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 / ciq / TConnectorCIQ.java
1 package jp.sourceforge.ea2ddl.dao.cbean.cq.ciq;\r
2 \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
10 \r
11 /**\r
12  * The condition-inline-query of t_connector.\r
13  * @author DBFlute(AutoGenerator)\r
14  */
15 @SuppressWarnings("unchecked")\r
16 public class TConnectorCIQ extends AbstractBsTConnectorCQ {\r
17 \r
18     // ===================================================================================\r
19     //                                                                           Attribute\r
20     //                                                                           =========\r
21     protected BsTConnectorCQ _myCQ;\r
22 \r
23     // ===================================================================================\r
24     //                                                                         Constructor\r
25     //                                                                         ===========\r
26     public TConnectorCIQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel, BsTConnectorCQ myCQ) {\r
27         super(childQuery, sqlClause, aliasName, nestLevel);\r
28         _myCQ = myCQ;\r
29         _foreignPropertyName = _myCQ.getForeignPropertyName();// Accept foreign property name.\r
30         _relationPath = _myCQ.getRelationPath();// Accept relation path.\r
31     }\r
32 \r
33     // ===================================================================================\r
34     //                                                             Override about Register\r
35     //                                                             =======================\r
36     @Override\r
37     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r
38         throw new UnsupportedOperationException("InlineQuery must not need UNION method: " + baseQueryAsSuper + " : " + unionQueryAsSuper);\r
39     }\r
40 \r
41     @Override\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
45     }\r
46 \r
47     @Override\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
51     }\r
52 \r
53     @Override\r
54     protected void registerWhereClause(String whereClause) {\r
55         registerInlineWhereClause(whereClause);\r
56     }\r
57 \r
58     @Override\r
59     protected String getInScopeSubQueryRealColumnName(String columnName) {\r
60         if (_onClauseInline) {\r
61             throw new UnsupportedOperationException("InScopeSubQuery of on-clause is unsupported");\r
62         }\r
63         return _onClauseInline ? getRealAliasName() + "." + columnName : columnName;\r
64     }\r
65 \r
66     @Override\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
70     }\r
71 \r
72     // ===================================================================================\r
73     //                                                                Override about Query\r
74     //                                                                ====================\r
75     protected ConditionValue getCValueConnectorId() {\r
76         return _myCQ.getConnectorId();\r
77     }\r
78     protected ConditionValue getCValueName() {\r
79         return _myCQ.getName();\r
80     }\r
81     protected ConditionValue getCValueDirection() {\r
82         return _myCQ.getDirection();\r
83     }\r
84     protected ConditionValue getCValueNotes() {\r
85         return _myCQ.getNotes();\r
86     }\r
87     protected ConditionValue getCValueConnectorType() {\r
88         return _myCQ.getConnectorType();\r
89     }\r
90     protected ConditionValue getCValueSubtype() {\r
91         return _myCQ.getSubtype();\r
92     }\r
93     protected ConditionValue getCValueSourcecard() {\r
94         return _myCQ.getSourcecard();\r
95     }\r
96     protected ConditionValue getCValueSourceaccess() {\r
97         return _myCQ.getSourceaccess();\r
98     }\r
99     protected ConditionValue getCValueSourceelement() {\r
100         return _myCQ.getSourceelement();\r
101     }\r
102     protected ConditionValue getCValueDestcard() {\r
103         return _myCQ.getDestcard();\r
104     }\r
105     protected ConditionValue getCValueDestaccess() {\r
106         return _myCQ.getDestaccess();\r
107     }\r
108     protected ConditionValue getCValueDestelement() {\r
109         return _myCQ.getDestelement();\r
110     }\r
111     protected ConditionValue getCValueSourcerole() {\r
112         return _myCQ.getSourcerole();\r
113     }\r
114     protected ConditionValue getCValueSourceroletype() {\r
115         return _myCQ.getSourceroletype();\r
116     }\r
117     protected ConditionValue getCValueSourcerolenote() {\r
118         return _myCQ.getSourcerolenote();\r
119     }\r
120     protected ConditionValue getCValueSourcecontainment() {\r
121         return _myCQ.getSourcecontainment();\r
122     }\r
123     protected ConditionValue getCValueSourceisaggregate() {\r
124         return _myCQ.getSourceisaggregate();\r
125     }\r
126     protected ConditionValue getCValueSourceisordered() {\r
127         return _myCQ.getSourceisordered();\r
128     }\r
129     protected ConditionValue getCValueSourcequalifier() {\r
130         return _myCQ.getSourcequalifier();\r
131     }\r
132     protected ConditionValue getCValueDestrole() {\r
133         return _myCQ.getDestrole();\r
134     }\r
135     protected ConditionValue getCValueDestroletype() {\r
136         return _myCQ.getDestroletype();\r
137     }\r
138     protected ConditionValue getCValueDestrolenote() {\r
139         return _myCQ.getDestrolenote();\r
140     }\r
141     protected ConditionValue getCValueDestcontainment() {\r
142         return _myCQ.getDestcontainment();\r
143     }\r
144     protected ConditionValue getCValueDestisaggregate() {\r
145         return _myCQ.getDestisaggregate();\r
146     }\r
147     protected ConditionValue getCValueDestisordered() {\r
148         return _myCQ.getDestisordered();\r
149     }\r
150     protected ConditionValue getCValueDestqualifier() {\r
151         return _myCQ.getDestqualifier();\r
152     }\r
153     protected ConditionValue getCValueStartObjectId() {\r
154         return _myCQ.getStartObjectId();\r
155     }\r
156     protected ConditionValue getCValueEndObjectId() {\r
157         return _myCQ.getEndObjectId();\r
158     }\r
159     protected ConditionValue getCValueTopStartLabel() {\r
160         return _myCQ.getTopStartLabel();\r
161     }\r
162     protected ConditionValue getCValueTopMidLabel() {\r
163         return _myCQ.getTopMidLabel();\r
164     }\r
165     protected ConditionValue getCValueTopEndLabel() {\r
166         return _myCQ.getTopEndLabel();\r
167     }\r
168     protected ConditionValue getCValueBtmStartLabel() {\r
169         return _myCQ.getBtmStartLabel();\r
170     }\r
171     protected ConditionValue getCValueBtmMidLabel() {\r
172         return _myCQ.getBtmMidLabel();\r
173     }\r
174     protected ConditionValue getCValueBtmEndLabel() {\r
175         return _myCQ.getBtmEndLabel();\r
176     }\r
177     protected ConditionValue getCValueStartEdge() {\r
178         return _myCQ.getStartEdge();\r
179     }\r
180     protected ConditionValue getCValueEndEdge() {\r
181         return _myCQ.getEndEdge();\r
182     }\r
183     protected ConditionValue getCValuePtstartx() {\r
184         return _myCQ.getPtstartx();\r
185     }\r
186     protected ConditionValue getCValuePtstarty() {\r
187         return _myCQ.getPtstarty();\r
188     }\r
189     protected ConditionValue getCValuePtendx() {\r
190         return _myCQ.getPtendx();\r
191     }\r
192     protected ConditionValue getCValuePtendy() {\r
193         return _myCQ.getPtendy();\r
194     }\r
195     protected ConditionValue getCValueSeqno() {\r
196         return _myCQ.getSeqno();\r
197     }\r
198     protected ConditionValue getCValueHeadstyle() {\r
199         return _myCQ.getHeadstyle();\r
200     }\r
201     protected ConditionValue getCValueLinestyle() {\r
202         return _myCQ.getLinestyle();\r
203     }\r
204     protected ConditionValue getCValueRoutestyle() {\r
205         return _myCQ.getRoutestyle();\r
206     }\r
207     protected ConditionValue getCValueIsbold() {\r
208         return _myCQ.getIsbold();\r
209     }\r
210     protected ConditionValue getCValueLinecolor() {\r
211         return _myCQ.getLinecolor();\r
212     }\r
213     protected ConditionValue getCValueStereotype() {\r
214         return _myCQ.getStereotype();\r
215     }\r
216     protected ConditionValue getCValueVirtualinheritance() {\r
217         return _myCQ.getVirtualinheritance();\r
218     }\r
219     protected ConditionValue getCValueLinkaccess() {\r
220         return _myCQ.getLinkaccess();\r
221     }\r
222     protected ConditionValue getCValuePdata1() {\r
223         return _myCQ.getPdata1();\r
224     }\r
225     protected ConditionValue getCValuePdata2() {\r
226         return _myCQ.getPdata2();\r
227     }\r
228     protected ConditionValue getCValuePdata3() {\r
229         return _myCQ.getPdata3();\r
230     }\r
231     protected ConditionValue getCValuePdata4() {\r
232         return _myCQ.getPdata4();\r
233     }\r
234     protected ConditionValue getCValuePdata5() {\r
235         return _myCQ.getPdata5();\r
236     }\r
237     protected ConditionValue getCValueDiagramid() {\r
238         return _myCQ.getDiagramid();\r
239     }\r
240     protected ConditionValue getCValueEaGuid() {\r
241         return _myCQ.getEaGuid();\r
242     }\r
243     protected ConditionValue getCValueSourceconstraint() {\r
244         return _myCQ.getSourceconstraint();\r
245     }\r
246     protected ConditionValue getCValueDestconstraint() {\r
247         return _myCQ.getDestconstraint();\r
248     }\r
249     protected ConditionValue getCValueSourceisnavigable() {\r
250         return _myCQ.getSourceisnavigable();\r
251     }\r
252     protected ConditionValue getCValueDestisnavigable() {\r
253         return _myCQ.getDestisnavigable();\r
254     }\r
255     protected ConditionValue getCValueIsroot() {\r
256         return _myCQ.getIsroot();\r
257     }\r
258     protected ConditionValue getCValueIsleaf() {\r
259         return _myCQ.getIsleaf();\r
260     }\r
261     protected ConditionValue getCValueIsspec() {\r
262         return _myCQ.getIsspec();\r
263     }\r
264     protected ConditionValue getCValueSourcechangeable() {\r
265         return _myCQ.getSourcechangeable();\r
266     }\r
267     protected ConditionValue getCValueDestchangeable() {\r
268         return _myCQ.getDestchangeable();\r
269     }\r
270     protected ConditionValue getCValueSourcets() {\r
271         return _myCQ.getSourcets();\r
272     }\r
273     protected ConditionValue getCValueDestts() {\r
274         return _myCQ.getDestts();\r
275     }\r
276     protected ConditionValue getCValueStateflags() {\r
277         return _myCQ.getStateflags();\r
278     }\r
279     protected ConditionValue getCValueActionflags() {\r
280         return _myCQ.getActionflags();\r
281     }\r
282     protected ConditionValue getCValueIssignal() {\r
283         return _myCQ.getIssignal();\r
284     }\r
285     protected ConditionValue getCValueIsstimulus() {\r
286         return _myCQ.getIsstimulus();\r
287     }\r
288     protected ConditionValue getCValueDispatchaction() {\r
289         return _myCQ.getDispatchaction();\r
290     }\r
291     protected ConditionValue getCValueTarget2() {\r
292         return _myCQ.getTarget2();\r
293     }\r
294     protected ConditionValue getCValueStyleex() {\r
295         return _myCQ.getStyleex();\r
296     }\r
297     protected ConditionValue getCValueSourcestereotype() {\r
298         return _myCQ.getSourcestereotype();\r
299     }\r
300     protected ConditionValue getCValueDeststereotype() {\r
301         return _myCQ.getDeststereotype();\r
302     }\r
303     protected ConditionValue getCValueSourcestyle() {\r
304         return _myCQ.getSourcestyle();\r
305     }\r
306     protected ConditionValue getCValueDeststyle() {\r
307         return _myCQ.getDeststyle();\r
308     }\r
309     protected ConditionValue getCValueEventflags() {\r
310         return _myCQ.getEventflags();\r
311     }\r
312 \r
313     protected String getConditionQueryClassNameInternally() { return TConnectorCQ.class.getName(); }\r
314 }\r