1 | public static class Id implements Serializable {↵ | | 1 | public class CustomerId implements Serializable {↵
|
2 | ↵ | | 2 | ↵
|
3 | private KeyManyToOneKeyEntity key1;↵ | | 3 | private String orgName;↵
|
4 | private String key2;↵ | | 4 | private String customerName;↵
|
|
5 | public Id(KeyManyToOneKeyEntity key1↵ | | 5 | public CustomerId() {↵
|
| | | 6 | super();↵
|
| | | 7 | }↵
|
|
6 | , String key2) {↵ | | 8 | public CustomerId(String orgName, String custName) {↵
|
7 | this.key1 = key1;↵ | | 9 | this.orgName = orgName;↵
|
8 | this.key2 = key2;↵ | | 10 | this.customerName = custName;↵
|
9 | }↵ | | 11 | }↵
|
|
10 | public KeyManyToOneKeyEntity getKey1() {↵ | | 12 | public String getCustomerName() {↵
|
11 | return key1;↵ | | 13 | return customerName;↵
|
12 | }↵ | | 14 | }↵
|
|
13 | public void setKey1(KeyManyToOneKeyEntity key1) {↵ | | 15 | public void setCustomerName(String customerName) {↵
|
14 | this.key1 = key1;↵ | | 16 | this.customerName = customerName;↵
|
15 | }↵ | | 17 | }↵
|
|
16 | public String getKey2() {↵ | | 18 | public String getOrgName() {↵
|
17 | return key2;↵ | | 19 | return orgName;↵
|
18 | }↵ | | 20 | }↵
|
|
19 | public void setKey2(String key2) {↵ | | 21 | public void setOrgName(String orgName) {↵
|
20 | this.key2 = key2 | | 22 | this.orgName = orgName
|