@Override public void setUpdateMode(String update_mode) { try { updateMode = UpdateMode.fromString(update_mode); } catch (InvalidDataTypeException e) { e.printStackTrace(); } createDisplayObject(); }
@Override public boolean isEqual(String _otherId, String _otherGuiType, String _updateMode) { return id.equals(_otherId) && guiType.equals(_otherGuiType) && updateMode.toString().equals(_updateMode); }
@Override public String getUpdateMode() { return updateMode.toString(); }