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 / BsTOperationtagCQ.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_operationtag.\r
13  * @author DBFlute(AutoGenerator)\r
14  */
15 @SuppressWarnings("unchecked")\r
16 public class BsTOperationtagCQ extends AbstractBsTOperationtagCQ {\r
17 \r
18     // ===================================================================================\r
19     //                                                                           Attribute\r
20     //                                                                           =========\r
21     protected TOperationtagCIQ _inlineQuery;\r
22 \r
23     // ===================================================================================\r
24     //                                                                         Constructor\r
25     //                                                                         ===========\r
26     public BsTOperationtagCQ(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_operationtag) where abc = [abc] ...}\r
36      * @return Inline query. (NotNull)\r
37      */\r
38     public TOperationtagCIQ inline() {\r
39         if (_inlineQuery == null) {\r
40             _inlineQuery = new TOperationtagCIQ(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_operationtag on ... and abc = [abc] ...}\r
48      * @return On-clause query. (NotNull)\r
49      */\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
53     }\r
54 \r
55     // ===================================================================================\r
56     //                                                                               Query\r
57     //                                                                               =====\r
58 \r
59     protected ConditionValue _propertyid;\r
60     public ConditionValue getPropertyid() {\r
61         if (_propertyid == null) { _propertyid = new ConditionValue(); }\r
62         return _propertyid;\r
63     }\r
64     protected ConditionValue getCValuePropertyid() { return getPropertyid(); }\r
65           \r
66     public BsTOperationtagCQ addOrderBy_Propertyid_Asc() { regOBA("PropertyID"); return this; }\r
67     public BsTOperationtagCQ addOrderBy_Propertyid_Desc() { regOBD("PropertyID"); return this; }\r
68 \r
69     protected ConditionValue _elementid;\r
70     public ConditionValue getElementid() {\r
71         if (_elementid == null) { _elementid = new ConditionValue(); }\r
72         return _elementid;\r
73     }\r
74     protected ConditionValue getCValueElementid() { return getElementid(); }\r
75           \r
76     public BsTOperationtagCQ addOrderBy_Elementid_Asc() { regOBA("ElementID"); return this; }\r
77     public BsTOperationtagCQ addOrderBy_Elementid_Desc() { regOBD("ElementID"); return this; }\r
78 \r
79     protected ConditionValue _property;\r
80     public ConditionValue getProperty() {\r
81         if (_property == null) { _property = new ConditionValue(); }\r
82         return _property;\r
83     }\r
84     protected ConditionValue getCValueProperty() { return getProperty(); }\r
85     \r
86     public BsTOperationtagCQ addOrderBy_Property_Asc() { regOBA("Property"); return this; }\r
87     public BsTOperationtagCQ addOrderBy_Property_Desc() { regOBD("Property"); return this; }\r
88 \r
89     protected ConditionValue _value;\r
90     public ConditionValue getValue() {\r
91         if (_value == null) { _value = new ConditionValue(); }\r
92         return _value;\r
93     }\r
94     protected ConditionValue getCValueValue() { return getValue(); }\r
95     \r
96     public BsTOperationtagCQ addOrderBy_Value_Asc() { regOBA("VALUE"); return this; }\r
97     public BsTOperationtagCQ addOrderBy_Value_Desc() { regOBD("VALUE"); 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 BsTOperationtagCQ addOrderBy_Notes_Asc() { regOBA("NOTES"); return this; }\r
107     public BsTOperationtagCQ addOrderBy_Notes_Desc() { regOBD("NOTES"); return this; }\r
108 \r
109     protected ConditionValue _eaGuid;\r
110     public ConditionValue getEaGuid() {\r
111         if (_eaGuid == null) { _eaGuid = new ConditionValue(); }\r
112         return _eaGuid;\r
113     }\r
114     protected ConditionValue getCValueEaGuid() { return getEaGuid(); }\r
115     \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
118 \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
124 \r
125     // ===================================================================================\r
126     //                                                                         Union Query\r
127     //                                                                         ===========\r
128     protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r
129     }\r
130 \r
131     // ===================================================================================\r
132     //                                                                       Foreign Query\r
133     //                                                                       =============\r
134 \r
135 \r
136     protected String getConditionQueryClassNameInternally() { return TOperationtagCQ.class.getName(); }\r
137     protected String getMapClassNameInternally() { return Map.class.getName(); }\r
138 }\r