1 | public class HeresAnotherCrazyIdFieldName {↵ | | 1 | public class Entity {
↵
|
2 | private Long heresAnotherCrazyIdFieldName;↵ | | 2 | private Long id;
↵
|
3 | private String name;↵ | | 3 | private String name;↵
|
|
| | | 4 |
↵
|
4 | public HeresAnotherCrazyIdFieldName() {↵ | | 5 | public Entity() {
↵
|
5 | }↵ | | 6 | }↵
|
|
| | | 7 |
↵
|
6 | public HeresAnotherCrazyIdFieldName(String name) {↵ | | 8 | public Entity(String name) {
↵
|
7 | this.name = name;↵ | | 9 | this.name = name;
↵
|
8 | }↵ | | 10 | }↵
|
|
| | | 11 |
↵
|
9 | public Long getHeresAnotherCrazyIdFieldName() {↵ | | 12 | public Long getId() {
↵
|
10 | return heresAnotherCrazyIdFieldName;↵ | | 13 | return ↵
|
11 | }↵ | | |
|
|
12 | public void setHeresAnotherCrazyIdFieldName(Long heresAnotherCrazyIdFieldName↵ | | 14 | id;↵
|
| | | 15 | }↵
|
|
13 | ) {↵ | | 16 | public void setId(Long id) {
↵
|
14 | this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName;↵ | | 17 | this.↵
|
15 | }↵ | | |
|
| | | 18 | id = id;↵
|
| | | 19 | }↵
|
| | | 20 |
↵
|
16 | public String getName() {↵ | | 21 | public String getName() {
↵
|
17 | return name;↵ | | 22 | return name;
↵
|
18 | }↵ | | 23 | }↵
|
|
| | | 24 |
↵
|
19 | public void setName(String name) {↵ | | 25 | public void setName(String name) {
↵
|
20 | this.name = name;↵ | | 26 | this.name = name;
↵
|
21 | | | 27 |
|