1 package jp.sourceforge.ea2ddl.dao.cbean.cq.bs;
\r
3 import java.util.Map;
\r
5 import jp.sourceforge.ea2ddl.dao.allcommon.cbean.*;
\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.ciq.*;
\r
9 import jp.sourceforge.ea2ddl.dao.cbean.cq.*;
\r
12 * The base condition-query of t_operationtag.
\r
13 * @author DBFlute(AutoGenerator)
\r
15 @SuppressWarnings("unchecked")
\r
16 public class BsTOperationtagCQ extends AbstractBsTOperationtagCQ {
\r
18 // ===================================================================================
\r
21 protected TOperationtagCIQ _inlineQuery;
\r
23 // ===================================================================================
\r
26 public BsTOperationtagCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
\r
27 super(childQuery, sqlClause, aliasName, nestLevel);
\r
30 // ===================================================================================
\r
34 * Prepare inline query. <br />
\r
35 * {select ... from ... left outer join (select * from t_operationtag) where abc = [abc] ...}
\r
36 * @return Inline query. (NotNull)
\r
38 public TOperationtagCIQ inline() {
\r
39 if (_inlineQuery == null) {
\r
40 _inlineQuery = new TOperationtagCIQ(getChildQuery(), getSqlClause(), getAliasName(), getNestLevel(), this);
\r
42 _inlineQuery.xsetOnClauseInline(false); return _inlineQuery;
\r
46 * Prepare on-clause query. <br />
\r
47 * {select ... from ... left outer join t_operationtag on ... and abc = [abc] ...}
\r
48 * @return On-clause query. (NotNull)
\r
50 public TOperationtagCIQ on() {
\r
51 if (isBaseQuery(this)) { throw new UnsupportedOperationException("Unsupported onClause of Base Table!"); }
\r
52 TOperationtagCIQ inlineQuery = inline(); inlineQuery.xsetOnClauseInline(true); return inlineQuery;
\r
55 // ===================================================================================
\r
59 protected ConditionValue _propertyid;
\r
60 public ConditionValue getPropertyid() {
\r
61 if (_propertyid == null) { _propertyid = new ConditionValue(); }
\r
64 protected ConditionValue getCValuePropertyid() { return getPropertyid(); }
\r
66 public BsTOperationtagCQ addOrderBy_Propertyid_Asc() { regOBA("PropertyID"); return this; }
\r
67 public BsTOperationtagCQ addOrderBy_Propertyid_Desc() { regOBD("PropertyID"); return this; }
\r
69 protected ConditionValue _elementid;
\r
70 public ConditionValue getElementid() {
\r
71 if (_elementid == null) { _elementid = new ConditionValue(); }
\r
74 protected ConditionValue getCValueElementid() { return getElementid(); }
\r
76 public BsTOperationtagCQ addOrderBy_Elementid_Asc() { regOBA("ElementID"); return this; }
\r
77 public BsTOperationtagCQ addOrderBy_Elementid_Desc() { regOBD("ElementID"); return this; }
\r
79 protected ConditionValue _property;
\r
80 public ConditionValue getProperty() {
\r
81 if (_property == null) { _property = new ConditionValue(); }
\r
84 protected ConditionValue getCValueProperty() { return getProperty(); }
\r
86 public BsTOperationtagCQ addOrderBy_Property_Asc() { regOBA("Property"); return this; }
\r
87 public BsTOperationtagCQ addOrderBy_Property_Desc() { regOBD("Property"); return this; }
\r
89 protected ConditionValue _value;
\r
90 public ConditionValue getValue() {
\r
91 if (_value == null) { _value = new ConditionValue(); }
\r
94 protected ConditionValue getCValueValue() { return getValue(); }
\r
96 public BsTOperationtagCQ addOrderBy_Value_Asc() { regOBA("VALUE"); return this; }
\r
97 public BsTOperationtagCQ addOrderBy_Value_Desc() { regOBD("VALUE"); return this; }
\r
99 protected ConditionValue _notes;
\r
100 public ConditionValue getNotes() {
\r
101 if (_notes == null) { _notes = new ConditionValue(); }
\r
104 protected ConditionValue getCValueNotes() { return getNotes(); }
\r
106 public BsTOperationtagCQ addOrderBy_Notes_Asc() { regOBA("NOTES"); return this; }
\r
107 public BsTOperationtagCQ addOrderBy_Notes_Desc() { regOBD("NOTES"); return this; }
\r
109 protected ConditionValue _eaGuid;
\r
110 public ConditionValue getEaGuid() {
\r
111 if (_eaGuid == null) { _eaGuid = new ConditionValue(); }
\r
114 protected ConditionValue getCValueEaGuid() { return getEaGuid(); }
\r
116 public BsTOperationtagCQ addOrderBy_EaGuid_Asc() { regOBA("ea_guid"); return this; }
\r
117 public BsTOperationtagCQ addOrderBy_EaGuid_Desc() { regOBD("ea_guid"); return this; }
\r
119 // ===================================================================================
\r
120 // Specified Derived OrderBy
\r
121 // =========================
\r
122 public BsTOperationtagCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) { registerSpecifiedDerivedOrderBy_Asc(aliasName); return this; }
\r
123 public BsTOperationtagCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) { registerSpecifiedDerivedOrderBy_Desc(aliasName); return this; }
\r
125 // ===================================================================================
\r
128 protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
\r
131 // ===================================================================================
\r
136 protected String getConditionQueryClassNameInternally() { return TOperationtagCQ.class.getName(); }
\r
137 protected String getMapClassNameInternally() { return Map.class.getName(); }
\r