switch (WidgetParameterType.valueOf(this.getType().toUpperCase())) { case LABEL: return this.getValue(); case STRING: return this.getValue(); case BOOLEAN: return Boolean.parseBoolean(this.getValue()); case INTEGER: return Integer.valueOf(this.getValue()); case LONG: return Long.valueOf(this.getValue()); case FLOAT: return Float.valueOf(this.getValue()); case DOUBLE: return Double.valueOf(this.getValue()); case ARRAY: return this.getParameterList();