@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.content = (String) data.get("content"); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.content = (String) data.get("content"); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { this.html = (String) data.get("html"); super.setDataMap(data); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.script = (String) data.get("script"); this.language = (String) data.get("language"); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { this.type = (String) data.get("type"); this.src = (String) data.get("src"); super.setDataMap(data); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.label = (String) data.get("label"); this.value = (String) data.get("value"); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { this.type = (String) data.get("type"); this.src = (String) data.get("src"); super.setDataMap(data); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.id = (String) data.get("id"); this.name = (String) data.get("name"); this.value = (String) data.get("value"); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.name = (String) data.get("name"); this.id = (String) data.get("id"); this.accept = (String) data.get("accept"); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.defaultValue = (String) data.get("defaultValue"); this.calendarCss = (String) data.get("calendarCss"); this.iconUrl = (String) data.get("iconUrl"); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.id = (String) data.get("id"); this.name = (String) data.get("name"); this.value = (String) data.get("value"); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.audioUrl = (String) data.get("audioUrl"); this.cssClassName = (String) data.get("cssClassName"); this.dataType = (String) data.get("dataType"); this.id = (String) data.get("id"); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.fallbackUrl = (String) data.get("fallbackUrl"); this.cssClassName = (String) data.get("cssClassName"); this.dataType = (String) data.get("dataType"); this.id = (String) data.get("id"); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.audioUrl = (String) data.get("audioUrl"); this.cssClassName = (String) data.get("cssClassName"); this.dataType = (String) data.get("dataType"); this.id = (String) data.get("id"); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.defaultValue = (String) data.get("defaultValue"); this.name = (String) data.get("name"); this.id = (String) data.get("id"); Object obj = data.get("maxLength"); if (obj != null) { this.maxLength = ((Number) obj).intValue(); } }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.defaultValue = (String) data.get("defaultValue"); this.name = (String) data.get("name"); this.id = (String) data.get("id"); Object obj = data.get("maxLength"); if (obj != null) { this.maxLength = ((Number) obj).intValue(); } }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.name = (String) data.get("name"); this.rows = (data.get("rows") == null ? 0 : ((Number) data.get("rows")) .intValue()); this.cols = (data.get("cols") == null ? 0 : ((Number) data.get("cols")) .intValue()); this.value = (String) data.get("value"); this.id = (String) data.get("id"); }
@Override @SuppressWarnings("unchecked") public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.inputName = (String) data.get("inputName"); this.variableName = (String) data.get("variableName"); this.loopBlock = (FormItemRepresentation) FormEncodingFactory.getDecoder().decode((Map<String, Object>) data.get("loopBlock")); }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.autoSubmit = extractBoolean(data.get("autoSubmit")); this.avoidRepeatFiles = extractBoolean(data.get("avoidRepeatFiles")); this.enabled = extractBoolean(data.get("enabled")); this.cssClassName = (String) data.get("cssClassName"); }
@Override @SuppressWarnings("unchecked") public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.condition = (String) data.get("condition"); FormRepresentationDecoder decoder = FormEncodingFactory.getDecoder(); this.ifBlock = (FormItemRepresentation) decoder.decode((Map<String, Object>) data.get("ifBlock")); this.elseBlock = (FormItemRepresentation) decoder.decode((Map<String, Object>) data.get("elseBlock")); }