diff --git a/src/main/java/ArchitectureTest/Customer.java b/src/main/java/ArchitectureTest/Customer.java index 9fc61dc..b240738 100644 --- a/src/main/java/ArchitectureTest/Customer.java +++ b/src/main/java/ArchitectureTest/Customer.java @@ -4,12 +4,11 @@ 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; + this.address = address; } public URI getCompanyURI() { @@ -20,19 +19,11 @@ 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; + public void setAddress(String address) { + this.address = address; } }