Newer
Older
StartupManagement / src / Widget1.java
import java.util.*;

public class Widget1 {
	private String type;
	private String text;
	private boolean visible;
	private int x;
	private int y;
	private int width;
	private int height;
	private int state;
	private Map<String, Map<String, Object>> data;
    private List<String> columns;
    private String primaryKeyName;
	private BusinessCardManagement businessCardManagement;
	private Widget widget1;
	private Screen screen;
	private CurScreen curScreen;
	private SwingPresenter presenter;
	private Company company;
	private Representative representative;
	private Position position;
	private Establishment establishment;
	private Address1 address1;
	private Address2 address2;
	private Businessdescription1 businessdescription1;
	private Businessdescription2 businessdescription2;
	private Companyoverview companyoverview;
	private URL URL;
    private ContactPerson1 contactPerson1;
    private Position1 position1;
    private Tel1 tel1;
    private Email1 email1;
    private ContactPerson2 contactPerson2;
    private Position2 position2;
    private Tel2 tel2;
    private Email2 email2;
    private ContactPerson3 contactPerson3;
    private Position3 position3;
    private Tel3 tel3;
    private Email3 email3;
    private ContactPerson4 contactPerson4;
    private Position4 position4;
    private Tel4 tel4;
    private Email4 email4;
	private SearchCriteriaScreen searchCriteriaScreen;
    private Search1 search1;
    private Search2 search2;
	private Search3 search3;
	private Search5 search5;
    private Search6 search6;
	private Result result;
    private W2d109ad3739d4744a1874ac179fc38b9 w2d109ad3739d4744a1874ac179fc38b9;
    private W4ca84254d30c423ab8e449171a5b5123 w4ca84254d30c423ab8e449171a5b5123;

