static FieldCriteria buildNotEqualToCriteria(Object anAttribute, Object aValue, String anAlias)
763438
static FieldCriteria buildNotEqualToCriteria(Object anAttribute, Object aValue, UserAlias anAlias)
    {
        return new FieldCriteria(anAttribute, aValue, NOT_EQUAL, anAlias);
    }
425538
public boolean doLocalCriteria(StringBuffer strbFilter, boolean bIncludeFileName, Vector<BaseField> vParamList)
    {
        Integer objTargetValue = (Integer)m_fldToCompare.getData();
        if (m_fldRecordTarget == null)
            m_fldRecordTarget = this.getOwner().getField(m_fsRecordTarget);
        Integer objRecordValue = (Integer)m_fldRecordTarget.getData();
        int iTargetValue = 0;
        if (objTargetValue != null)
            iTargetValue = objTargetValue.intValue();
        int iRecordValue = 0;
        if (objRecordValue != null)
            iRecordValue = objRecordValue.intValue();
        int iMask = BitReferenceField.ALL_TABLES;
        if (m_fldToCompare instanceof BitReferenceField)
             iMask = ((BitReferenceField)m_fldToCompare).getBitsToCheck();
        boolean bCheckForMatch = true;
        if (m_bNoFilterIfAll)
            if (iTargetValue == -1)
                bCheckForMatch = false;    // No filter
        if (m_bNoFilterIfNone)
            if (iTargetValue == ~iMask)
                bCheckForMatch = false;    // No filter
        if (bCheckForMatch)
            if ((iMask & iTargetValue & iRecordValue) == 0)
                return false;   // No match
        return super.doLocalCriteria(strbFilter, bIncludeFileName, vParamList);
    }
1115598
public function buildCriteria()
    {
        $criteria = new Criteria(DealerContactInfoVersionTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerContactInfoVersionTableMap::ID)) $criteria->add(DealerContactInfoVersionTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::CONTACT_ID)) $criteria->add(DealerContactInfoVersionTableMap::CONTACT_ID, $this->contact_id);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::CONTACT_TYPE)) $criteria->add(DealerContactInfoVersionTableMap::CONTACT_TYPE, $this->contact_type);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::CREATED_AT)) $criteria->add(DealerContactInfoVersionTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::UPDATED_AT)) $criteria->add(DealerContactInfoVersionTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::VERSION)) $criteria->add(DealerContactInfoVersionTableMap::VERSION, $this->version);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::VERSION_CREATED_AT)) $criteria->add(DealerContactInfoVersionTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::VERSION_CREATED_BY)) $criteria->add(DealerContactInfoVersionTableMap::VERSION_CREATED_BY, $this->version_created_by);
        if ($this->isColumnModified(DealerContactInfoVersionTableMap::CONTACT_ID_VERSION)) $criteria->add(DealerContactInfoVersionTableMap::CONTACT_ID_VERSION, $this->contact_id_version);

        return $criteria;
    }
334519
public function buildCriteria()
    {
        $criteria = new Criteria(LogTableMap::DATABASE_NAME);

        if ($this->isColumnModified(LogTableMap::COL_ID)) {
            $criteria->add(LogTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(LogTableMap::COL_TYPE)) {
            $criteria->add(LogTableMap::COL_TYPE, $this->type);
        }
        if ($this->isColumnModified(LogTableMap::COL_DATE_TIME)) {
            $criteria->add(LogTableMap::COL_DATE_TIME, $this->date_time);
        }
        if ($this->isColumnModified(LogTableMap::COL_LOG_TEXT)) {
            $criteria->add(LogTableMap::COL_LOG_TEXT, $this->log_text);
        }
        if ($this->isColumnModified(LogTableMap::COL_USER_ID)) {
            $criteria->add(LogTableMap::COL_USER_ID, $this->user_id);
        }
        if ($this->isColumnModified(LogTableMap::COL_USERNAME)) {
            $criteria->add(LogTableMap::COL_USERNAME, $this->username);
        }
        if ($this->isColumnModified(LogTableMap::COL_SESSION_ID)) {
            $criteria->add(LogTableMap::COL_SESSION_ID, $this->session_id);
        }
        if ($this->isColumnModified(LogTableMap::COL_CLIENT_ADDRESS)) {
            $criteria->add(LogTableMap::COL_CLIENT_ADDRESS, $this->client_address);
        }
        if ($this->isColumnModified(LogTableMap::COL_CLIENT_IP)) {
            $criteria->add(LogTableMap::COL_CLIENT_IP, $this->client_ip);
        }
        if ($this->isColumnModified(LogTableMap::COL_CLIENT_AGENT)) {
            $criteria->add(LogTableMap::COL_CLIENT_AGENT, $this->client_agent);
        }
        if ($this->isColumnModified(LogTableMap::COL_CLIENT_PLATFORM)) {
            $criteria->add(LogTableMap::COL_CLIENT_PLATFORM, $this->client_platform);
        }

        return $criteria;
    }
679113
public function buildCriteria()
    {
        $criteria = new Criteria(AttributeTypeAvMetaTableMap::DATABASE_NAME);

        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::ID)) $criteria->add(AttributeTypeAvMetaTableMap::ID, $this->id);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::ATTRIBUTE_AV_ID)) $criteria->add(AttributeTypeAvMetaTableMap::ATTRIBUTE_AV_ID, $this->attribute_av_id);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::ATTRIBUTE_ATTRIBUTE_TYPE_ID)) $criteria->add(AttributeTypeAvMetaTableMap::ATTRIBUTE_ATTRIBUTE_TYPE_ID, $this->attribute_attribute_type_id);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::LOCALE)) $criteria->add(AttributeTypeAvMetaTableMap::LOCALE, $this->locale);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::VALUE)) $criteria->add(AttributeTypeAvMetaTableMap::VALUE, $this->value);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::CREATED_AT)) $criteria->add(AttributeTypeAvMetaTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(AttributeTypeAvMetaTableMap::UPDATED_AT)) $criteria->add(AttributeTypeAvMetaTableMap::UPDATED_AT, $this->updated_at);

        return $criteria;
    }
