@Override public Map<String, Object> getDataMap() { Map<String, Object> data = super.getDataMap(); data.put("condition", this.condition); data.put("ifBlock", this.ifBlock == null ? null : this.ifBlock.getDataMap()); data.put("elseBlock", this.elseBlock == null ? null : this.elseBlock.getDataMap()); return data; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) return false; if (!(obj instanceof RichTextEditorRepresentation)) return false; RichTextEditorRepresentation other = (RichTextEditorRepresentation) obj; boolean equals = (this.html == null && other.html == null) || (this.html != null && this.html.equals(other.html)); return equals; }
@Override public int hashCode() { int result = super.hashCode(); int aux = this.condition == null ? 0 : this.condition.hashCode(); result = 37 * result + aux; aux = this.ifBlock == null ? 0 : this.ifBlock.hashCode(); result = 37 * result + aux; aux = this.elseBlock == null ? 0 : this.elseBlock.hashCode(); result = 37 * result + aux; return result; } }
@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 Map<String, Object> getDataMap() { Map<String, Object> data = super.getDataMap(); data.put("condition", this.condition); data.put("ifBlock", this.ifBlock == null ? null : this.ifBlock.getDataMap()); data.put("elseBlock", this.elseBlock == null ? null : this.elseBlock.getDataMap()); return data; }
@Override public int hashCode() { int result = super.hashCode(); int aux = this.condition == null ? 0 : this.condition.hashCode(); result = 37 * result + aux; aux = this.ifBlock == null ? 0 : this.ifBlock.hashCode(); result = 37 * result + aux; aux = this.elseBlock == null ? 0 : this.elseBlock.hashCode(); result = 37 * result + aux; return result; } }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { super.setDataMap(data); this.content = (String) data.get("content"); }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) return false; if (!(obj instanceof HTMLRepresentation)) return false; HTMLRepresentation other = (HTMLRepresentation) obj; return (this.content == null && other.content == null) || (this.content != null && this.content.equals(other.content)); }
@Override public Map<String, Object> getDataMap() { Map<String, Object> data = super.getDataMap(); data.put("html", this.html); return data; }
@Override public int hashCode() { int result = super.hashCode(); int aux = this.html == null ? 0 : this.html.hashCode(); result = 37 * result + aux; return result; } }
@Override public void setDataMap(Map<String, Object> data) throws FormEncodingException { this.html = (String) data.get("html"); super.setDataMap(data); }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) return false; if (!(obj instanceof RichTextEditorRepresentation)) return false; RichTextEditorRepresentation other = (RichTextEditorRepresentation) obj; boolean equals = (this.html == null && other.html == null) || (this.html != null && this.html.equals(other.html)); return equals; }
@Override public Map<String, Object> getDataMap() { Map<String, Object> data = super.getDataMap(); data.put("content", this.content); return data; }
@Override public int hashCode() { int result = super.hashCode(); int aux = this.content == null ? 0 : this.content.hashCode(); result = 37 * result + aux; return result; } }
@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 boolean equals(Object obj) { if (!super.equals(obj)) return false; if (!(obj instanceof HTMLRepresentation)) return false; HTMLRepresentation other = (HTMLRepresentation) obj; return (this.content == null && other.content == null) || (this.content != null && this.content.equals(other.content)); }
@Override public Map<String, Object> getDataMap() { Map<String, Object> data = super.getDataMap(); data.put("inputName", this.inputName); data.put("variableName", this.variableName); data.put("loopBlock", this.loopBlock == null ? null : this.loopBlock.getDataMap()); return data; }
@Override public int hashCode() { int result = super.hashCode(); int aux = this.imageUrls == null ? 0 : this.imageUrls.hashCode(); result = 37 * result + aux; aux = this.animated ? 0 : 1; result = 37 * result + aux; result = 37 * result + this.selectedIndex; return result; } }
@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); }