View Javadoc
1   /*
2    * Copyright 2012-2025 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.opensearch.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.opensearch.config.allcommon.EsAbstractConditionQuery;
23  import org.codelibs.fess.opensearch.config.cbean.cq.ElevateWordToLabelCQ;
24  import org.dbflute.cbean.ckey.ConditionKey;
25  import org.opensearch.index.query.BoolQueryBuilder;
26  import org.opensearch.index.query.CommonTermsQueryBuilder;
27  import org.opensearch.index.query.ExistsQueryBuilder;
28  import org.opensearch.index.query.IdsQueryBuilder;
29  import org.opensearch.index.query.MatchPhrasePrefixQueryBuilder;
30  import org.opensearch.index.query.MatchPhraseQueryBuilder;
31  import org.opensearch.index.query.MatchQueryBuilder;
32  import org.opensearch.index.query.PrefixQueryBuilder;
33  import org.opensearch.index.query.RangeQueryBuilder;
34  import org.opensearch.index.query.RegexpQueryBuilder;
35  import org.opensearch.index.query.SpanTermQueryBuilder;
36  import org.opensearch.index.query.TermQueryBuilder;
37  import org.opensearch.index.query.TermsQueryBuilder;
38  import org.opensearch.index.query.WildcardQueryBuilder;
39  import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder;
40  import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder.FilterFunctionBuilder;
41  
42  /**
43   * @author ESFlute (using FreeGen)
44   */
45  public abstract class BsElevateWordToLabelCQ 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 "elevate_word_to_label";
55      }
56  
57      @Override
58      public String xgetAliasName() {
59          return "elevate_word_to_label";
60      }
61  
62      // ===================================================================================
63      //                                                                       Query Control
64      //                                                                       =============
65      public void functionScore(OperatorCall<ElevateWordToLabelCQ> queryLambda,
66              ScoreFunctionCall<ScoreFunctionCreator<ElevateWordToLabelCQ>> functionsLambda,
67              final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
68          ElevateWordToLabelCQ cq = new ElevateWordToLabelCQ();
69          queryLambda.callback(cq);
70          final Collection<FilterFunctionBuilder> list = new ArrayList<>();
71          if (functionsLambda != null) {
72              functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
73                  ElevateWordToLabelCQ cf = new ElevateWordToLabelCQ();
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<ElevateWordToLabelCQ, ElevateWordToLabelCQ> filteredLambda) {
85          filtered(filteredLambda, null);
86      }
87  
88      public void filtered(FilteredCall<ElevateWordToLabelCQ, ElevateWordToLabelCQ> filteredLambda,
89              ConditionOptionCall<BoolQueryBuilder> opLambda) {
90          bool((must, should, mustNot, filter) -> {
91              filteredLambda.callback(must, filter);
92          }, opLambda);
93      }
94  
95      public void not(OperatorCall<ElevateWordToLabelCQ> notLambda) {
96          not(notLambda, null);
97      }
98  
99      public void not(final OperatorCall<ElevateWordToLabelCQ> notLambda, final ConditionOptionCall<BoolQueryBuilder> opLambda) {
100         bool((must, should, mustNot, filter) -> notLambda.callback(mustNot), opLambda);
101     }
102 
103     public void bool(BoolCall<ElevateWordToLabelCQ> boolLambda) {
104         bool(boolLambda, null);
105     }
106 
107     public void bool(BoolCall<ElevateWordToLabelCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
108         ElevateWordToLabelCQ mustQuery = new ElevateWordToLabelCQ();
109         ElevateWordToLabelCQ shouldQuery = new ElevateWordToLabelCQ();
110         ElevateWordToLabelCQ mustNotQuery = new ElevateWordToLabelCQ();
111         ElevateWordToLabelCQ filterQuery = new ElevateWordToLabelCQ();
112         boolLambda.callback(mustQuery, shouldQuery, mustNotQuery, filterQuery);
113         if (mustQuery.hasQueries() || shouldQuery.hasQueries() || mustNotQuery.hasQueries() || filterQuery.hasQueries()) {
114             BoolQueryBuilder builder = regBoolCQ(mustQuery.getQueryBuilderList(), shouldQuery.getQueryBuilderList(),
115                     mustNotQuery.getQueryBuilderList(), 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     @Deprecated
180     public BsElevateWordToLabelCQ addOrderBy_Id_Asc() {
181         regOBA("_id");
182         return this;
183     }
184 
185     @Deprecated
186     public BsElevateWordToLabelCQ addOrderBy_Id_Desc() {
187         regOBD("_id");
188         return this;
189     }
190 
191     public void setElevateWordId_Equal(String elevateWordId) {
192         setElevateWordId_Term(elevateWordId, null);
193     }
194 
195     public void setElevateWordId_Equal(String elevateWordId, ConditionOptionCall<TermQueryBuilder> opLambda) {
196         setElevateWordId_Term(elevateWordId, opLambda);
197     }
198 
199     public void setElevateWordId_Term(String elevateWordId) {
200         setElevateWordId_Term(elevateWordId, null);
201     }
202 
203     public void setElevateWordId_Term(String elevateWordId, ConditionOptionCall<TermQueryBuilder> opLambda) {
204         TermQueryBuilder builder = regTermQ("elevateWordId", elevateWordId);
205         if (opLambda != null) {
206             opLambda.callback(builder);
207         }
208     }
209 
210     public void setElevateWordId_NotEqual(String elevateWordId) {
211         setElevateWordId_NotTerm(elevateWordId, null);
212     }
213 
214     public void setElevateWordId_NotTerm(String elevateWordId) {
215         setElevateWordId_NotTerm(elevateWordId, null);
216     }
217 
218     public void setElevateWordId_NotEqual(String elevateWordId, ConditionOptionCall<BoolQueryBuilder> opLambda) {
219         setElevateWordId_NotTerm(elevateWordId, opLambda);
220     }
221 
222     public void setElevateWordId_NotTerm(String elevateWordId, ConditionOptionCall<BoolQueryBuilder> opLambda) {
223         not(not -> not.setElevateWordId_Term(elevateWordId), opLambda);
224     }
225 
226     public void setElevateWordId_Terms(Collection<String> elevateWordIdList) {
227         setElevateWordId_Terms(elevateWordIdList, null);
228     }
229 
230     public void setElevateWordId_Terms(Collection<String> elevateWordIdList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
231         TermsQueryBuilder builder = regTermsQ("elevateWordId", elevateWordIdList);
232         if (opLambda != null) {
233             opLambda.callback(builder);
234         }
235     }
236 
237     public void setElevateWordId_InScope(Collection<String> elevateWordIdList) {
238         setElevateWordId_Terms(elevateWordIdList, null);
239     }
240 
241     public void setElevateWordId_InScope(Collection<String> elevateWordIdList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
242         setElevateWordId_Terms(elevateWordIdList, opLambda);
243     }
244 
245     public void setElevateWordId_Match(String elevateWordId) {
246         setElevateWordId_Match(elevateWordId, null);
247     }
248 
249     public void setElevateWordId_Match(String elevateWordId, ConditionOptionCall<MatchQueryBuilder> opLambda) {
250         MatchQueryBuilder builder = regMatchQ("elevateWordId", elevateWordId);
251         if (opLambda != null) {
252             opLambda.callback(builder);
253         }
254     }
255 
256     public void setElevateWordId_MatchPhrase(String elevateWordId) {
257         setElevateWordId_MatchPhrase(elevateWordId, null);
258     }
259 
260     public void setElevateWordId_MatchPhrase(String elevateWordId, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
261         MatchPhraseQueryBuilder builder = regMatchPhraseQ("elevateWordId", elevateWordId);
262         if (opLambda != null) {
263             opLambda.callback(builder);
264         }
265     }
266 
267     public void setElevateWordId_MatchPhrasePrefix(String elevateWordId) {
268         setElevateWordId_MatchPhrasePrefix(elevateWordId, null);
269     }
270 
271     public void setElevateWordId_MatchPhrasePrefix(String elevateWordId, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
272         MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("elevateWordId", elevateWordId);
273         if (opLambda != null) {
274             opLambda.callback(builder);
275         }
276     }
277 
278     public void setElevateWordId_Fuzzy(String elevateWordId) {
279         setElevateWordId_Fuzzy(elevateWordId, null);
280     }
281 
282     public void setElevateWordId_Fuzzy(String elevateWordId, ConditionOptionCall<MatchQueryBuilder> opLambda) {
283         MatchQueryBuilder builder = regFuzzyQ("elevateWordId", elevateWordId);
284         if (opLambda != null) {
285             opLambda.callback(builder);
286         }
287     }
288 
289     public void setElevateWordId_Prefix(String elevateWordId) {
290         setElevateWordId_Prefix(elevateWordId, null);
291     }
292 
293     public void setElevateWordId_Prefix(String elevateWordId, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
294         PrefixQueryBuilder builder = regPrefixQ("elevateWordId", elevateWordId);
295         if (opLambda != null) {
296             opLambda.callback(builder);
297         }
298     }
299 
300     public void setElevateWordId_Wildcard(String elevateWordId) {
301         setElevateWordId_Wildcard(elevateWordId, null);
302     }
303 
304     public void setElevateWordId_Wildcard(String elevateWordId, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
305         WildcardQueryBuilder builder = regWildcardQ("elevateWordId", elevateWordId);
306         if (opLambda != null) {
307             opLambda.callback(builder);
308         }
309     }
310 
311     public void setElevateWordId_Regexp(String elevateWordId) {
312         setElevateWordId_Regexp(elevateWordId, null);
313     }
314 
315     public void setElevateWordId_Regexp(String elevateWordId, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
316         RegexpQueryBuilder builder = regRegexpQ("elevateWordId", elevateWordId);
317         if (opLambda != null) {
318             opLambda.callback(builder);
319         }
320     }
321 
322     public void setElevateWordId_SpanTerm(String elevateWordId) {
323         setElevateWordId_SpanTerm("elevateWordId", null);
324     }
325 
326     public void setElevateWordId_SpanTerm(String elevateWordId, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
327         SpanTermQueryBuilder builder = regSpanTermQ("elevateWordId", elevateWordId);
328         if (opLambda != null) {
329             opLambda.callback(builder);
330         }
331     }
332 
333     public void setElevateWordId_GreaterThan(String elevateWordId) {
334         setElevateWordId_GreaterThan(elevateWordId, null);
335     }
336 
337     public void setElevateWordId_GreaterThan(String elevateWordId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
338         final Object _value = elevateWordId;
339         RangeQueryBuilder builder = regRangeQ("elevateWordId", ConditionKey.CK_GREATER_THAN, _value);
340         if (opLambda != null) {
341             opLambda.callback(builder);
342         }
343     }
344 
345     public void setElevateWordId_LessThan(String elevateWordId) {
346         setElevateWordId_LessThan(elevateWordId, null);
347     }
348 
349     public void setElevateWordId_LessThan(String elevateWordId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
350         final Object _value = elevateWordId;
351         RangeQueryBuilder builder = regRangeQ("elevateWordId", ConditionKey.CK_LESS_THAN, _value);
352         if (opLambda != null) {
353             opLambda.callback(builder);
354         }
355     }
356 
357     public void setElevateWordId_GreaterEqual(String elevateWordId) {
358         setElevateWordId_GreaterEqual(elevateWordId, null);
359     }
360 
361     public void setElevateWordId_GreaterEqual(String elevateWordId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
362         final Object _value = elevateWordId;
363         RangeQueryBuilder builder = regRangeQ("elevateWordId", ConditionKey.CK_GREATER_EQUAL, _value);
364         if (opLambda != null) {
365             opLambda.callback(builder);
366         }
367     }
368 
369     public void setElevateWordId_LessEqual(String elevateWordId) {
370         setElevateWordId_LessEqual(elevateWordId, null);
371     }
372 
373     public void setElevateWordId_LessEqual(String elevateWordId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
374         final Object _value = elevateWordId;
375         RangeQueryBuilder builder = regRangeQ("elevateWordId", ConditionKey.CK_LESS_EQUAL, _value);
376         if (opLambda != null) {
377             opLambda.callback(builder);
378         }
379     }
380 
381     public void setElevateWordId_Exists() {
382         setElevateWordId_Exists(null);
383     }
384 
385     public void setElevateWordId_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
386         ExistsQueryBuilder builder = regExistsQ("elevateWordId");
387         if (opLambda != null) {
388             opLambda.callback(builder);
389         }
390     }
391 
392     @Deprecated
393     public void setElevateWordId_CommonTerms(String elevateWordId) {
394         setElevateWordId_CommonTerms(elevateWordId, null);
395     }
396 
397     @Deprecated
398     public void setElevateWordId_CommonTerms(String elevateWordId, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
399         CommonTermsQueryBuilder builder = regCommonTermsQ("elevateWordId", elevateWordId);
400         if (opLambda != null) {
401             opLambda.callback(builder);
402         }
403     }
404 
405     public BsElevateWordToLabelCQ addOrderBy_ElevateWordId_Asc() {
406         regOBA("elevateWordId");
407         return this;
408     }
409 
410     public BsElevateWordToLabelCQ addOrderBy_ElevateWordId_Desc() {
411         regOBD("elevateWordId");
412         return this;
413     }
414 
415     public void setLabelTypeId_Equal(String labelTypeId) {
416         setLabelTypeId_Term(labelTypeId, null);
417     }
418 
419     public void setLabelTypeId_Equal(String labelTypeId, ConditionOptionCall<TermQueryBuilder> opLambda) {
420         setLabelTypeId_Term(labelTypeId, opLambda);
421     }
422 
423     public void setLabelTypeId_Term(String labelTypeId) {
424         setLabelTypeId_Term(labelTypeId, null);
425     }
426 
427     public void setLabelTypeId_Term(String labelTypeId, ConditionOptionCall<TermQueryBuilder> opLambda) {
428         TermQueryBuilder builder = regTermQ("labelTypeId", labelTypeId);
429         if (opLambda != null) {
430             opLambda.callback(builder);
431         }
432     }
433 
434     public void setLabelTypeId_NotEqual(String labelTypeId) {
435         setLabelTypeId_NotTerm(labelTypeId, null);
436     }
437 
438     public void setLabelTypeId_NotTerm(String labelTypeId) {
439         setLabelTypeId_NotTerm(labelTypeId, null);
440     }
441 
442     public void setLabelTypeId_NotEqual(String labelTypeId, ConditionOptionCall<BoolQueryBuilder> opLambda) {
443         setLabelTypeId_NotTerm(labelTypeId, opLambda);
444     }
445 
446     public void setLabelTypeId_NotTerm(String labelTypeId, ConditionOptionCall<BoolQueryBuilder> opLambda) {
447         not(not -> not.setLabelTypeId_Term(labelTypeId), opLambda);
448     }
449 
450     public void setLabelTypeId_Terms(Collection<String> labelTypeIdList) {
451         setLabelTypeId_Terms(labelTypeIdList, null);
452     }
453 
454     public void setLabelTypeId_Terms(Collection<String> labelTypeIdList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
455         TermsQueryBuilder builder = regTermsQ("labelTypeId", labelTypeIdList);
456         if (opLambda != null) {
457             opLambda.callback(builder);
458         }
459     }
460 
461     public void setLabelTypeId_InScope(Collection<String> labelTypeIdList) {
462         setLabelTypeId_Terms(labelTypeIdList, null);
463     }
464 
465     public void setLabelTypeId_InScope(Collection<String> labelTypeIdList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
466         setLabelTypeId_Terms(labelTypeIdList, opLambda);
467     }
468 
469     public void setLabelTypeId_Match(String labelTypeId) {
470         setLabelTypeId_Match(labelTypeId, null);
471     }
472 
473     public void setLabelTypeId_Match(String labelTypeId, ConditionOptionCall<MatchQueryBuilder> opLambda) {
474         MatchQueryBuilder builder = regMatchQ("labelTypeId", labelTypeId);
475         if (opLambda != null) {
476             opLambda.callback(builder);
477         }
478     }
479 
480     public void setLabelTypeId_MatchPhrase(String labelTypeId) {
481         setLabelTypeId_MatchPhrase(labelTypeId, null);
482     }
483 
484     public void setLabelTypeId_MatchPhrase(String labelTypeId, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
485         MatchPhraseQueryBuilder builder = regMatchPhraseQ("labelTypeId", labelTypeId);
486         if (opLambda != null) {
487             opLambda.callback(builder);
488         }
489     }
490 
491     public void setLabelTypeId_MatchPhrasePrefix(String labelTypeId) {
492         setLabelTypeId_MatchPhrasePrefix(labelTypeId, null);
493     }
494 
495     public void setLabelTypeId_MatchPhrasePrefix(String labelTypeId, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
496         MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("labelTypeId", labelTypeId);
497         if (opLambda != null) {
498             opLambda.callback(builder);
499         }
500     }
501 
502     public void setLabelTypeId_Fuzzy(String labelTypeId) {
503         setLabelTypeId_Fuzzy(labelTypeId, null);
504     }
505 
506     public void setLabelTypeId_Fuzzy(String labelTypeId, ConditionOptionCall<MatchQueryBuilder> opLambda) {
507         MatchQueryBuilder builder = regFuzzyQ("labelTypeId", labelTypeId);
508         if (opLambda != null) {
509             opLambda.callback(builder);
510         }
511     }
512 
513     public void setLabelTypeId_Prefix(String labelTypeId) {
514         setLabelTypeId_Prefix(labelTypeId, null);
515     }
516 
517     public void setLabelTypeId_Prefix(String labelTypeId, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
518         PrefixQueryBuilder builder = regPrefixQ("labelTypeId", labelTypeId);
519         if (opLambda != null) {
520             opLambda.callback(builder);
521         }
522     }
523 
524     public void setLabelTypeId_Wildcard(String labelTypeId) {
525         setLabelTypeId_Wildcard(labelTypeId, null);
526     }
527 
528     public void setLabelTypeId_Wildcard(String labelTypeId, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
529         WildcardQueryBuilder builder = regWildcardQ("labelTypeId", labelTypeId);
530         if (opLambda != null) {
531             opLambda.callback(builder);
532         }
533     }
534 
535     public void setLabelTypeId_Regexp(String labelTypeId) {
536         setLabelTypeId_Regexp(labelTypeId, null);
537     }
538 
539     public void setLabelTypeId_Regexp(String labelTypeId, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
540         RegexpQueryBuilder builder = regRegexpQ("labelTypeId", labelTypeId);
541         if (opLambda != null) {
542             opLambda.callback(builder);
543         }
544     }
545 
546     public void setLabelTypeId_SpanTerm(String labelTypeId) {
547         setLabelTypeId_SpanTerm("labelTypeId", null);
548     }
549 
550     public void setLabelTypeId_SpanTerm(String labelTypeId, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
551         SpanTermQueryBuilder builder = regSpanTermQ("labelTypeId", labelTypeId);
552         if (opLambda != null) {
553             opLambda.callback(builder);
554         }
555     }
556 
557     public void setLabelTypeId_GreaterThan(String labelTypeId) {
558         setLabelTypeId_GreaterThan(labelTypeId, null);
559     }
560 
561     public void setLabelTypeId_GreaterThan(String labelTypeId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
562         final Object _value = labelTypeId;
563         RangeQueryBuilder builder = regRangeQ("labelTypeId", ConditionKey.CK_GREATER_THAN, _value);
564         if (opLambda != null) {
565             opLambda.callback(builder);
566         }
567     }
568 
569     public void setLabelTypeId_LessThan(String labelTypeId) {
570         setLabelTypeId_LessThan(labelTypeId, null);
571     }
572 
573     public void setLabelTypeId_LessThan(String labelTypeId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
574         final Object _value = labelTypeId;
575         RangeQueryBuilder builder = regRangeQ("labelTypeId", ConditionKey.CK_LESS_THAN, _value);
576         if (opLambda != null) {
577             opLambda.callback(builder);
578         }
579     }
580 
581     public void setLabelTypeId_GreaterEqual(String labelTypeId) {
582         setLabelTypeId_GreaterEqual(labelTypeId, null);
583     }
584 
585     public void setLabelTypeId_GreaterEqual(String labelTypeId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
586         final Object _value = labelTypeId;
587         RangeQueryBuilder builder = regRangeQ("labelTypeId", ConditionKey.CK_GREATER_EQUAL, _value);
588         if (opLambda != null) {
589             opLambda.callback(builder);
590         }
591     }
592 
593     public void setLabelTypeId_LessEqual(String labelTypeId) {
594         setLabelTypeId_LessEqual(labelTypeId, null);
595     }
596 
597     public void setLabelTypeId_LessEqual(String labelTypeId, ConditionOptionCall<RangeQueryBuilder> opLambda) {
598         final Object _value = labelTypeId;
599         RangeQueryBuilder builder = regRangeQ("labelTypeId", ConditionKey.CK_LESS_EQUAL, _value);
600         if (opLambda != null) {
601             opLambda.callback(builder);
602         }
603     }
604 
605     public void setLabelTypeId_Exists() {
606         setLabelTypeId_Exists(null);
607     }
608 
609     public void setLabelTypeId_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
610         ExistsQueryBuilder builder = regExistsQ("labelTypeId");
611         if (opLambda != null) {
612             opLambda.callback(builder);
613         }
614     }
615 
616     @Deprecated
617     public void setLabelTypeId_CommonTerms(String labelTypeId) {
618         setLabelTypeId_CommonTerms(labelTypeId, null);
619     }
620 
621     @Deprecated
622     public void setLabelTypeId_CommonTerms(String labelTypeId, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
623         CommonTermsQueryBuilder builder = regCommonTermsQ("labelTypeId", labelTypeId);
624         if (opLambda != null) {
625             opLambda.callback(builder);
626         }
627     }
628 
629     public BsElevateWordToLabelCQ addOrderBy_LabelTypeId_Asc() {
630         regOBA("labelTypeId");
631         return this;
632     }
633 
634     public BsElevateWordToLabelCQ addOrderBy_LabelTypeId_Desc() {
635         regOBD("labelTypeId");
636         return this;
637     }
638 
639 }