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_attribute.
\r
13 * @author DBFlute(AutoGenerator)
\r
15 @SuppressWarnings("unchecked")
\r
16 public class TAttributeCIQ extends AbstractBsTAttributeCQ {
\r
18 // ===================================================================================
\r
21 protected BsTAttributeCQ _myCQ;
\r
23 // ===================================================================================
\r
26 public TAttributeCIQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel, BsTAttributeCQ 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 getCValueName() {
\r
79 return _myCQ.getName();
\r
81 protected ConditionValue getCValueScope() {
\r
82 return _myCQ.getScope();
\r
84 protected ConditionValue getCValueStereotype() {
\r
85 return _myCQ.getStereotype();
\r
87 protected ConditionValue getCValueContainment() {
\r
88 return _myCQ.getContainment();
\r
90 protected ConditionValue getCValueIsstatic() {
\r
91 return _myCQ.getIsstatic();
\r
93 protected ConditionValue getCValueIscollection() {
\r
94 return _myCQ.getIscollection();
\r
96 protected ConditionValue getCValueIsordered() {
\r
97 return _myCQ.getIsordered();
\r
99 protected ConditionValue getCValueAllowduplicates() {
\r
100 return _myCQ.getAllowduplicates();
\r
102 protected ConditionValue getCValueLowerbound() {
\r
103 return _myCQ.getLowerbound();
\r
105 protected ConditionValue getCValueUpperbound() {
\r
106 return _myCQ.getUpperbound();
\r
108 protected ConditionValue getCValueContainer() {
\r
109 return _myCQ.getContainer();
\r
111 protected ConditionValue getCValueNotes() {
\r
112 return _myCQ.getNotes();
\r
114 protected ConditionValue getCValueDerived() {
\r
115 return _myCQ.getDerived();
\r
117 protected ConditionValue getCValueId() {
\r
118 return _myCQ.getId();
\r
120 protected ConditionValue getCValuePos() {
\r
121 return _myCQ.getPos();
\r
123 protected ConditionValue getCValueGenoption() {
\r
124 return _myCQ.getGenoption();
\r
126 protected ConditionValue getCValueLength() {
\r
127 return _myCQ.getLength();
\r
129 protected ConditionValue getCValuePrecision() {
\r
130 return _myCQ.getPrecision();
\r
132 protected ConditionValue getCValueScale() {
\r
133 return _myCQ.getScale();
\r
135 protected ConditionValue getCValueStyle() {
\r
136 return _myCQ.getStyle();
\r
138 protected ConditionValue getCValueClassifier() {
\r
139 return _myCQ.getClassifier();
\r
141 protected ConditionValue getCValueType() {
\r
142 return _myCQ.getType();
\r
144 protected ConditionValue getCValueEaGuid() {
\r
145 return _myCQ.getEaGuid();
\r
147 protected ConditionValue getCValueStyleex() {
\r
148 return _myCQ.getStyleex();
\r
151 protected String getConditionQueryClassNameInternally() { return TAttributeCQ.class.getName(); }
\r