class TemplateModel extends RuleModel {

    public InterpolationVariable[] getInterpolationVariablesList() {
        Map<InterpolationVariable, Integer> vars = getInterpolationVariables();
        InterpolationVariable[] ret = new InterpolationVariable[vars.size() - 1];
        for (Map.Entry<InterpolationVariable, Integer> entry : vars.entrySet()) {
            if (!ID_COLUMN_NAME.equals(entry.getKey().getVarName())) {
                ret[entry.getValue()] = entry.getKey();
            }
        }
        return ret;
    }

}