OSDN Git Service

DBFlute-0.9.3に更新
[ea2ddl/ea2ddl.git] / ea2ddl-dao / src / main / java / jp / sourceforge / ea2ddl / dao / cbean / cq / ciq / TRtfreportCIQ.java
1 package jp.sourceforge.ea2ddl.dao.cbean.cq.ciq;\r
2 \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
11 \r
12 /**\r
13  * The condition-inline-query of t_rtfreport.\r
14  * @author DBFlute(AutoGenerator)\r
15  */\r
16 public class TRtfreportCIQ extends AbstractBsTRtfreportCQ {\r
17 \r
18     // ===================================================================================\r
19     //                                                                           Attribute\r
20     //                                                                           =========\r
21     protected BsTRtfreportCQ _myCQ;\r
22 \r
23     // ===================================================================================\r
24     //                                                                         Constructor\r
25     //                                                                         ===========\r
26     public TRtfreportCIQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel, BsTRtfreportCQ 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 k, Object v, ConditionValue cv, String col) {\r
43         regIQ(k, v, cv, col);\r
44     }\r
45 \r
46     @Override\r
47     protected void setupConditionValueAndRegisterWhereClause(ConditionKey k, Object v, ConditionValue cv, String col, ConditionOption op) {\r
48         regIQ(k, v, cv, col, op);\r
49     }\r
50 \r
51     @Override\r
52     protected void registerWhereClause(String whereClause) {\r
53         registerInlineWhereClause(whereClause);\r
54     }\r
55 \r
56     @Override\r
57     protected String getInScopeSubQueryRealColumnName(String columnName) {\r
58         if (_onClauseInline) {\r
59             throw new UnsupportedOperationException("InScopeSubQuery of on-clause is unsupported");\r
60         }\r
61         return _onClauseInline ? getRealAliasName() + "." + columnName : columnName;\r
62     }\r
63 \r
64     @Override\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
68     }\r
69 \r
70     // ===================================================================================\r
71     //                                                                Override about Query\r
72     //                                                                ====================\r
73     protected ConditionValue getCValueTemplateid() {\r
74         return _myCQ.getTemplateid();\r
75     }\r
76     protected ConditionValue getCValueRootpackage() {\r
77         return _myCQ.getRootpackage();\r
78     }\r
79     protected ConditionValue getCValueFilename() {\r
80         return _myCQ.getFilename();\r
81     }\r
82     protected ConditionValue getCValueDetails() {\r
83         return _myCQ.getDetails();\r
84     }\r
85     protected ConditionValue getCValueProcesschildren() {\r
86         return _myCQ.getProcesschildren();\r
87     }\r
88     protected ConditionValue getCValueShowdiagrams() {\r
89         return _myCQ.getShowdiagrams();\r
90     }\r
91     protected ConditionValue getCValueHeading() {\r
92         return _myCQ.getHeading();\r
93     }\r
94     protected ConditionValue getCValueRequirements() {\r
95         return _myCQ.getRequirements();\r
96     }\r
97     protected ConditionValue getCValueAssociations() {\r
98         return _myCQ.getAssociations();\r
99     }\r
100     protected ConditionValue getCValueScenarios() {\r
101         return _myCQ.getScenarios();\r
102     }\r
103     protected ConditionValue getCValueChilddiagrams() {\r
104         return _myCQ.getChilddiagrams();\r
105     }\r
106     protected ConditionValue getCValueAttributes() {\r
107         return _myCQ.getAttributes();\r
108     }\r
109     protected ConditionValue getCValueMethods() {\r
110         return _myCQ.getMethods();\r
111     }\r
112     protected ConditionValue getCValueImagetype() {\r
113         return _myCQ.getImagetype();\r
114     }\r
115     protected ConditionValue getCValuePaging() {\r
116         return _myCQ.getPaging();\r
117     }\r
118     protected ConditionValue getCValueIntro() {\r
119         return _myCQ.getIntro();\r
120     }\r
121     protected ConditionValue getCValueResources() {\r
122         return _myCQ.getResources();\r
123     }\r
124     protected ConditionValue getCValueConstraints() {\r
125         return _myCQ.getConstraints();\r
126     }\r
127     protected ConditionValue getCValueTagged() {\r
128         return _myCQ.getTagged();\r
129     }\r
130     protected ConditionValue getCValueShowtag() {\r
131         return _myCQ.getShowtag();\r
132     }\r
133     protected ConditionValue getCValueShowalias() {\r
134         return _myCQ.getShowalias();\r
135     }\r
136     protected ConditionValue getCValuePdata1() {\r
137         return _myCQ.getPdata1();\r
138     }\r
139     protected ConditionValue getCValuePdata2() {\r
140         return _myCQ.getPdata2();\r
141     }\r
142     protected ConditionValue getCValuePdata3() {\r
143         return _myCQ.getPdata3();\r
144     }\r
145     protected ConditionValue getCValuePdata4() {\r
146         return _myCQ.getPdata4();\r
147     }\r
148 \r
149     // ===================================================================================\r
150     //                                                                       Very Internal\r
151     //                                                                       =============\r
152     // Very Internal (for Suppressing Warn about 'Not Use Import')\r
153     String xiCB() { return TRtfreportCB.class.getName(); }\r
154     String xiCQ() { return TRtfreportCQ.class.getName(); }\r
155 }\r