public static Parameter getParameter(int index) throws IndexOutOfBoundsException {
        if (index == -3) { return new LocationParameter(); }
        else if (index == -2) { return new ElementTypeParameter(); }
        else if (index == 0) { return new StringParameter(); }
        else if (index == 1) { return new IntegerParameter(); }
        else if (index == 2) { return new FloatParameter(); }
        else if (index == 3) { return new RangeParameter(); }
        else if (index == 4) { return new DateParameter(); }
        throw new IndexOutOfBoundsException();
    }