View Javadoc
1   /*
2    * Copyright 2012-2017 CodeLibs Project and the Others.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
15   */
16  package org.codelibs.fess.es.config.cbean.cq.bs;
17  
18  import java.time.LocalDateTime;
19  import java.util.ArrayList;
20  import java.util.Collection;
21  
22  import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
23  import org.codelibs.fess.es.config.cbean.cq.WebConfigToLabelCQ;
24  import org.dbflute.cbean.ckey.ConditionKey;
25  import org.elasticsearch.index.query.BoolQueryBuilder;
26  import org.elasticsearch.index.query.CommonTermsQueryBuilder;
27  import org.elasticsearch.index.query.ExistsQueryBuilder;
28  import org.elasticsearch.index.query.IdsQueryBuilder;
29  import org.elasticsearch.index.query.MatchPhrasePrefixQueryBuilder;
30  import org.elasticsearch.index.query.MatchPhraseQueryBuilder;
31  import org.elasticsearch.index.query.MatchQueryBuilder;
32  import org.elasticsearch.index.query.PrefixQueryBuilder;
33  import org.elasticsearch.index.query.RangeQueryBuilder;
34  import org.elasticsearch.index.query.RegexpQueryBuilder;
35  import org.elasticsearch.index.query.SpanTermQueryBuilder;
36  import org.elasticsearch.index.query.TermQueryBuilder;
37  import org.elasticsearch.index.query.TermsQueryBuilder;
38  import org.elasticsearch.index.query.WildcardQueryBuilder;
39  import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
40  import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder.FilterFunctionBuilder;
41  
42  /**
43   * @author ESFlute (using FreeGen)
44   */
45  public abstract class BsWebConfigToLabelCQ extends EsAbstractConditionQuery {
46  
47      protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class;
48  
49      // ===================================================================================
50      //                                                                       Name Override
51      //                                                                       =============
52      @Override
53      public String asTableDbName() {
54          return "web_config_to_label";
55      }
56  
57      @Override
58      public String xgetAliasName() {
59          return "web_config_to_label";
60      }
61  
62      // ===================================================================================
63      //                                                                       Query Control
64      //                                                                       =============
65      public void functionScore(OperatorCall<WebConfigToLabelCQ> queryLambda,
66              ScoreFunctionCall<ScoreFunctionCreator<WebConfigToLabelCQ>> functionsLambda,
67              final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
68          WebConfigToLabelCQ cq = new WebConfigToLabelCQ();
69          queryLambda.callback(cq);
70          final Collection<FilterFunctionBuilder> list = new ArrayList<>();
71          if (functionsLambda != null) {
72              functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
73                  WebConfigToLabelCQ cf = new WebConfigToLabelCQ();
74                  cqLambda.callback(cf);
75                  list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
76              });
77          }
78          final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery(), list);
79          if (opLambda != null) {
80              opLambda.callback(builder);
81          }
82      }
83  
84      public void filtered(FilteredCall<WebConfigToLabelCQ, WebConfigToLabelCQ> filteredLambda) {
85          filtered(filteredLambda, null);
86      }
87  
88      public void filtered(FilteredCall<WebConfigToLabelCQ, WebConfigToLabelCQ> filteredLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
89          bool((must, should, mustNot, filter) -> {
90              filteredLambda.callback(must, filter);
91          }, opLambda);
92      }
93  
94      public void not(OperatorCall<WebConfigToLabelCQ> notLambda) {
95          not(notLambda, null);
96      }
97  
98      public void not(final OperatorCall<WebConfigToLabelCQ> notLambda, final ConditionOptionCall<BoolQueryBuilder> opLambda) {
99          bool((must, should, mustNot, filter) -> notLambda.callback(mustNot), opLambda);
100     }
101 
102     public void bool(BoolCall<WebConfigToLabelCQ> boolLambda) {
103         bool(boolLambda, null);
104     }
105 
106     public void bool(BoolCall<WebConfigToLabelCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
107         WebConfigToLabelCQ mustQuery = new WebConfigToLabelCQ();
108         WebConfigToLabelCQ shouldQuery = new WebConfigToLabelCQ();
109         WebConfigToLabelCQ mustNotQuery = new WebConfigToLabelCQ();
110         WebConfigToLabelCQ filterQuery = new WebConfigToLabelCQ();
111         boolLambda.callback(mustQuery, shouldQuery, mustNotQuery, filterQuery);
112         if (mustQuery.hasQueries() || shouldQuery.hasQueries() || mustNotQuery.hasQueries() || filterQuery.hasQueries()) {
113             BoolQueryBuilder builder =
114                     regBoolCQ(mustQuery.getQueryBuilderList(), shouldQuery.getQueryBuilderList(), mustNotQuery.getQueryBuilderList(),
115                             filterQuery.getQueryBuilderList());
116             if (opLambda != null) {
117                 opLambda.callback(builder);
118             }
119         }
120     }
121 
122     // ===================================================================================
123     //                                                                           Query Set
124     //                                                                           =========
125     public void setId_Equal(String id) {
126         setId_Term(id, null);
127     }
128 
129     public void setId_Equal(String id, ConditionOptionCall<TermQueryBuilder> opLambda) {
130         setId_Term(id, opLambda);
131     }
132 
133     public void setId_Term(String id) {
134         setId_Term(id, null);
135     }
136 
137     public void setId_Term(String id, ConditionOptionCall<TermQueryBuilder> opLambda) {
138         TermQueryBuilder builder = regTermQ("_id", id);
139         if (opLambda != null) {
140             opLambda.callback(builder);
141         }
142     }
143 
144     public void setId_NotEqual(String id) {
145         setId_NotTerm(id, null);
146     }
147 
148     public void setId_NotTerm(String id) {
149         setId_NotTerm(id, null);
150     }
151 
152     public void setId_NotEqual(String id, ConditionOptionCall<BoolQueryBuilder> opLambda) {
153         setId_NotTerm(id, opLambda);
154     }
155 
156     public void setId_NotTerm(String id, ConditionOptionCall<BoolQueryBuilder> opLambda) {
157         not(not -> not.setId_Term(id), opLambda);
158     }
159 
160     public void setId_Terms(Collection<String> idList) {
161         setId_Terms(idList, null);
162     }
163 
164     public void setId_Terms(Collection<String> idList, ConditionOptionCall<IdsQueryBuilder> opLambda) {
165         IdsQueryBuilder builder = regIdsQ(idList);
166         if (opLambda != null) {
167             opLambda.callback(builder);
168         }
169     }
170 
171     public void setId_InScope(Collection<String> idList) {
172         setId_Terms(idList, null);
173     }
174 
175     public void setId_InScope(Collection<String> idList, ConditionOptionCall<IdsQueryBuilder> opLambda) {
176         setId_Terms(idList, opLambda);
177     }
178 
179     public BsWebConfigToLabelCQ addOrderBy_Id_Asc() {
180         regOBA("_uid");
181         return this;
182     }
183 
184     public BsWebConfigToLabelCQ addOrderBy_Id_Desc() {
185         regOBD("_uid");
186         return this;
187     }
188 
189     public void setLabelTypeId_Equal(String labelTypeId) {
190         setLabelTypeId_Term(labelTypeId, null);
191     }
192 
193     public void setLabelTypeId_Equal(String labelTypeId, ConditionOptionCall<TermQueryBuilder> opLambda) {
194         setLabelTypeId_Term(labelTypeId, opLambda);
195     }
196 
197     public void setLabelTypeId_Term(String labelTypeId) {
198         setLabelTypeId_Term(labelTypeId, null);
199     }
200 
201     public void setLabelTypeId_Term(String labelTypeId, ConditionOptionCall<TermQueryBuilder> opLambda) {
202         TermQueryBuilder builder = regTermQ("labelTypeId", labelTypeId);
203         if (opLambda != null) {
204             opLambda.callback(builder);
205         }
206     }
207 
208     public void setLabelTypeId_NotEqual(String labelTypeId) {
209         setLabelTypeId_NotTerm(labelTypeId, null);
210     }
211 
212     public void setLabelTypeId_NotTerm(String labelTypeId) {
213         setLabelTypeId_NotTerm(labelTypeId, null);
214     }
215 
216     public void setLabelTypeId_NotEqual(String labelTypeId, ConditionOptionCall<BoolQueryBuilder> opLambda) {
217         setLabelTypeId_NotTerm(labelTypeId, opLambda);
218     }
219 
220     public void setLabelTypeId_NotTerm(String labelTypeId, ConditionOptionCall<BoolQueryBuilder> opLambda) {
221         not(not -> not.setLabelTypeId_Term(labelTypeId), opLambda);
222     }
223 
224     public void setLabelTypeId_Terms(Collection<String> labelTypeIdList) {
225         setLabelTypeId_Terms(labelTypeIdList, null);
226     }
227 
228     public void setLabelTypeId_Terms(Collection<String> labelTypeIdList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
229         TermsQueryBuilder builder = regTermsQ("labelTypeId", labelTypeIdList);
230         if (opLambda != null) {
231             opLambda.callback(builder);
232         }
233     }
234 
235     public void setLabelTypeId_InScope(Collection<String> labelTypeIdList) {
236         setLabelTypeId_Terms(labelTypeIdList, null);
237     }
238 
239     public void setLabelTypeId_InScope(Collection<String> labelTypeIdList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
240         setLabelTypeId_Terms(labelTypeIdList, opLambda);
241     }
242 
243     public void setLabelTypeId_Match(String labelTypeId) {
244         setLabelTypeId_Match(labelTypeId, null);
245     }
246 
247     public void setLabelTypeId_Match(String labelTypeId, ConditionOptionCall<MatchQueryBuilder> opLambda) {
248         MatchQueryBuilder builder = regMatchQ("labelTypeId", labelTypeId);
249         if (opLambda != null) {
250             opLambda.callback(builder);
251         }
252     }
253 
254     public void setLabelTypeId_MatchPhrase(String labelTypeId) {
255         setLabelTypeId_MatchPhrase(labelTypeId, null);
256     }
257 
258     public void setLabelTypeId_MatchPhrase(String labelTypeId, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
259         MatchPhraseQueryBuilder builder = regMatchPhraseQ("labelTypeId", labelTypeId);
260         if (opLambda != null) {
261             opLambda.callback(builder);
262         }
263     }
264 
265     public void setLabelTypeId_MatchPhrasePrefix(String labelTypeId) {
266         setLabelTypeId_MatchPhrasePrefix(labelTypeId, null);
267     }
268 
269     public void setLabelTypeId_MatchPhrasePrefix(String labelTypeId, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
270         MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("labelTypeId", labelTypeId);
271         if (opLambda != null) {
272             opLambda.callback(builder);
273         }
274     }
275 
276     public void setLabelTypeId_Fuzzy(String labelTypeId) {
277         setLabelTypeId_Fuzzy(labelTypeId, null);
278     }
279 
280     public void setLabelTypeId_Fuzzy(String labelTypeId, ConditionOptionCall<MatchQueryBuilder> opLambda) {
281         MatchQueryBuilder builder = regFuzzyQ("labelTypeId", labelTypeId);
282         if (opLambda != null) {
283             opLambda.callback(builder);
284         }
285     }
286 
287     public void setLabelTypeId_Prefix(String labelTypeId) {
288         setLabelTypeId_Prefix(labelTypeId, null);
289     }
290 
291     public void setLabelTypeId_Prefix(String labelTypeId, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
292         PrefixQueryBuilder builder = regPrefixQ("labelTypeId", labelTypeId);
293         if (opLambda != null) {
294             opLambda.callback(builder);
295         }
296     }
297 
298     public void setLabelTypeId_Wildcard(String labelTypeId) {
299         setLabelTypeId_Wildcard(labelTypeId, null);
300     }
301 
302     public void setLabelTypeId_Wildcard(String labelTypeId, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
303         WildcardQueryBuilder builder = regWildcardQ("labelTypeId", labelTypeId);
304         if (opLambda != null) {
305             opLambda.callback(builder);
306         }
307     }
308 
309     public void setLabelTypeId_Regexp(String labelTypeId) {
310         setLabelTypeId_Regexp(labelTypeId, null);
311     }
312 
313     public void setLabelTypeId_Regexp(String labelTypeId, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
314         RegexpQueryBuilder builder = regRegexpQ("labelTypeId", labelTypeId);
315         if (opLambda != null) {
316             opLambda.callback(builder);
317         }
318     }
319 
320     public void setLabelTypeId_SpanTerm(String labelTypeId) {
321         setLabelTypeId_SpanTerm("labelTypeId", null);
322     }
323 
324     public void setLabelTypeId_SpanTerm(String labelTypeId, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
325         SpanTermQueryBuilder builder = regSpanTermQ("labelTypeId", labelTypeId);
326         if (opLambda != null) {
327             opLambda.callback(builder);
328         }
329     }
330 
331     public void setLabelTypeId_GreaterThan(String labelTypeId) {
332         setLabelTypeId_GreaterThan(labelTypeId, null);
333     }
334 
335     public void setLabelTypeId_GreaterThan(String labelTypeId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
336         final Object _value = labelTypeId;
337         RangeQueryBuilder builder = regRangeQ("labelTypeId", ConditionKey.CK_GREATER_THAN, _value);
338         if (opLambda != null) {
339             opLambda.callback(builder);
340         }
341     }
342 
343     public void setLabelTypeId_LessThan(String labelTypeId) {
344         setLabelTypeId_LessThan(labelTypeId, null);
345     }
346 
347     public void setLabelTypeId_LessThan(String labelTypeId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
348         final Object _value = labelTypeId;
349         RangeQueryBuilder builder = regRangeQ("labelTypeId", ConditionKey.CK_LESS_THAN, _value);
350         if (opLambda != null) {
351             opLambda.callback(builder);
352         }
353     }
354 
355     public void setLabelTypeId_GreaterEqual(String labelTypeId) {
356         setLabelTypeId_GreaterEqual(labelTypeId, null);
357     }
358 
359     public void setLabelTypeId_GreaterEqual(String labelTypeId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
360         final Object _value = labelTypeId;
361         RangeQueryBuilder builder = regRangeQ("labelTypeId", ConditionKey.CK_GREATER_EQUAL, _value);
362         if (opLambda != null) {
363             opLambda.callback(builder);
364         }
365     }
366 
367     public void setLabelTypeId_LessEqual(String labelTypeId) {
368         setLabelTypeId_LessEqual(labelTypeId, null);
369     }
370 
371     public void setLabelTypeId_LessEqual(String labelTypeId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
372         final Object _value = labelTypeId;
373         RangeQueryBuilder builder = regRangeQ("labelTypeId", ConditionKey.CK_LESS_EQUAL, _value);
374         if (opLambda != null) {
375             opLambda.callback(builder);
376         }
377     }
378 
379     public void setLabelTypeId_Exists() {
380         setLabelTypeId_Exists(null);
381     }
382 
383     public void setLabelTypeId_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
384         ExistsQueryBuilder builder = regExistsQ("labelTypeId");
385         if (opLambda != null) {
386             opLambda.callback(builder);
387         }
388     }
389 
390     public void setLabelTypeId_CommonTerms(String labelTypeId) {
391         setLabelTypeId_CommonTerms(labelTypeId, null);
392     }
393 
394     public void setLabelTypeId_CommonTerms(String labelTypeId, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
395         CommonTermsQueryBuilder builder = regCommonTermsQ("labelTypeId", labelTypeId);
396         if (opLambda != null) {
397             opLambda.callback(builder);
398         }
399     }
400 
401     public BsWebConfigToLabelCQ addOrderBy_LabelTypeId_Asc() {
402         regOBA("labelTypeId");
403         return this;
404     }
405 
406     public BsWebConfigToLabelCQ addOrderBy_LabelTypeId_Desc() {
407         regOBD("labelTypeId");
408         return this;
409     }
410 
411     public void setWebConfigId_Equal(String webConfigId) {
412         setWebConfigId_Term(webConfigId, null);
413     }
414 
415     public void setWebConfigId_Equal(String webConfigId, ConditionOptionCall<TermQueryBuilder> opLambda) {
416         setWebConfigId_Term(webConfigId, opLambda);
417     }
418 
419     public void setWebConfigId_Term(String webConfigId) {
420         setWebConfigId_Term(webConfigId, null);
421     }
422 
423     public void setWebConfigId_Term(String webConfigId, ConditionOptionCall<TermQueryBuilder> opLambda) {
424         TermQueryBuilder builder = regTermQ("webConfigId", webConfigId);
425         if (opLambda != null) {
426             opLambda.callback(builder);
427         }
428     }
429 
430     public void setWebConfigId_NotEqual(String webConfigId) {
431         setWebConfigId_NotTerm(webConfigId, null);
432     }
433 
434     public void setWebConfigId_NotTerm(String webConfigId) {
435         setWebConfigId_NotTerm(webConfigId, null);
436     }
437 
438     public void setWebConfigId_NotEqual(String webConfigId, ConditionOptionCall<BoolQueryBuilder> opLambda) {
439         setWebConfigId_NotTerm(webConfigId, opLambda);
440     }
441 
442     public void setWebConfigId_NotTerm(String webConfigId, ConditionOptionCall<BoolQueryBuilder> opLambda) {
443         not(not -> not.setWebConfigId_Term(webConfigId), opLambda);
444     }
445 
446     public void setWebConfigId_Terms(Collection<String> webConfigIdList) {
447         setWebConfigId_Terms(webConfigIdList, null);
448     }
449 
450     public void setWebConfigId_Terms(Collection<String> webConfigIdList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
451         TermsQueryBuilder builder = regTermsQ("webConfigId", webConfigIdList);
452         if (opLambda != null) {
453             opLambda.callback(builder);
454         }
455     }
456 
457     public void setWebConfigId_InScope(Collection<String> webConfigIdList) {
458         setWebConfigId_Terms(webConfigIdList, null);
459     }
460 
461     public void setWebConfigId_InScope(Collection<String> webConfigIdList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
462         setWebConfigId_Terms(webConfigIdList, opLambda);
463     }
464 
465     public void setWebConfigId_Match(String webConfigId) {
466         setWebConfigId_Match(webConfigId, null);
467     }
468 
469     public void setWebConfigId_Match(String webConfigId, ConditionOptionCall<MatchQueryBuilder> opLambda) {
470         MatchQueryBuilder builder = regMatchQ("webConfigId", webConfigId);
471         if (opLambda != null) {
472             opLambda.callback(builder);
473         }
474     }
475 
476     public void setWebConfigId_MatchPhrase(String webConfigId) {
477         setWebConfigId_MatchPhrase(webConfigId, null);
478     }
479 
480     public void setWebConfigId_MatchPhrase(String webConfigId, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
481         MatchPhraseQueryBuilder builder = regMatchPhraseQ("webConfigId", webConfigId);
482         if (opLambda != null) {
483             opLambda.callback(builder);
484         }
485     }
486 
487     public void setWebConfigId_MatchPhrasePrefix(String webConfigId) {
488         setWebConfigId_MatchPhrasePrefix(webConfigId, null);
489     }
490 
491     public void setWebConfigId_MatchPhrasePrefix(String webConfigId, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
492         MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("webConfigId", webConfigId);
493         if (opLambda != null) {
494             opLambda.callback(builder);
495         }
496     }
497 
498     public void setWebConfigId_Fuzzy(String webConfigId) {
499         setWebConfigId_Fuzzy(webConfigId, null);
500     }
501 
502     public void setWebConfigId_Fuzzy(String webConfigId, ConditionOptionCall<MatchQueryBuilder> opLambda) {
503         MatchQueryBuilder builder = regFuzzyQ("webConfigId", webConfigId);
504         if (opLambda != null) {
505             opLambda.callback(builder);
506         }
507     }
508 
509     public void setWebConfigId_Prefix(String webConfigId) {
510         setWebConfigId_Prefix(webConfigId, null);
511     }
512 
513     public void setWebConfigId_Prefix(String webConfigId, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
514         PrefixQueryBuilder builder = regPrefixQ("webConfigId", webConfigId);
515         if (opLambda != null) {
516             opLambda.callback(builder);
517         }
518     }
519 
520     public void setWebConfigId_Wildcard(String webConfigId) {
521         setWebConfigId_Wildcard(webConfigId, null);
522     }
523 
524     public void setWebConfigId_Wildcard(String webConfigId, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
525         WildcardQueryBuilder builder = regWildcardQ("webConfigId", webConfigId);
526         if (opLambda != null) {
527             opLambda.callback(builder);
528         }
529     }
530 
531     public void setWebConfigId_Regexp(String webConfigId) {
532         setWebConfigId_Regexp(webConfigId, null);
533     }
534 
535     public void setWebConfigId_Regexp(String webConfigId, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
536         RegexpQueryBuilder builder = regRegexpQ("webConfigId", webConfigId);
537         if (opLambda != null) {
538             opLambda.callback(builder);
539         }
540     }
541 
542     public void setWebConfigId_SpanTerm(String webConfigId) {
543         setWebConfigId_SpanTerm("webConfigId", null);
544     }
545 
546     public void setWebConfigId_SpanTerm(String webConfigId, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
547         SpanTermQueryBuilder builder = regSpanTermQ("webConfigId", webConfigId);
548         if (opLambda != null) {
549             opLambda.callback(builder);
550         }
551     }
552 
553     public void setWebConfigId_GreaterThan(String webConfigId) {
554         setWebConfigId_GreaterThan(webConfigId, null);
555     }
556 
557     public void setWebConfigId_GreaterThan(String webConfigId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
558         final Object _value = webConfigId;
559         RangeQueryBuilder builder = regRangeQ("webConfigId", ConditionKey.CK_GREATER_THAN, _value);
560         if (opLambda != null) {
561             opLambda.callback(builder);
562         }
563     }
564 
565     public void setWebConfigId_LessThan(String webConfigId) {
566         setWebConfigId_LessThan(webConfigId, null);
567     }
568 
569     public void setWebConfigId_LessThan(String webConfigId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
570         final Object _value = webConfigId;
571         RangeQueryBuilder builder = regRangeQ("webConfigId", ConditionKey.CK_LESS_THAN, _value);
572         if (opLambda != null) {
573             opLambda.callback(builder);
574         }
575     }
576 
577     public void setWebConfigId_GreaterEqual(String webConfigId) {
578         setWebConfigId_GreaterEqual(webConfigId, null);
579     }
580 
581     public void setWebConfigId_GreaterEqual(String webConfigId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
582         final Object _value = webConfigId;
583         RangeQueryBuilder builder = regRangeQ("webConfigId", ConditionKey.CK_GREATER_EQUAL, _value);
584         if (opLambda != null) {
585             opLambda.callback(builder);
586         }
587     }
588 
589     public void setWebConfigId_LessEqual(String webConfigId) {
590         setWebConfigId_LessEqual(webConfigId, null);
591     }
592 
593     public void setWebConfigId_LessEqual(String webConfigId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
594         final Object _value = webConfigId;
595         RangeQueryBuilder builder = regRangeQ("webConfigId", ConditionKey.CK_LESS_EQUAL, _value);
596         if (opLambda != null) {
597             opLambda.callback(builder);
598         }
599     }
600 
601     public void setWebConfigId_Exists() {
602         setWebConfigId_Exists(null);
603     }
604 
605     public void setWebConfigId_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
606         ExistsQueryBuilder builder = regExistsQ("webConfigId");
607         if (opLambda != null) {
608             opLambda.callback(builder);
609         }
610     }
611 
612     public void setWebConfigId_CommonTerms(String webConfigId) {
613         setWebConfigId_CommonTerms(webConfigId, null);
614     }
615 
616     public void setWebConfigId_CommonTerms(String webConfigId, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
617         CommonTermsQueryBuilder builder = regCommonTermsQ("webConfigId", webConfigId);
618         if (opLambda != null) {
619             opLambda.callback(builder);
620         }
621     }
622 
623     public BsWebConfigToLabelCQ addOrderBy_WebConfigId_Asc() {
624         regOBA("webConfigId");
625         return this;
626     }
627 
628     public BsWebConfigToLabelCQ addOrderBy_WebConfigId_Desc() {
629         regOBD("webConfigId");
630         return this;
631     }
632 
633 }