public MSimpleParameter(String name, String title, String summary, String description, boolean secret, MSimpleType type, Boolean required, Object defaultValue, Integer minLength,Integer maxLength,Long minValue,Long maxValue,MPattern pattern, Validator[] validators) { super(name, title, summary, description, type, required); this.secret = secret; this.defaultValue = type.valueOf(defaultValue); this.minLength = minLength; this.maxLength = maxLength; this.minValue = minValue; this.maxValue = maxValue; this.pattern = pattern; this.validators = null == validators ? EMPTY_VALIDATORS : validators; }