1 | public class CustomerId implements Serializable {↵ | | 1 | public class Item {↵
|
2 | ↵ | | |
|
3 | private String orgName;↵ | | 2 | private String code;↵
|
4 | private String customerName;↵ | | 3 | private Product product;↵
|
| | | 4 | ↵
|
5 | public CustomerId() {↵ | | 5 | ↵
|
6 | super();↵ | | |
|
7 | ↵ | | |
|
8 | }↵ | | 6 | Item() {}↵
|
|
9 | public CustomerId(String orgName, String custName) {↵ | | 7 | public Item(String code, Product p) {↵
|
10 | this.orgName = orgName;↵ | | 8 | this.↵
|
11 | this.customerName = custName↵ | | 9 | code = code;↵
|
12 | ;↵ | | 10 | this.product = p;↵
|
13 | }↵ | | 11 | }↵
|
|
14 | public String getCustomerName() {↵ | | 12 | public String getCode() {↵
|
15 | return customerName;↵ | | 13 | return code;↵
|
16 | }↵ | | 14 | }↵
|
| | | 15 | ↵
|
17 | public void setCustomerName(String customerName) {↵ | | 16 | public void setCode(String code) {↵
|
18 | this.customerName = customerName;↵ | | 17 | this.code = code;↵
|
19 | }↵ | | 18 | }↵
|
| | | 19 | ↵
|
20 | public String getOrgName() {↵ | | 20 | public Product getProduct() {↵
|
21 | return orgName;↵ | | 21 | return product;↵
|
22 | }↵ | | 22 | }↵
|
| | | 23 | ↵
|
23 | public void setOrgName(String orgName) {↵ | | 24 | public void setProduct(Product product) {↵
|
24 | this.orgName = orgName | | 25 | this.product = product
|