181173
function queryCriteriaToMongo(query, options) {
    var hash = {}, p, v, deep
    options = options || {}

    for (var key in query) {
        if (Object.prototype.hasOwnProperty.call(query, key) && (!options.ignore || options.ignore.indexOf(key) == -1)) {
            deep = (typeof query[key] === 'object' && !hasOrdinalKeys(query[key]))

            if (deep) {
                p = {
                    key: key,
                    value: queryCriteriaToMongo(query[key])
                }
            } else {
                p = comparisonToMongo(key, query[key])
            }

            if (p) {
                if (!hash[p.key]) {
                    hash[p.key] = p.value;
                } else {
                    hash[p.key] = Object.assign(hash[p.key], p.value);
                }
            }
        }
    }
    return hash
}
90068
private GenericCriteriaPrompt getPromptValue(FieldType field, byte[] block)
   {
      int textOffset = getPromptOffset(block);
      String value = MPPUtility.getUnicodeString(m_criteriaData, m_criteriaTextStart + textOffset);
      GenericCriteriaPrompt prompt = new GenericCriteriaPrompt(field.getDataType(), value);
      if (m_prompts != null)
      {
         m_prompts.add(prompt);
      }
      return prompt;
   }
298219
public static Query notEquals(String field, Object value) {
        return new Query().notEquals(field, value);
    }
322302
private void buildEntityFromCursor(Object entity, HashMap obj, EntityType entityType)
    {
        Iterator<Attribute> iter = entityType.getAttributes().iterator();
        while (iter.hasNext())
        {
            Attribute attribute = iter.next();
            Field field = (Field) attribute.getJavaMember();
            if (field.isAnnotationPresent(Id.class))
            {
                PropertyAccessorHelper.set(entity, field, obj.get(ID));
            }
            else
            {
                PropertyAccessorHelper.set(entity, field, obj.get(((AbstractAttribute) attribute).getJPAColumnName()));
            }

        }
    }
108624
public function buildCriteria()
    {
        $criteria = new Criteria(FeatureTypeAvMetaTableMap::DATABASE_NAME);

        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::ID)) $criteria->add(FeatureTypeAvMetaTableMap::ID, $this->id);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::FEATURE_AV_ID)) $criteria->add(FeatureTypeAvMetaTableMap::FEATURE_AV_ID, $this->feature_av_id);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::FEATURE_FEATURE_TYPE_ID)) $criteria->add(FeatureTypeAvMetaTableMap::FEATURE_FEATURE_TYPE_ID, $this->feature_feature_type_id);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::LOCALE)) $criteria->add(FeatureTypeAvMetaTableMap::LOCALE, $this->locale);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::VALUE)) $criteria->add(FeatureTypeAvMetaTableMap::VALUE, $this->value);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::CREATED_AT)) $criteria->add(FeatureTypeAvMetaTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(FeatureTypeAvMetaTableMap::UPDATED_AT)) $criteria->add(FeatureTypeAvMetaTableMap::UPDATED_AT, $this->updated_at);

        return $criteria;
    }
1180677
public void addGreaterOrEqualThanField(String attribute, Object value)
    {
		// PAW
		// addSelectionCriteria(FieldCriteria.buildNotLessCriteria(attribute, value, getAlias()));
		addSelectionCriteria(FieldCriteria.buildNotLessCriteria(attribute, value, getUserAlias(attribute)));
    }
360408
public void addNotEqualToColumn(String attribute, String colName)
    {
        // PAW
		// FieldCriteria c = FieldCriteria.buildNotEqualToCriteria(attribute, colName, getAlias());
		FieldCriteria c = FieldCriteria.buildNotEqualToCriteria(attribute, colName, getUserAlias(attribute));
        c.setTranslateField(false);
        addSelectionCriteria(c);
    }
117665
public void addNotEqualToField(String attribute, String fieldName)
    {
        // PAW
		// SelectionCriteria c = FieldCriteria.buildNotEqualToCriteria(attribute, fieldName, getAlias());
		SelectionCriteria c = FieldCriteria.buildNotEqualToCriteria(attribute, fieldName, getUserAlias(attribute));
        addSelectionCriteria(c);
    }
281058
def compile_attribute(key, values)
      if values.all? { |v| Temple::StaticAnalyzer.static?(v.to_literal) }
        return static_build(values)
      end

      case key
      when 'id', 'class'
        compile_id_or_class_attribute(key, values)
      else
        compile_common_attribute(key, values)
      end
    end
175864
protected Predicate createEqual(Path root, CriteriaQuery<?> query, CriteriaBuilder cb, String propertyPath,
                                    Object argument, PersistenceContext context)
    {
        return cb.equal(root.get(propertyPath), argument);
    }
1298952
static FieldCriteria buildGreaterCriteria(Object anAttribute, Object aValue, UserAlias anAlias)
    {
        return new FieldCriteria(anAttribute, aValue,GREATER, anAlias);
    }
81188
private void appendFieldCriteria(TableAlias alias, PathInfo pathInfo, FieldCriteria c, StringBuffer buf)
    {
        appendColName(alias, pathInfo, c.isTranslateAttribute(), buf);
        buf.append(c.getClause());

        if (c.isTranslateField())
        {
			appendColName((String) c.getValue(), false, c.getUserAlias(), buf);
        }
        else
        {
            buf.append(c.getValue());
        }
    }