Newer
Older
Architecture / src / main / java / ArchitectureTest / Customer.java
y-ota on 8 Apr 2019 698 bytes PUTを一通り作成
package ArchitectureTest;

import java.net.URI;

public class Customer {
	private URI companyURI;
	private String office;
	private String address;

	Customer(String company, String address) {
		companyURI = URI.create("/companies/" + company);
		this.office = address;
	}

	public URI getCompanyURI() {
		return companyURI;
	}

	public void setCompanyURI(URI companyURI) {
		this.companyURI = companyURI;
	}

	public String getOffice() {
		return office;
	}

	public void setOffice(String address) {
		this.office = address;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String cusAddress) {
		this.address = cusAddress;
	}
}