	public Widget1(String type, String text, boolean visible, int x, int y, int width, int height, int state, Map<String, Map<String, Object>> data, List<String> columns, String primaryKeyName, SwingPresenter presenter) {
        this.type = type;
		this.text = text;
		this.visible = visible;
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
		this.state = state;
		this.data = data;
        this.columns = columns;
        this.primaryKeyName = primaryKeyName;
		this.presenter = presenter;
	}
	public Map<String, Object> getValue() {
		Map temp_nil2 = new HashMap<>();
		temp_nil2.put("type",this.getType());
		temp_nil2.put("text",this.getText());
		temp_nil2.put("visible",this.getVisible());
		temp_nil2.put("x",this.getX());
		temp_nil2.put("y",this.getY());
		temp_nil2.put("width",this.getWidth());
		temp_nil2.put("height",this.getHeight());
		temp_nil2.put("state",this.getState());
        if (this.getType().equals("table")) {
            temp_nil2.put("data", this.getData());
            temp_nil2.put("columns", this.getColumns());
            temp_nil2.put("primaryKeyName", this.getPrimaryKeyName());
        }
		return temp_nil2;
	}
	public String getType() {
		return this.type;
	}
	public String getText() {
		return this.text;
	}
	public boolean getVisible() {
		return this.visible;
	}
	public int getX() {
		return this.x;
	}
	public int getY() {
		return this.y;
	}
	public int getWidth() {
		return this.width;
	}
	public int getHeight() {
		return this.height;
	}
	public int getState() {
		return this.state;
	}
    public Map<String, Map<String, Object>> getData() {
        return this.data;
    }
    public List<String> getColumns() {
        return this.columns;
    }
    public String getPrimaryKeyName() {
        return primaryKeyName;
    }
    public void updateText(String text) {
        this.text = text;
    }
	public void updateTextFromText(String self, String self2, String wid, String text, String curScreen) {
		this.text = text;
	}
	public void updateDataFromBusinessCardManagement(String scId, String wid, Map<String, Map<String, Object>> businessCardManagement, String searchCriteriaScreen, String result) {
		this.data = businessCardManagement;
		this.presenter.setTable(scId, wid, businessCardManagement);
	}
	public void updateDataFromBusinessCardManagement2(String scId, String wid, Map<String, Map<String, Object>> businessCardManagement, String w4ca84254d30c423ab8e449171a5b5123, String searchScreen) {
		this.data = businessCardManagement;
		this.presenter.setTable(scId, wid, businessCardManagement);
	}
	public void updateDataFromBusinessCardManagement3(String scId, String wid, Map<String, Map<String, Object>> businessCardManagement, String companyList, String w2d109ad3739d4744a1874ac179fc38b9) {
		this.data = businessCardManagement;
		this.presenter.setTable(scId, wid, businessCardManagement);
	}
    public void updateDataFromBusinessCardManagement4(String scId, String wid, Map<String, Map<String, Object>> businessCardManagement) {
        this.data = businessCardManagement;
        this.presenter.setTable(scId, wid, businessCardManagement);
    }
	public void updateStateFromState(String self, String self2, String wid, int state, String curScreen) {
		this.state = state;
        if ((curScreen.equals("企業一覧")&&wid.equals("w191cc519b2344758b8d9878328b41cd9"))) {      // 「検索」ボタン
            this.curScreen.updateFromState3(curScreen, wid, this.state);
        }
        if ((curScreen.equals("企業一覧")&&wid.equals("w0498c4eb3524489494c288e2fc7a3211"))) {      // 「登録」ボタン
            this.curScreen.updateFromState2(curScreen, wid, this.state);
        }
        if ((curScreen.equals("企業一覧")&&wid.equals("wa1b27f08c9fd4c08b7dda38625c04f3b"))) {      // 「削除」ボタン
            String w2d109ad3739d4744a1874ac179fc38b9 = this.w2d109ad3739d4744a1874ac179fc38b9.getValue();
            this.widget1 = screen.getWidgets().getWidget(w2d109ad3739d4744a1874ac179fc38b9);
            String w2d109ad3739d4744a1874ac179fc38b9_ = this.widget1.getText();
            if (w2d109ad3739d4744a1874ac179fc38b9_ != null) {
                this.businessCardManagement.delete(curScreen, wid, this.state, w2d109ad3739d4744a1874ac179fc38b9, w2d109ad3739d4744a1874ac179fc38b9_);
            }
        }
        if ((curScreen.equals("企業一覧")&&wid.equals("importButton"))) {                           // 「データ読み込み」ボタン
            this.businessCardManagement.imports(curScreen, wid, this.state);
        }
        if ((curScreen.equals("企業一覧")&&wid.equals("saveButton"))) {                             // 「保存」ボタン
            this.businessCardManagement.save(curScreen, wid, this.state);
        }
        if ((curScreen.equals("企業一覧")&&wid.equals("wa6aa4bcbb7a64e9eaf75758eae59310a"))) {      // 「編集」ボタン
            String w2d109ad3739d4744a1874ac179fc38b9 = this.w2d109ad3739d4744a1874ac179fc38b9.getValue();
            this.widget1 = screen.getWidgets().getWidget(w2d109ad3739d4744a1874ac179fc38b9);
            String w2d109ad3739d4744a1874ac179fc38b9_ = this.widget1.getText();
            if (w2d109ad3739d4744a1874ac179fc38b9_ != null) {
                String company = this.company.getValue();
                String representative = this.representative.getValue();
                String position = this.position.getValue();
                String establishment = this.establishment.getValue();
                String address1 = this.address1.getValue();
                String address2 = this.address2.getValue();
                String business1 = this.businessdescription1.getValue();
                String business2 = this.businessdescription2.getValue();
                String companyoverview = this.companyoverview.getValue();
                String URL = this.URL.getValue();
                String contactPerson1 = this.contactPerson1.getValue();
                String position1 = this.position1.getValue();
                String tel1 = this.tel1.getValue();
                String email1 = this.email1.getValue();
                String contactPerson2 = this.contactPerson2.getValue();
                String position2 = this.position2.getValue();
                String tel2 = this.tel2.getValue();
                String email2 = this.email2.getValue();
                String contactPerson3 = this.contactPerson3.getValue();
                String position3 = this.position3.getValue();
                String tel3 = this.tel3.getValue();
                String email3 = this.email3.getValue();
                String contactPerson4 = this.contactPerson4.getValue();
                String position4 = this.position4.getValue();
                String tel4 = this.tel4.getValue();
                String email4 = this.email4.getValue();
                String representative_ = this.businessCardManagement.getBusinessCardManagementElement(w2d109ad3739d4744a1874ac179fc38b9_).getRepresentative();
                String position_ = this.businessCardManagement.getBusinessCardManagementElement(w2d109ad3739d4744a1874ac179fc38b9_).getPosition();
                String establishment_ = this.businessCardManagement.getBusinessCardManagementElement(w2d109ad3739d4744a1874ac179fc38b9_).getEstablishment();
                String address1_ = this.businessCardManagement.getBusinessCardManagementElement(w2d109ad3739d4744a1874ac179fc38b9_).getAddress1();
                String address2_ = this.businessCardManagement.getBusinessCardManagementElement(w2d109ad3739d4744a1874ac179fc38b9_).getAddress2();
                String business1_ = this.businessCardManagement.getBusinessCardManagementElement(w2d109ad3739d4744a1874ac179fc38b9_).getBusinessDescription1();
                String business2_ = this.businessCardManagement.getBusinessCardManagementElement(w2d109ad3739d4744a1874ac179fc38b9_).getBusinessDescription2();
                String companyoverview_ = this.businessCardManagement.getBusinessCardManagementElement(w2d109ad3739d4744a1874ac179fc38b9_).getCompanyOverview();
                String URL_ = this.businessCardManagement.getBusinessCardManagementElement(w2d109ad3739d4744a1874ac179fc38b9_).getURL();
                String contactPerson1_ = "";
                String position1_ = "";
                String tel1_ = "";
                String email1_ = "";
                String contactPerson2_ = "";
                String position2_ = "";
                String tel2_ = "";
                String email2_ = "";
                String contactPerson3_ = "";
                String position3_ = "";
                String tel3_ = "";
                String email3_ = "";
                String contactPerson4_ = "";
                String position4_ = "";
                String tel4_ = "";
                String email4_ = "";
                this.curScreen.updateFromState11(curScreen, wid, this.state, w2d109ad3739d4744a1874ac179fc38b9, w2d109ad3739d4744a1874ac179fc38b9_, company, representative, position, establishment, address1, address2, business1, business2, companyoverview, URL, contactPerson1, position1, tel1, email1, contactPerson2, position2, tel2, email2, contactPerson3, position3, tel3, email3, contactPerson4, position4, tel4, email4, w2d109ad3739d4744a1874ac179fc38b9_, representative_, position_, establishment_, address1_, address2_, business1_, business2_, companyoverview_, URL_, contactPerson1_, position1_, tel1_, email1_, contactPerson2_, position2_, tel2_, email2_, contactPerson3_, position3_, tel3_, email3_, contactPerson4_, position4_, tel4_, email4_);
            }
        }
        if ((curScreen.equals("検索画面")&&wid.equals("w7de33900c55f4379983056aee325c057"))) {      // 「検索項目の入力」ボタン
            this.curScreen.updateFromState10(curScreen, wid, this.state);
        }
		if ((curScreen.equals("検索画面")&&wid.equals("web3d4ea933244ee195c972cec50c9474"))) {      // 「一覧へ戻る」ボタン
			this.curScreen.updateFromState8(curScreen, wid, this.state);
		}
        if ((curScreen.equals("編集画面2")&&wid.equals("w71f9e06eb3654cc2bb57ce3482579e11"))) {     // 「一覧へ戻る」ボタン
            this.curScreen.updateFromState9(curScreen, wid, this.state);
        }
		if ((curScreen.equals("編集画面2")&&wid.equals("w11dd0f050a5044d384b10351b83ad390"))) {     // 「編集」ボタン
            String company = this.company.getValue();
            String representative = this.representative.getValue();
            String position = this.position.getValue();
            String establishment = this.establishment.getValue();
            String address1 = this.address1.getValue();
            String address2 = this.address2.getValue();
            String business1 = this.businessdescription1.getValue();
            String business2 = this.businessdescription2.getValue();
            String companyoverview = this.companyoverview.getValue();
            String URL = this.URL.getValue();
            String contactPerson1 = this.contactPerson1.getValue();
            String position1 = this.position1.getValue();
            String tel1 = this.tel1.getValue();
            String email1 = this.email1.getValue();
            String contactPerson2 = this.contactPerson2.getValue();
            String position2 = this.position2.getValue();
            String tel2 = this.tel2.getValue();
            String email2 = this.email2.getValue();
            String contactPerson3 = this.contactPerson3.getValue();
            String position3 = this.position3.getValue();
            String tel3 = this.tel3.getValue();
            String email3 = this.email3.getValue();
            String contactPerson4 = this.contactPerson4.getValue();
            String position4 = this.position4.getValue();
            String tel4 = this.tel4.getValue();
            String email4 = this.email4.getValue();
            this.widget1 = screen.getWidgets().getWidget(company);
            String company_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(representative);
            String representative_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(position);
            String position_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(establishment);
            String establish_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address1);
            String address1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address2);
            String address2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(business1);
            String business1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(business2);
            String business2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(companyoverview);
            String companydetail_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(URL);
            String URL_ = this.widget1.getText();
            String contactPerson1_ = "";
            String position1_ = "";
            String tel1_ = "";
            String email1_ = "";
            String contactPerson2_ = "";
            String position2_ = "";
            String tel2_ = "";
            String email2_ = "";
            String contactPerson3_ = "";
            String position3_ = "";
            String tel3_ = "";
            String email3_ = "";
            String contactPerson4_ = "";
            String position4_ = "";
            String tel4_ = "";
            String email4_ = "";
//            this.widget1 = screen.getWidgets().getWidget(contactPerson1);
//            String contactPerson1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position1);
//            String position1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel1);
//            String tel1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email1);
//            String email1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson2);
//            String contactPerson2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position2);
//            String position2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel2);
//            String tel2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email2);
//            String email2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson3);
//            String contactPerson3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position3);
//            String position3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel3);
//            String tel3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email3);
//            String email3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson4);
//            String contactPerson4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position4);
//            String position4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel4);
//            String tel4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email4);
//            String email4_ = this.widget1.getText();
			this.businessCardManagement.updateFromState3(curScreen, wid, this.state, company_, representative_, position_, establish_, address1_, address2_, business1_, business2_, companydetail_, URL_, contactPerson1_, position1_, tel1_, email1_, contactPerson2_, position2_, tel2_, email2_, contactPerson3_, position3_, tel3_, email3_, contactPerson4_, position4_, tel4_, email4_);
		}
		if ((curScreen.equals("編集画面2")&&wid.equals("w11dd0f050a5044d384b10351b83ad390"))) {     // 「編集」ボタン
            String company = this.company.getValue();
            String representative = this.representative.getValue();
            String position = this.position.getValue();
            String establishment = this.establishment.getValue();
            String address1 = this.address1.getValue();
            String address2 = this.address2.getValue();
            String business1 = this.businessdescription1.getValue();
            String business2 = this.businessdescription2.getValue();
            String companyoverview = this.companyoverview.getValue();
            String URL = this.URL.getValue();
            String contactPerson1 = this.contactPerson1.getValue();
            String position1 = this.position1.getValue();
            String tel1 = this.tel1.getValue();
            String email1 = this.email1.getValue();
            String contactPerson2 = this.contactPerson2.getValue();
            String position2 = this.position2.getValue();
            String tel2 = this.tel2.getValue();
            String email2 = this.email2.getValue();
            String contactPerson3 = this.contactPerson3.getValue();
            String position3 = this.position3.getValue();
            String tel3 = this.tel3.getValue();
            String email3 = this.email3.getValue();
            String contactPerson4 = this.contactPerson4.getValue();
            String position4 = this.position4.getValue();
            String tel4 = this.tel4.getValue();
            String email4 = this.email4.getValue();
            this.widget1 = screen.getWidgets().getWidget(company);
            String company_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(representative);
            String representative_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(position);
            String position_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(establishment);
            String establish_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address1);
            String address1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address2);
            String address2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(business1);
            String business1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(business2);
            String business2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(companyoverview);
            String companydetail_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(URL);
            String URL_ = this.widget1.getText();
            String contactPerson1_ = "";
            String position1_ = "";
            String tel1_ = "";
            String email1_ = "";
            String contactPerson2_ = "";
            String position2_ = "";
            String tel2_ = "";
            String email2_ = "";
            String contactPerson3_ = "";
            String position3_ = "";
            String tel3_ = "";
            String email3_ = "";
            String contactPerson4_ = "";
            String position4_ = "";
            String tel4_ = "";
            String email4_ = "";
