1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.synchronoss.cpo.meta.bean;
22
23 public class CpoArgumentBean implements java.io.Serializable {
24
25 private static final long serialVersionUID = 1L;
26
27
28
29
30 private java.lang.String attributeName;
31 private java.lang.String description;
32
33 public CpoArgumentBean() {
34 }
35
36 public String getAttributeName() {
37 return attributeName;
38 }
39
40 public void setAttributeName(String attributeName) {
41 this.attributeName = attributeName;
42 }
43
44 public String getDescription() {
45 return description;
46 }
47
48 public void setDescription(String description) {
49 this.description = description;
50 }
51
52
53
54
55 @Override
56 public boolean equals(Object o) {
57 if (this == o) {
58 return true;
59 }
60 if (o == null || getClass() != o.getClass()) {
61 return false;
62 }
63
64 CpoArgumentBean that = (CpoArgumentBean) o;
65
66 if (getAttributeName() != null ? !getAttributeName().equals(that.getAttributeName()) : that.getAttributeName() != null) {
67 return false;
68 }
69 if (getDescription() != null ? !getDescription().equals(that.getDescription()) : that.getDescription() != null) {
70 return false;
71 }
72
73 return true;
74 }
75
76 @Override
77 public int hashCode() {
78 int result = 0;
79 result = 31 * result + getClass().getName().hashCode();
80 result = 31 * result + (getAttributeName() != null ? getAttributeName().hashCode() : 0);
81 result = 31 * result + (getDescription() != null ? getDescription().hashCode() : 0);
82 return result;
83 }
84
85 @Override
86 public String toString() {
87 StringBuilder str = new StringBuilder();
88 str.append("attributeName = " + getAttributeName() + "\n");
89 str.append("description = " + getDescription() + "\n");
90 return str.toString();
91 }
92 }