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_object.
\r
13 * @author DBFlute(AutoGenerator)
\r
15 @SuppressWarnings("unchecked")
\r
16 public class TObjectCIQ extends AbstractBsTObjectCQ {
\r
18 // ===================================================================================
\r
21 protected BsTObjectCQ _myCQ;
\r
23 // ===================================================================================
\r
26 public TObjectCIQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel, BsTObjectCQ 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 getCValueObjectId() {
\r
76 return _myCQ.getObjectId();
\r
78 protected ConditionValue getCValueObjectType() {
\r
79 return _myCQ.getObjectType();
\r
81 protected ConditionValue getCValueDiagramId() {
\r
82 return _myCQ.getDiagramId();
\r
84 protected ConditionValue getCValueName() {
\r
85 return _myCQ.getName();
\r
87 protected ConditionValue getCValueAlias() {
\r
88 return _myCQ.getAlias();
\r
90 protected ConditionValue getCValueAuthor() {
\r
91 return _myCQ.getAuthor();
\r
93 protected ConditionValue getCValueVersion() {
\r
94 return _myCQ.getVersion();
\r
96 protected ConditionValue getCValueNote() {
\r
97 return _myCQ.getNote();
\r
99 protected ConditionValue getCValuePackageId() {
\r
100 return _myCQ.getPackageId();
\r
102 protected ConditionValue getCValueStereotype() {
\r
103 return _myCQ.getStereotype();
\r
105 protected ConditionValue getCValueNtype() {
\r
106 return _myCQ.getNtype();
\r
108 protected ConditionValue getCValueComplexity() {
\r
109 return _myCQ.getComplexity();
\r
111 protected ConditionValue getCValueEffort() {
\r
112 return _myCQ.getEffort();
\r
114 protected ConditionValue getCValueStyle() {
\r
115 return _myCQ.getStyle();
\r
117 protected ConditionValue getCValueBackcolor() {
\r
118 return _myCQ.getBackcolor();
\r
120 protected ConditionValue getCValueBorderstyle() {
\r
121 return _myCQ.getBorderstyle();
\r
123 protected ConditionValue getCValueBorderwidth() {
\r
124 return _myCQ.getBorderwidth();
\r
126 protected ConditionValue getCValueFontcolor() {
\r
127 return _myCQ.getFontcolor();
\r
129 protected ConditionValue getCValueBordercolor() {
\r
130 return _myCQ.getBordercolor();
\r
132 protected ConditionValue getCValueCreateddate() {
\r
133 return _myCQ.getCreateddate();
\r
135 protected ConditionValue getCValueModifieddate() {
\r
136 return _myCQ.getModifieddate();
\r
138 protected ConditionValue getCValueStatus() {
\r
139 return _myCQ.getStatus();
\r
141 protected ConditionValue getCValueTagged() {
\r
142 return _myCQ.getTagged();
\r
144 protected ConditionValue getCValuePdata1() {
\r
145 return _myCQ.getPdata1();
\r
147 protected ConditionValue getCValuePdata2() {
\r
148 return _myCQ.getPdata2();
\r
150 protected ConditionValue getCValuePdata3() {
\r
151 return _myCQ.getPdata3();
\r
153 protected ConditionValue getCValuePdata4() {
\r
154 return _myCQ.getPdata4();
\r
156 protected ConditionValue getCValuePdata5() {
\r
157 return _myCQ.getPdata5();
\r
159 protected ConditionValue getCValueConcurrency() {
\r
160 return _myCQ.getConcurrency();
\r
162 protected ConditionValue getCValueVisibility() {
\r
163 return _myCQ.getVisibility();
\r
165 protected ConditionValue getCValuePersistence() {
\r
166 return _myCQ.getPersistence();
\r
168 protected ConditionValue getCValueCardinality() {
\r
169 return _myCQ.getCardinality();
\r
171 protected ConditionValue getCValueGentype() {
\r
172 return _myCQ.getGentype();
\r
174 protected ConditionValue getCValueGenfile() {
\r
175 return _myCQ.getGenfile();
\r
177 protected ConditionValue getCValueHeader1() {
\r
178 return _myCQ.getHeader1();
\r
180 protected ConditionValue getCValueHeader2() {
\r
181 return _myCQ.getHeader2();
\r
183 protected ConditionValue getCValuePhase() {
\r
184 return _myCQ.getPhase();
\r
186 protected ConditionValue getCValueScope() {
\r
187 return _myCQ.getScope();
\r
189 protected ConditionValue getCValueGenoption() {
\r
190 return _myCQ.getGenoption();
\r
192 protected ConditionValue getCValueGenlinks() {
\r
193 return _myCQ.getGenlinks();
\r
195 protected ConditionValue getCValueClassifier() {
\r
196 return _myCQ.getClassifier();
\r
198 protected ConditionValue getCValueEaGuid() {
\r
199 return _myCQ.getEaGuid();
\r
201 protected ConditionValue getCValueParentid() {
\r
202 return _myCQ.getParentid();
\r
204 protected ConditionValue getCValueRunstate() {
\r
205 return _myCQ.getRunstate();
\r
207 protected ConditionValue getCValueClassifierGuid() {
\r
208 return _myCQ.getClassifierGuid();
\r
210 protected ConditionValue getCValueTpos() {
\r
211 return _myCQ.getTpos();
\r
213 protected ConditionValue getCValueIsroot() {
\r
214 return _myCQ.getIsroot();
\r
216 protected ConditionValue getCValueIsleaf() {
\r
217 return _myCQ.getIsleaf();
\r
219 protected ConditionValue getCValueIsspec() {
\r
220 return _myCQ.getIsspec();
\r
222 protected ConditionValue getCValueIsactive() {
\r
223 return _myCQ.getIsactive();
\r
225 protected ConditionValue getCValueStateflags() {
\r
226 return _myCQ.getStateflags();
\r
228 protected ConditionValue getCValuePackageflags() {
\r
229 return _myCQ.getPackageflags();
\r
231 protected ConditionValue getCValueMultiplicity() {
\r
232 return _myCQ.getMultiplicity();
\r
234 protected ConditionValue getCValueStyleex() {
\r
235 return _myCQ.getStyleex();
\r
237 protected ConditionValue getCValueActionflags() {
\r
238 return _myCQ.getActionflags();
\r
240 protected ConditionValue getCValueEventflags() {
\r
241 return _myCQ.getEventflags();
\r
244 protected String getConditionQueryClassNameInternally() { return TObjectCQ.class.getName(); }
\r