//            this.widget1 = screen.getWidgets().getWidget(contactPerson1);
//            String contactPerson1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position1);
//            String position1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel1);
//            String tel1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email1);
//            String email1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson2);
//            String contactPerson2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position2);
//            String position2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel2);
//            String tel2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email2);
//            String email2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson3);
//            String contactPerson3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position3);
//            String position3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel3);
//            String tel3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email3);
//            String email3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson4);
//            String contactPerson4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position4);
//            String position4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel4);
//            String tel4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email4);
//            String email4_ = this.widget1.getText();
            Map<String, Map<String, Object>> businessCardManagement = this.businessCardManagement.getValue();
			this.curScreen.updateFromState5(curScreen, wid, this.state, company_, representative_, position_, establish_, address1_, address2_, business1_, business2_, companydetail_, URL_, businessCardManagement);
		}
		if ((curScreen.equals("登録画面1")&&wid.equals("wf10ab1752fe44c4d97ffb2ca2afdeba0"))) {     // 「一覧へ戻る」ボタン
			this.curScreen.updateFromState(curScreen, wid, this.state);
		}
		if ((curScreen.equals("登録画面1")&&wid.equals("wf10ab1752fe44c4d97ffb2ca2afdeba0"))) {     // 「一覧へ戻る」ボタン
            String company = this.company.getValue();
            String representative = this.representative.getValue();
            String position = this.position.getValue();
            String establishment = this.establishment.getValue();
            String address1 = this.address1.getValue();
            String address2 = this.address2.getValue();
            String businessdescription1 = this.businessdescription1.getValue();
            String businessdescription2 = this.businessdescription2.getValue();
            String companyoverview = this.companyoverview.getValue();
            String URL = this.URL.getValue();
            String contactPerson1 = this.contactPerson1.getValue();
            String position1 = this.position1.getValue();
            String tel1 = this.tel1.getValue();
            String email1 = this.email1.getValue();
            String contactPerson2 = this.contactPerson2.getValue();
            String position2 = this.position2.getValue();
            String tel2 = this.tel2.getValue();
            String email2 = this.email2.getValue();
            String contactPerson3 = this.contactPerson3.getValue();
            String position3 = this.position3.getValue();
            String tel3 = this.tel3.getValue();
            String email3 = this.email3.getValue();
            String contactPerson4 = this.contactPerson4.getValue();
            String position4 = this.position4.getValue();
            String tel4 = this.tel4.getValue();
            String email4 = this.email4.getValue();
            this.widget1 = screen.getWidgets().getWidget(company);
            String company_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(representative);
            String representative_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(position);
            String position_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(establishment);
            String establishment_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address1);
            String address1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address2);
            String address2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(businessdescription1);
            String businessdescription1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(businessdescription2);
            String businessdescription2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(companyoverview);
            String companyoverview_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(URL);
            String URL_ = this.widget1.getText();
            String contactPerson1_ = "";
            String position1_ = "";
            String tel1_ = "";
            String email1_ = "";
            String contactPerson2_ = "";
            String position2_ = "";
            String tel2_ = "";
            String email2_ = "";
            String contactPerson3_ = "";
            String position3_ = "";
            String tel3_ = "";
            String email3_ = "";
            String contactPerson4_ = "";
            String position4_ = "";
            String tel4_ = "";
            String email4_ = "";
