1 | public class Parent {↵ | | 1 | public class ↵
|
2 | private Long id;↵ | | |
|
3 | private String name;↵ | | |
|
4 | private Collection children = new HashSet();↵ | | |
|
5 | Parent↵ | | 2 | MoreCrazyIdFieldNameStuffEntity {↵
|
| | | 3 | private Long moreCrazyIdFieldNameStuffEntity;↵
|
| | | 4 | private HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName; // silly ain't it ;)↵
|
| | | 5 | private String name;↵
|
|
6 | () {↵ | | 6 | public MoreCrazyIdFieldNameStuffEntity() {↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public Parent(String name) {↵ | | 8 | public MoreCrazyIdFieldNameStuffEntity(String name) {↵
|
9 | this.name = name;↵ | | 9 | this.name = name;↵
|
10 | }↵ | | 10 | }↵
|
11 | /**↵ | | |
|
12 | * @return Returns the children.↵ | | |
|
13 | */↵ | | |
|
14 | public Collection getChildren() {↵ | | 11 | public Long get↵
|
15 | return children;↵ | | |
|
16 | }↵ | | |
|
17 | /**↵ | | |
|
18 | * @param children The children to set.↵ | | |
|
19 | */↵ | | |
|
20 | public void setChildren(Collection children) {↵ | | |
|
21 | this.children = children;↵ | | |
|
22 | }↵ | | |
|
23 | /**↵ | | |
|
24 | * @return Returns the id.↵ | | |
|
25 | */↵ | | |
|
26 | public Long getId() {↵ | | |
|
27 | return id;↵ | | |
|
28 | }↵ | | |
|
29 | /**↵ | | |
|
30 | * @param id The id to set.↵ | | |
|
31 | */↵ | | |
|
32 | public void setId(Long id) {↵ | | |
|
33 | this.id = id;↵ | | |
|
34 | }↵ | | |
|
35 | /**↵ | | |
|
36 | * @return Returns the n↵ | | 12 | MoreCrazyIdFieldNameStuffEntity() {↵
|
| | | 13 | return moreCrazyIdFieldNameStuffEntity;↵
|
| | | 14 | }↵
|
|
| | | 15 | public void setMoreCrazyIdFieldNameStuffEntity(Long moreCrazyIdFieldNameStuffEntity) {↵
|
| | | 16 | this.moreCrazyIdFieldNameStuffEntity = moreCrazyIdFieldNameStuffEntity;↵
|
| | | 17 | }↵
|
|
| | | 18 | public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdFieldName() {↵
|
| | | 19 | return heresAnotherCrazyIdFieldName;↵
|
| | | 20 | }↵
|
|
| | | 21 | public void setHeresAnotherCrazyIdFieldName(HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName) {↵
|
37 | ame.↵ | | 22 | this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName;↵
|
38 | */↵ | | 23 | }↵
|
|
39 | public String getName() {↵ | | 24 | public String getName() {↵
|
40 | return name;↵ | | 25 | return name;↵
|
41 | }↵ | | 26 | }↵
|
42 | /**↵ | | |
|
43 | * @param name The name to set.↵ | | |
|
44 | */↵ | | |
|
45 | public void setName(String name) {↵ | | 27 | public void setName(String name) {↵
|
46 | this.name = name | | 28 | this.name = name
|