@Override
    public BooleanExpression ne(String s) {
        return BooleanConstant.create(!constant.equals(s));
    }
StringConstant represents String constants

@author tiwe
querydsl-core/src/test/java/com/querydsl/core/StringConstant.java