//            this.widget1 = screen.getWidgets().getWidget(contactPerson1);
//            String contactPerson1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position1);
//            String position1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel1);
//            String tel1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email1);
//            String email1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson2);
//            String contactPerson2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position2);
//            String position2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel2);
//            String tel2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email2);
//            String email2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson3);
//            String contactPerson3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position3);
//            String position3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel3);
//            String tel3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email3);
//            String email3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson4);
//            String contactPerson4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position4);
//            String position4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel4);
//            String tel4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email4);
//            String email4_ = this.widget1.getText();
			this.businessCardManagement.updateFromState(curScreen, wid, this.state, company_, representative_, position_, establishment_, address1_, address2_, businessdescription1_, businessdescription2_, companyoverview_, URL_, contactPerson1_, position1_, tel1_, email1_, contactPerson2_, position2_, tel2_, email2_, contactPerson3_, position3_, tel3_, email3_, contactPerson4_, position4_, tel4_, email4_);
		}
		if ((curScreen.equals("登録画面1")&&wid.equals("w7c6cfb14ed4f410aa33a440e6ab2e4bf"))) {     // 「登録」ボタン
            String company = this.company.getValue();
            String representative = this.representative.getValue();
            String position = this.position.getValue();
            String establishment = this.establishment.getValue();
            String address1 = this.address1.getValue();
            String address2 = this.address2.getValue();
            String businessdescription1 = this.businessdescription1.getValue();
            String businessdescription2 = this.businessdescription2.getValue();
            String companyoverview = this.companyoverview.getValue();
            String URL = this.URL.getValue();
            String contactPerson1 = this.contactPerson1.getValue();
            String position1 = this.position1.getValue();
            String tel1 = this.tel1.getValue();
            String email1 = this.email1.getValue();
            String contactPerson2 = this.contactPerson2.getValue();
            String position2 = this.position2.getValue();
            String tel2 = this.tel2.getValue();
            String email2 = this.email2.getValue();
            String contactPerson3 = this.contactPerson3.getValue();
            String position3 = this.position3.getValue();
            String tel3 = this.tel3.getValue();
            String email3 = this.email3.getValue();
            String contactPerson4 = this.contactPerson4.getValue();
            String position4 = this.position4.getValue();
            String tel4 = this.tel4.getValue();
            String email4 = this.email4.getValue();
            this.widget1 = screen.getWidgets().getWidget(company);
            String company_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(representative);
            String representative_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(position);
            String position_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(establishment);
            String establishment_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address1);
            String address1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address2);
            String address2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(businessdescription1);
            String businessdescription1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(businessdescription2);
            String businessdescription2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(companyoverview);
            String companyoverview_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(URL);
            String URL_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(contactPerson1);
            String contactPerson1_ = "";
            String position1_ = "";
            String tel1_ = "";
            String email1_ = "";
            String contactPerson2_ = "";
            String position2_ = "";
            String tel2_ = "";
            String email2_ = "";
            String contactPerson3_ = "";
            String position3_ = "";
            String tel3_ = "";
            String email3_ = "";
            String contactPerson4_ = "";
            String position4_ = "";
            String tel4_ = "";
            String email4_ = "";
