1 | public class Part implements Serializable {↵ | | 1 | public class CustomerId implements Serializable {↵
|
2 | ↵ | | 2 | ↵
|
3 | private String name;↵ | | 3 | private String orgName;↵
|
4 | private String description;↵ | | 4 | private String ↵
|
|
5 | public Part() {↵ | | |
|
6 | }↵ | | |
|
|
7 | public Part(String name) {↵ | | |
|
8 | this.name = name↵ | | 5 | customerName;↵
|
|
| | | 6 | public CustomerId() {↵
|
9 | ;↵ | | 7 | super();↵
|
10 | }↵ | | 8 | }↵
|
|
11 | public Part(String name, String description) {↵ | | 9 | public CustomerId(String orgName, String custName) {↵
|
12 | this.name = name;↵ | | 10 | this.orgName = orgName;↵
|
13 | this.description = description;↵ | | 11 | this.customerName = custName;↵
|
14 | }↵ | | 12 | }↵
|
|
15 | public String getName() {↵ | | 13 | public String getCustomerName() {↵
|
16 | return name;↵ | | 14 | return customerName;↵
|
17 | }↵ | | 15 | }↵
|
|
18 | public String getDescription↵ | | 16 | public void setCustomerName(String customerName) {↵
|
| | | 17 | this.customerName = customerName;↵
|
| | | 18 | }↵
|
|
19 | () {↵ | | 19 | public String getOrgName() {↵
|
20 | return description;↵ | | 20 | return orgName;↵
|
21 | }↵ | | 21 | }↵
|
|
22 | public void setDescription(String description) {↵ | | 22 | public void set↵
|
23 | this.description = description↵ | | 23 | OrgName(String orgName) {↵
|
24 | ;↵ | | 24 | this.orgName = orgName;↵
|
25 | | | 25 |
|