1 package jp.sourceforge.ea2ddl.dao.cbean.cq.bs;
\r
3 import java.util.Map;
\r
5 import org.seasar.dbflute.cbean.*;
\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.cq.ciq.*;
\r
9 import jp.sourceforge.ea2ddl.dao.cbean.*;
\r
10 import jp.sourceforge.ea2ddl.dao.cbean.cq.*;
\r
13 * The base condition-query of t_attributeconstraints.
\r
14 * @author DBFlute(AutoGenerator)
\r
16 public class BsTAttributeconstraintsCQ extends AbstractBsTAttributeconstraintsCQ {
\r
18 // ===================================================================================
\r
21 protected TAttributeconstraintsCIQ _inlineQuery;
\r
23 // ===================================================================================
\r
26 public BsTAttributeconstraintsCQ(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_attributeconstraints) where abc = [abc] ...}
\r
36 * @return Inline query. (NotNull)
\r
38 public TAttributeconstraintsCIQ inline() {
\r
39 if (_inlineQuery == null) {
\r
40 _inlineQuery = new TAttributeconstraintsCIQ(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_attributeconstraints on ... and abc = [abc] ...}
\r
48 * @return On-clause query. (NotNull)
\r
50 public TAttributeconstraintsCIQ on() {
\r
51 if (isBaseQuery(this)) { throw new UnsupportedOperationException("Unsupported on-clause for local table!"); }
\r
52 TAttributeconstraintsCIQ inlineQuery = inline(); inlineQuery.xsetOnClauseInline(true); return inlineQuery;
\r
55 // ===================================================================================
\r
59 protected ConditionValue _objectId;
\r
60 public ConditionValue getObjectId() {
\r
61 if (_objectId == null) { _objectId = new ConditionValue(); }
\r
64 protected ConditionValue getCValueObjectId() { return getObjectId(); }
\r
66 public BsTAttributeconstraintsCQ addOrderBy_ObjectId_Asc() { regOBA("Object_ID"); return this; }
\r
67 public BsTAttributeconstraintsCQ addOrderBy_ObjectId_Desc() { regOBD("Object_ID"); return this; }
\r
69 protected ConditionValue _constraint;
\r
70 public ConditionValue getConstraint() {
\r
71 if (_constraint == null) { _constraint = new ConditionValue(); }
\r
74 protected ConditionValue getCValueConstraint() { return getConstraint(); }
\r
76 public BsTAttributeconstraintsCQ addOrderBy_Constraint_Asc() { regOBA("Constraint"); return this; }
\r
77 public BsTAttributeconstraintsCQ addOrderBy_Constraint_Desc() { regOBD("Constraint"); return this; }
\r
79 protected ConditionValue _attname;
\r
80 public ConditionValue getAttname() {
\r
81 if (_attname == null) { _attname = new ConditionValue(); }
\r
84 protected ConditionValue getCValueAttname() { return getAttname(); }
\r
86 public BsTAttributeconstraintsCQ addOrderBy_Attname_Asc() { regOBA("AttName"); return this; }
\r
87 public BsTAttributeconstraintsCQ addOrderBy_Attname_Desc() { regOBD("AttName"); return this; }
\r
89 protected ConditionValue _type;
\r
90 public ConditionValue getType() {
\r
91 if (_type == null) { _type = new ConditionValue(); }
\r
94 protected ConditionValue getCValueType() { return getType(); }
\r
96 public BsTAttributeconstraintsCQ addOrderBy_Type_Asc() { regOBA("Type"); return this; }
\r
97 public BsTAttributeconstraintsCQ addOrderBy_Type_Desc() { regOBD("Type"); 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 BsTAttributeconstraintsCQ addOrderBy_Notes_Asc() { regOBA("Notes"); return this; }
\r
107 public BsTAttributeconstraintsCQ addOrderBy_Notes_Desc() { regOBD("Notes"); return this; }
\r
109 protected ConditionValue _id;
\r
110 public ConditionValue getId() {
\r
111 if (_id == null) { _id = new ConditionValue(); }
\r
114 protected ConditionValue getCValueId() { return getId(); }
\r
116 public BsTAttributeconstraintsCQ addOrderBy_Id_Asc() { regOBA("ID"); return this; }
\r
117 public BsTAttributeconstraintsCQ addOrderBy_Id_Desc() { regOBD("ID"); return this; }
\r
119 // ===================================================================================
\r
120 // Specified Derived OrderBy
\r
121 // =========================
\r
122 public BsTAttributeconstraintsCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) { registerSpecifiedDerivedOrderBy_Asc(aliasName); return this; }
\r
123 public BsTAttributeconstraintsCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) { registerSpecifiedDerivedOrderBy_Desc(aliasName); return this; }
\r
125 // ===================================================================================
\r
128 protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {
\r
131 // ===================================================================================
\r
134 // ===================================================================================
\r
137 // Very Internal (for Suppressing Warn about 'Not Use Import')
\r
138 String xCB() { return TAttributeconstraintsCB.class.getName(); }
\r
139 String xCQ() { return TAttributeconstraintsCQ.class.getName(); }
\r
140 String xMap() { return Map.class.getName(); }
\r