//            String contactPerson1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position1);
//            String position1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel1);
//            String tel1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email1);
//            String email1_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson2);
//            String contactPerson2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position2);
//            String position2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel2);
//            String tel2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email2);
//            String email2_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson3);
//            String contactPerson3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position3);
//            String position3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel3);
//            String tel3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email3);
//            String email3_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(contactPerson4);
//            String contactPerson4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(position4);
//            String position4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(tel4);
//            String tel4_ = this.widget1.getText();
//            this.widget1 = screen.getWidgets().getWidget(email4);
//            String email4_ = this.widget1.getText();
			this.businessCardManagement.updateFromState2(curScreen, wid, this.state, company_, representative_, position_, establishment_, address1_, address2_, businessdescription1_, businessdescription2_, companyoverview_, URL_, contactPerson1_, position1_, tel1_, email1_, contactPerson2_, position2_, tel2_, email2_, contactPerson3_, position3_, tel3_, email3_, contactPerson4_, position4_, tel4_, email4_);
		}
		if ((curScreen.equals("登録画面1")&&wid.equals("w7c6cfb14ed4f410aa33a440e6ab2e4bf"))) {     // 「登録」ボタン
            String company = this.company.getValue();
            String representative = this.representative.getValue();
            String position = this.position.getValue();
            String establishment = this.establishment.getValue();
            String address1 = this.address1.getValue();
            String address2 = this.address2.getValue();
            String businessdescription1 = this.businessdescription1.getValue();
            String businessdescription2 = this.businessdescription2.getValue();
            String companyoverview = this.companyoverview.getValue();
            String URL = this.URL.getValue();
            this.widget1 = screen.getWidgets().getWidget(company);
            String company_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(representative);
            String representative_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(position);
            String position_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(establishment);
            String establishment_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address1);
            String address1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address2);
            String address2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(businessdescription1);
            String businessdescription1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(businessdescription2);
            String businessdescription2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(companyoverview);
            String companyoverview_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(URL);
            String URL_ = this.widget1.getText();
            Map<String, Map<String, Object>> businessCardManagement = this.businessCardManagement.getValue();
			this.curScreen.updateFromState6(curScreen, wid, this.state, company_, representative_, position_, establishment_, address1_, address2_, businessdescription1_, businessdescription2_, companyoverview_, URL_, businessCardManagement);
		}
        if ((curScreen.equals("検索項目画面")&&wid.equals("w614b5ee1e161473d8f859fbfb5c8074e"))) {        // 「一覧へ戻る」ボタン
            this.curScreen.updateFromState4(curScreen, wid, this.state);
        }
        if ((curScreen.equals("検索画面結果")&&wid.equals("w0becbeb6b2d54c03a69d63e3facd2eaa"))) {        // 「一覧へ戻る」ボタン
            this.curScreen.updateFromState7(curScreen, wid, this.state);
        }
		if ((curScreen.equals("検索項目画面")&&wid.equals("w725d1e48b8584a70bad1fbdc07ea8280"))) {        // 「検索」ボタン
            String searchCriteriaScreen = this.searchCriteriaScreen.getValue();
            String search1 = this.search1.getValue();
            String search2 = this.search2.getValue();
            String search3 = this.search3.getValue();
            String search5 = this.search5.getValue();
            String search6 = this.search6.getValue();
            String result = this.result.getValue();
            String address1 = this.address1.getValue();
            String address2 = this.address2.getValue();
            String businessdescription1 = this.businessdescription1.getValue();
            String businessdescription2 = this.businessdescription2.getValue();
            String companyoverview = this.companyoverview.getValue();
            this.widget1 = screen.getWidgets().getWidget(searchCriteriaScreen);
            String searchCriteriaScreen_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(search1);
            String search1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(search2);
            String search2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(search3);
            String search3_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(search5);
            String search5_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(search6);
            String search6_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(result);
            String result_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address1);
            String address1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(address2);
            String address2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(businessdescription1);
            String businessdescription1_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(businessdescription2);
            String businessdescription2_ = this.widget1.getText();
            this.widget1 = screen.getWidgets().getWidget(companyoverview);
            String companyoverview_ = this.widget1.getText();
            Map<String, Map<String, Object>> businessCardManagement = this.businessCardManagement.getValue();
			this.widget1.updateDataFromState(curScreen, wid, this.state, searchCriteriaScreen_, search1_, search2_, search3_, search5_, search6_, result_, address1_, address2_, businessdescription1_, businessdescription2_, companyoverview_, businessCardManagement);
		}
	}
	public void setReferences(Screen screen, CurScreen curScreen, SwingPresenter presenter, BusinessCardManagement businessCardManagement, Company company, Representative representative, Position position, Establishment establishment, Address1 address1, Address2 address2, Businessdescription1 businessdescription1, Businessdescription2 businessdescription2, Companyoverview companyoverview, URL URL, ContactPerson1 contactPerson1, Position1 position1, Tel1 tel1, Email1 email1, ContactPerson2 contactPerson2, Position2 position2, Tel2 tel2, Email2 email2, ContactPerson3 contactPerson3, Position3 position3, Tel3 tel3, Email3 email3, ContactPerson4 contactPerson4, Position4 position4, Tel4 tel4, Email4 email4, SearchCriteriaScreen searchCriteriaScreen, Search1 search1, Search2 search2, Search3 search3, Search5 search5, Search6 search6, Result result, W2d109ad3739d4744a1874ac179fc38b9 w2d109ad3739d4744a1874ac179fc38b9, W4ca84254d30c423ab8e449171a5b5123 w4ca84254d30c423ab8e449171a5b5123) {
        this.screen = screen;
        this.curScreen = curScreen;
        this.presenter = presenter;
        this.businessCardManagement = businessCardManagement;
        this.company = company;
        this.representative = representative;
        this.position = position;
        this.establishment = establishment;
        this.address1 = address1;
        this.address2 = address2;
        this.businessdescription1 = businessdescription1;
        this.businessdescription2 = businessdescription2;
        this.companyoverview = companyoverview;
        this.URL = URL;
        this.contactPerson1 = contactPerson1;
        this.position1 = position1;
        this.tel1 = tel1;
        this.email1 = email1;
        this.contactPerson2 = contactPerson2;
        this.position2 = position2;
        this.tel2 = tel2;
        this.email2 = email2;
        this.contactPerson3 = contactPerson3;
        this.position3 = position3;
        this.tel3 = tel3;
        this.email3 = email3;
        this.contactPerson4 = contactPerson4;
        this.position4 = position4;
        this.tel4 = tel4;
        this.email4 = email4;
        this.searchCriteriaScreen = searchCriteriaScreen;
        this.search1 = search1;
        this.search2 = search2;
        this.search3 = search3;
        this.search5 = search5;
        this.search6 = search6;
        this.result = result;
        this.w2d109ad3739d4744a1874ac179fc38b9 = w2d109ad3739d4744a1874ac179fc38b9;
        this.w4ca84254d30c423ab8e449171a5b5123 = w4ca84254d30c423ab8e449171a5b5123;
	}
}