OSDN Git Service

"https://svn.sourceforge.jp/svnroot/ea2ddl" にプロジェクト "ea2ddl-dao" を共用
[ea2ddl/ea2ddl.git] / ea2ddl-dao / src / main / java / jp / sourceforge / ea2ddl / dao / cbean / cq / bs / BsTObjectrisksCQ.java
1 package jp.sourceforge.ea2ddl.dao.cbean.cq.bs;\r
2 \r
3 import java.util.Map;\r
4 \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
10 \r
11 /**\r
12  * The base condition-query of t_objectrisks.\r
13  * @author DBFlute(AutoGenerator)\r
14  */
15 @SuppressWarnings("unchecked")\r
16 public class BsTObjectrisksCQ extends AbstractBsTObjectrisksCQ {\r
17 \r
18     // ===================================================================================\r
19     //                                                                           Attribute\r
20     //                                                                           =========\r
21     protected TObjectrisksCIQ _inlineQuery;\r
22 \r
23     // ===================================================================================\r
24     //                                                                         Constructor\r
25     //                                                                         ===========\r
26     public BsTObjectrisksCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {\r
27         super(childQuery, sqlClause, aliasName, nestLevel);\r
28     }\r
29 \r
30     // ===================================================================================\r
31     //                                                                              Inline\r
32     //                                                                              ======\r
33     /**\r
34      * Prepare inline query. <br />\r
35      * {select ... from ... left outer join (select * from t_objectrisks) where abc = [abc] ...}\r
36      * @return Inline query. (NotNull)\r
37      */\r
38     public TObjectrisksCIQ inline() {\r
39         if (_inlineQuery == null) {\r
40             _inlineQuery = new TObjectrisksCIQ(getChildQuery(), getSqlClause(), getAliasName(), getNestLevel(), this);\r
41         }\r
42         _inlineQuery.xsetOnClauseInline(false); return _inlineQuery;\r
43     }\r
44     \r
45     /**\r
46      * Prepare on-clause query. <br />\r
47      * {select ... from ... left outer join t_objectrisks on ... and abc = [abc] ...}\r
48      * @return On-clause query. (NotNull)\r
49      */\r
50     public TObjectrisksCIQ on() {\r
51         if (isBaseQuery(this)) { throw new UnsupportedOperationException("Unsupported onClause of Base Table!"); }\r
52         TObjectrisksCIQ inlineQuery = inline(); inlineQuery.xsetOnClauseInline(true); return inlineQuery;\r
53     }\r
54 \r
55     // ===================================================================================\r
56     //                                                                               Query\r
57     //                                                                               =====\r
58 \r
59     protected ConditionValue _objectId;\r
60     public ConditionValue getObjectId() {\r
61         if (_objectId == null) { _objectId = new ConditionValue(); }\r
62         return _objectId;\r
63     }\r
64     protected ConditionValue getCValueObjectId() { return getObjectId(); }\r
65           \r
66     public BsTObjectrisksCQ addOrderBy_ObjectId_Asc() { regOBA("Object_ID"); return this; }\r
67     public BsTObjectrisksCQ addOrderBy_ObjectId_Desc() { regOBD("Object_ID"); return this; }\r
68 \r
69     protected ConditionValue _risk;\r
70     public ConditionValue getRisk() {\r
71         if (_risk == null) { _risk = new ConditionValue(); }\r
72         return _risk;\r
73     }\r
74     protected ConditionValue getCValueRisk() { return getRisk(); }\r
75     \r
76     public BsTObjectrisksCQ addOrderBy_Risk_Asc() { regOBA("Risk"); return this; }\r
77     public BsTObjectrisksCQ addOrderBy_Risk_Desc() { regOBD("Risk"); return this; }\r
78 \r
79     protected ConditionValue _risktype;\r
80     public ConditionValue getRisktype() {\r
81         if (_risktype == null) { _risktype = new ConditionValue(); }\r
82         return _risktype;\r
83     }\r
84     protected ConditionValue getCValueRisktype() { return getRisktype(); }\r
85     \r
86     public BsTObjectrisksCQ addOrderBy_Risktype_Asc() { regOBA("RiskType"); return this; }\r
87     public BsTObjectrisksCQ addOrderBy_Risktype_Desc() { regOBD("RiskType"); return this; }\r
88 \r
89     protected ConditionValue _evalue;\r
90     public ConditionValue getEvalue() {\r
91         if (_evalue == null) { _evalue = new ConditionValue(); }\r
92         return _evalue;\r
93     }\r
94     protected ConditionValue getCValueEvalue() { return getEvalue(); }\r
95           \r
96     public BsTObjectrisksCQ addOrderBy_Evalue_Asc() { regOBA("EValue"); return this; }\r
97     public BsTObjectrisksCQ addOrderBy_Evalue_Desc() { regOBD("EValue"); return this; }\r
98 \r
99     protected ConditionValue _notes;\r
100     public ConditionValue getNotes() {\r
101         if (_notes == null) { _notes = new ConditionValue(); }\r
102         return _notes;\r
103     }\r
104     protected ConditionValue getCValueNotes() { return getNotes(); }\r
105     \r
106     public BsTObjectrisksCQ addOrderBy_Notes_Asc() { regOBA("Notes"); return this; }\r
107     public BsTObjectrisksCQ addOrderBy_Notes_Desc() { regOBD("Notes"); return this; }\r
108 \r
109     // ===================================================================================\r
110     //                                                           Specified Derived OrderBy\r
111     //                                                           =========================\r
112     public BsTObjectrisksCQ addSpecifiedDerivedOrderBy_Asc(String aliasName) { registerSpecifiedDerivedOrderBy_Asc(aliasName); return this; }\r
113     public BsTObjectrisksCQ addSpecifiedDerivedOrderBy_Desc(String aliasName) { registerSpecifiedDerivedOrderBy_Desc(aliasName); return this; }\r
114 \r
115     // ===================================================================================\r
116     //                                                                         Union Query\r
117     //                                                                         ===========\r
118     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r
119     }\r
120 \r
121     // ===================================================================================\r
122     //                                                                       Foreign Query\r
123     //                                                                       =============\r
124 \r
125 \r
126     protected String getConditionQueryClassNameInternally() { return TObjectrisksCQ.class.getName(); }\r
127     protected String getMapClassNameInternally() { return Map.class.getName(); }\r
128 }\r