5 public class SimpleObject
{
7 private String uuid
= UUID
.randomUUID().toString();
8 private Integer integer
;
9 private OtherObject otherObject
;
10 private OtherObject anotherObject
;
12 public String
getString() {
16 public void setString(String sting
) {
20 public Integer
getInteger() {
24 public void setInteger(Integer integer
) {
25 this.integer
= integer
;
28 public OtherObject
getOtherObject() {
32 public void setOtherObject(OtherObject otherObject
) {
33 this.otherObject
= otherObject
;
36 public OtherObject
getAnotherObject() {
40 public void setAnotherObject(OtherObject anotherObject
) {
41 this.anotherObject
= anotherObject
;
45 public boolean equals(Object obj
) {
46 return string
.equals(((SimpleObject
) obj
).string
);
50 public int hashCode() {
51 return string
.hashCode();
54 public void setUuid(String uuid
) {
58 public String
getUuid() {