protected SqlPredicateFragment betweenHelper(String cn,
                                                 FieldPredicate<?> model,
                                                 boolean negated) {

        final Inclusion inclusion = getInclusionOperand(model);
        switch (inclusion) {
            case START_EXCLUSIVE_END_EXCLUSIVE:
                return predicate(cn, model, negated, GREATER_THAN_WILDCARD, LESS_THAN_WILDCARD);
            case START_INCLUSIVE_END_EXCLUSIVE:
                return predicate(cn, model, negated, GREATER_OR_EQUAL_WILDCARD, LESS_THAN_WILDCARD);
            case START_EXCLUSIVE_END_INCLUSIVE:
                return predicate(cn, model, negated, GREATER_THAN_WILDCARD, LESS_OR_EQUAL_WILDCARD);
            case START_INCLUSIVE_END_INCLUSIVE:
                return predicate(cn, model, negated, GREATER_OR_EQUAL_WILDCARD, LESS_OR_EQUAL_WILDCARD);
        }
        throw new IllegalArgumentException("Unknown Inclusion:" + inclusion);
    }
@author Per Minborg
@author Emil Forslund
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/abstracts/AbstractFieldPredicateView.java