• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package autotest.tko;
2 
3 import autotest.common.Utils;
4 
5 public abstract class LabelField extends ParameterizedField {
6     @Override
getSqlCondition(String value)7     public String getSqlCondition(String value) {
8         String condition = " IS NOT NULL";
9         if (value.equals(Utils.JSON_NULL)) {
10             condition = " IS NULL";
11         }
12         return getFilteringName() + condition;
13     }
14 
15     @Override
getFilteringName()16     public String getFilteringName() {
17         return getQuotedSqlName() + ".id";
18     }
19 }
20