Update Customer.java
This commit is contained in:
parent
adfa9cb485
commit
96671227b4
|
@ -5,7 +5,7 @@ public class Customer {
|
||||||
private String name;
|
private String name;
|
||||||
private String customerAddress;
|
private String customerAddress;
|
||||||
|
|
||||||
Customer(){
|
public Customer(){
|
||||||
this.name="";
|
this.name="";
|
||||||
this.customerAddress="";
|
this.customerAddress="";
|
||||||
}
|
}
|
||||||
|
@ -27,14 +27,14 @@ public class Customer {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCustomerAddress() {
|
|
||||||
return this.customerAddress;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getCustomerAddress() {
|
||||||
|
return this.customerAddress;
|
||||||
|
}
|
||||||
|
|
||||||
public void setCustomerAddress(String address) {
|
public void setCustomerAddress(String address) {
|
||||||
this.customerAddress = this.name + "," + address;
|
this.customerAddress = this.name + "," + address;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue