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

public class BusinessCardManagementElement {
	private String representative;
    private String position;
    private String establishment;
    private String address1;
	private String address2;
	private String businessDescription2;
	private String businessDescription1;
    private String companyOverview;
    private String URL;
    public BusinessCardManagementElement(String representative, String position, String establishment, String address1, String address2, String businessDescription1, String businessDescription2, String companyOverview, String URL) {
        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;
    }
	public Map<String, Object> getValue() {
		Map temp_nil0 = new HashMap<>();
        temp_nil0.put("代表者",this.getRepresentative());
        temp_nil0.put("役職",this.getPosition());
        temp_nil0.put("設立",this.getEstablishment());
        temp_nil0.put("住所1",this.getAddress1());
		temp_nil0.put("住所2",this.getAddress2());
		temp_nil0.put("事業内容1",this.getBusinessDescription1());
        temp_nil0.put("事業内容2",this.getBusinessDescription2());
		temp_nil0.put("会社概要",this.getCompanyOverview());
		temp_nil0.put("URL",this.getURL());
		return temp_nil0;
	}
	public String getRepresentative() {
		return this.representative;
	}
	public void changeRepresentativeOfBusinessCardManagement(String companyName, String newRepresentative) {
		this.representative = newRepresentative;
	}
    public String getPosition() {
        return this.position;
    }
    public void changePositionOfBusinessCardManagement(String companyName, String newPosition) {
        this.position = newPosition;
    }
    public String getEstablishment() {
        return this.establishment;
    }
    public void changeEstablishmentOfBusinessCardManagement(String companyName, String newEstablishment) {
        this.establishment = newEstablishment;
    }
	public String getAddress1() {
		return this.address1;
	}
	public void changeAddress1OfBusinessCardManagement(String companyName, String newAddress1) {
		this.address1 = newAddress1;
	}
	public String getAddress2() {
		return this.address2;
	}
	public void changeAddress2OfBusinessCardManagement(String companyName, String newAddress2) {
		this.address2 = newAddress2;
	}
    public String getBusinessDescription1() {
        return this.businessDescription1;
    }
    public void changeBusinessDescription1OfBusinessCardManagement(String companyName, String newBusinessDescription1) {
        this.businessDescription1 = newBusinessDescription1;
    }
	public String getBusinessDescription2() {
		return this.businessDescription2;
	}
	public void changeBusinessDescription2OfBusinessCardManagement(String companyName, String newBusinessDescription2) {
		this.businessDescription2 = newBusinessDescription2;
	}
    public String getCompanyOverview() {
        return this.companyOverview;
    }
    public void changeCompanyOverviewOfBusinessCardManagement(String companyName, String newCompanyOverview) {
        this.companyOverview = newCompanyOverview;
    }
    public String getURL() {
        return this.URL;
    }
    public void changeURLOfBusinessCardManagement(String companyName, String newURL) {
        this.URL = newURL;
    }
}