1
2
3
4
5
6
7
8 package net.sf.provisioner.IntrawayWSDL_pkg;
9
10 public class LeasesObj implements java.io.Serializable {
11 private java.lang.String fecha;
12
13 private java.lang.String ip;
14
15 private java.lang.String macaddress;
16
17 private java.lang.String manufacturer;
18
19 public LeasesObj() {
20 }
21
22 public LeasesObj(
23 java.lang.String fecha,
24 java.lang.String ip,
25 java.lang.String macaddress,
26 java.lang.String manufacturer) {
27 this.fecha = fecha;
28 this.ip = ip;
29 this.macaddress = macaddress;
30 this.manufacturer = manufacturer;
31 }
32
33
34
35
36
37
38
39 public java.lang.String getFecha() {
40 return fecha;
41 }
42
43
44
45
46
47
48
49 public void setFecha(java.lang.String fecha) {
50 this.fecha = fecha;
51 }
52
53
54
55
56
57
58
59 public java.lang.String getIp() {
60 return ip;
61 }
62
63
64
65
66
67
68
69 public void setIp(java.lang.String ip) {
70 this.ip = ip;
71 }
72
73
74
75
76
77
78
79 public java.lang.String getMacaddress() {
80 return macaddress;
81 }
82
83
84
85
86
87
88
89 public void setMacaddress(java.lang.String macaddress) {
90 this.macaddress = macaddress;
91 }
92
93
94
95
96
97
98
99 public java.lang.String getManufacturer() {
100 return manufacturer;
101 }
102
103
104
105
106
107
108
109 public void setManufacturer(java.lang.String manufacturer) {
110 this.manufacturer = manufacturer;
111 }
112
113 private java.lang.Object __equalsCalc = null;
114 public synchronized boolean equals(java.lang.Object obj) {
115 if (!(obj instanceof LeasesObj)) return false;
116 LeasesObj other = (LeasesObj) obj;
117 if (obj == null) return false;
118 if (this == obj) return true;
119 if (__equalsCalc != null) {
120 return (__equalsCalc == obj);
121 }
122 __equalsCalc = obj;
123 boolean _equals;
124 _equals = true &&
125 ((this.fecha==null && other.getFecha()==null) ||
126 (this.fecha!=null &&
127 this.fecha.equals(other.getFecha()))) &&
128 ((this.ip==null && other.getIp()==null) ||
129 (this.ip!=null &&
130 this.ip.equals(other.getIp()))) &&
131 ((this.macaddress==null && other.getMacaddress()==null) ||
132 (this.macaddress!=null &&
133 this.macaddress.equals(other.getMacaddress()))) &&
134 ((this.manufacturer==null && other.getManufacturer()==null) ||
135 (this.manufacturer!=null &&
136 this.manufacturer.equals(other.getManufacturer())));
137 __equalsCalc = null;
138 return _equals;
139 }
140
141 private boolean __hashCodeCalc = false;
142 public synchronized int hashCode() {
143 if (__hashCodeCalc) {
144 return 0;
145 }
146 __hashCodeCalc = true;
147 int _hashCode = 1;
148 if (getFecha() != null) {
149 _hashCode += getFecha().hashCode();
150 }
151 if (getIp() != null) {
152 _hashCode += getIp().hashCode();
153 }
154 if (getMacaddress() != null) {
155 _hashCode += getMacaddress().hashCode();
156 }
157 if (getManufacturer() != null) {
158 _hashCode += getManufacturer().hashCode();
159 }
160 __hashCodeCalc = false;
161 return _hashCode;
162 }
163
164
165 private static org.apache.axis.description.TypeDesc typeDesc =
166 new org.apache.axis.description.TypeDesc(LeasesObj.class, true);
167
168 static {
169 typeDesc.setXmlType(new javax.xml.namespace.QName("urn:IntrawayWSDL", "leasesObj"));
170 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
171 elemField.setFieldName("fecha");
172 elemField.setXmlName(new javax.xml.namespace.QName("", "fecha"));
173 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
174 elemField.setNillable(false);
175 typeDesc.addFieldDesc(elemField);
176 elemField = new org.apache.axis.description.ElementDesc();
177 elemField.setFieldName("ip");
178 elemField.setXmlName(new javax.xml.namespace.QName("", "ip"));
179 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
180 elemField.setNillable(false);
181 typeDesc.addFieldDesc(elemField);
182 elemField = new org.apache.axis.description.ElementDesc();
183 elemField.setFieldName("macaddress");
184 elemField.setXmlName(new javax.xml.namespace.QName("", "macaddress"));
185 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
186 elemField.setNillable(false);
187 typeDesc.addFieldDesc(elemField);
188 elemField = new org.apache.axis.description.ElementDesc();
189 elemField.setFieldName("manufacturer");
190 elemField.setXmlName(new javax.xml.namespace.QName("", "manufacturer"));
191 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
192 elemField.setNillable(false);
193 typeDesc.addFieldDesc(elemField);
194 }
195
196
197
198
199 public static org.apache.axis.description.TypeDesc getTypeDesc() {
200 return typeDesc;
201 }
202
203
204
205
206 public static org.apache.axis.encoding.Serializer getSerializer(
207 java.lang.String mechType,
208 java.lang.Class _javaType,
209 javax.xml.namespace.QName _xmlType) {
210 return
211 new org.apache.axis.encoding.ser.BeanSerializer(
212 _javaType, _xmlType, typeDesc);
213 }
214
215
216
217
218 public static org.apache.axis.encoding.Deserializer getDeserializer(
219 java.lang.String mechType,
220 java.lang.Class _javaType,
221 javax.xml.namespace.QName _xmlType) {
222 return
223 new org.apache.axis.encoding.ser.BeanDeserializer(
224 _javaType, _xmlType, typeDesc);
225 }
226
227 }