1
2
3
4
5
6
7
8 package it.imolinfo.jbi4corba.jbi.wsdl;
9
10 import java.io.Serializable;
11 import java.util.Properties;
12
13 import javax.wsdl.extensions.ExtensibilityElement;
14 import javax.xml.namespace.QName;
15
16 import org.apache.commons.lang.builder.EqualsBuilder;
17 import org.apache.commons.lang.builder.HashCodeBuilder;
18 import org.apache.commons.lang.builder.ReflectionToStringBuilder;
19
20
21
22
23
24
25 public class Jbi4CorbaAddress implements ExtensibilityElement, Serializable {
26
27
28 private static final long serialVersionUID = 6856599663215008314L;
29
30 private QName elementType;
31
32 private Boolean required;
33
34 private String name;
35
36 private String localizationType;
37
38 private Properties orbProperties;
39
40 private Boolean peristent=false;
41
42
43
44
45 public Jbi4CorbaAddress() {
46
47 }
48
49
50
51
52
53 public QName getElementType() {
54 return elementType;
55 }
56
57
58
59
60
61 public void setElementType(QName elementType) {
62 this.elementType = elementType;
63 }
64
65
66
67
68 public String getName() {
69 return name;
70 }
71
72
73
74
75
76 public void setName(String name) {
77 this.name = name;
78 }
79
80
81
82
83 public Boolean getRequired() {
84 return required;
85 }
86
87
88
89
90
91 public void setRequired(Boolean required) {
92 this.required = required;
93 }
94
95
96
97
98 public String getLocalizationType() {
99 return localizationType;
100 }
101
102
103
104
105
106
107 public void setLocalizationType(String localizationType) {
108 this.localizationType = localizationType;
109 }
110
111
112
113
114 public String toString() {
115 return ReflectionToStringBuilder.toString(this);
116 }
117
118
119
120
121
122
123 public boolean equals(Object obj) {
124 return EqualsBuilder.reflectionEquals(this, obj);
125 }
126
127
128
129
130 public int hashCode() {
131 return HashCodeBuilder.reflectionHashCode(17, 37, this);
132 }
133
134
135
136
137 public Properties getOrbProperties() {
138 return orbProperties;
139 }
140
141
142
143
144
145 public void setOrbProperties(Properties orbProperties) {
146 this.orbProperties = orbProperties;
147 }
148
149 public Boolean isPeristent() {
150 return peristent;
151 }
152
153 public void setPeristent(Boolean peristent) {
154 this.peristent = peristent;
155 }
156 }