|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
ReplyAfterType.java | 0% | 16.7% | 0% | 9.8% |
|
1 |
/*
|
|
2 |
* Copyright 1999-2004 The Apache Software Foundation.
|
|
3 |
*
|
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5 |
* you may not use this file except in compliance with the License.
|
|
6 |
* You may obtain a copy of the License at
|
|
7 |
*
|
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9 |
*
|
|
10 |
* Unless required by applicable law or agreed to in writing, software
|
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13 |
* See the License for the specific language governing permissions and
|
|
14 |
* limitations under the License.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
package org.apache.axis.message.addressing;
|
|
19 |
|
|
20 |
/**
|
|
21 |
* Class ReplyAfterType
|
|
22 |
*/
|
|
23 |
public class ReplyAfterType |
|
24 |
implements java.io.Serializable, org.apache.axis.encoding.SimpleType {
|
|
25 |
|
|
26 |
/**
|
|
27 |
* Field _value
|
|
28 |
*/
|
|
29 |
private org.apache.axis.types.NonNegativeInteger _value;
|
|
30 |
|
|
31 |
/**
|
|
32 |
* Constructor ReplyAfterType
|
|
33 |
*/
|
|
34 | 0 |
public ReplyAfterType() {
|
35 |
} |
|
36 |
|
|
37 |
/**
|
|
38 |
* Constructor ReplyAfterType
|
|
39 |
*
|
|
40 |
* @param _value
|
|
41 |
*/
|
|
42 | 0 |
public ReplyAfterType(org.apache.axis.types.NonNegativeInteger _value) {
|
43 | 0 |
this._value = _value;
|
44 |
} |
|
45 |
|
|
46 |
/**
|
|
47 |
* Simple Types must have a String constructor
|
|
48 |
*
|
|
49 |
* @param _value
|
|
50 |
*/
|
|
51 | 0 |
public ReplyAfterType(java.lang.String _value) {
|
52 | 0 |
this._value = new org.apache.axis.types.NonNegativeInteger(_value); |
53 |
} |
|
54 |
|
|
55 |
/**
|
|
56 |
* Simple Types must have a toString for serializing the value
|
|
57 |
*
|
|
58 |
* @return
|
|
59 |
*/
|
|
60 | 0 |
public java.lang.String toString() {
|
61 |
|
|
62 | 0 |
return (_value == null) |
63 |
? null
|
|
64 |
: _value.toString(); |
|
65 |
} |
|
66 |
|
|
67 |
/**
|
|
68 |
* Gets the _value value for this ReplyAfterType.
|
|
69 |
*
|
|
70 |
* @return _value
|
|
71 |
*/
|
|
72 | 0 |
public org.apache.axis.types.NonNegativeInteger get_value() {
|
73 | 0 |
return _value;
|
74 |
} |
|
75 |
|
|
76 |
/**
|
|
77 |
* Sets the _value value for this ReplyAfterType.
|
|
78 |
*
|
|
79 |
* @param _value
|
|
80 |
*/
|
|
81 | 0 |
public void set_value(org.apache.axis.types.NonNegativeInteger _value) { |
82 | 0 |
this._value = _value;
|
83 |
} |
|
84 |
|
|
85 |
/**
|
|
86 |
* Field __equalsCalc
|
|
87 |
*/
|
|
88 |
private java.lang.Object __equalsCalc = null; |
|
89 |
|
|
90 |
/**
|
|
91 |
* Method equals
|
|
92 |
*
|
|
93 |
* @param obj
|
|
94 |
* @return
|
|
95 |
*/
|
|
96 | 0 |
public synchronized boolean equals(java.lang.Object obj) { |
97 |
|
|
98 | 0 |
if (!(obj instanceof ReplyAfterType)) { |
99 | 0 |
return false; |
100 |
} |
|
101 |
|
|
102 | 0 |
ReplyAfterType other = (ReplyAfterType) obj; |
103 |
|
|
104 | 0 |
if (obj == null) { |
105 | 0 |
return false; |
106 |
} |
|
107 |
|
|
108 | 0 |
if (this == obj) { |
109 | 0 |
return true; |
110 |
} |
|
111 |
|
|
112 | 0 |
if (__equalsCalc != null) { |
113 | 0 |
return (__equalsCalc == obj);
|
114 |
} |
|
115 |
|
|
116 | 0 |
__equalsCalc = obj; |
117 |
|
|
118 | 0 |
boolean _equals;
|
119 |
|
|
120 | 0 |
_equals = |
121 |
true
|
|
122 |
&& (((this._value == null) && (other.get_value() == null)) |
|
123 |
|| ((this._value != null) |
|
124 |
&& this._value.equals(other.get_value())));
|
|
125 | 0 |
__equalsCalc = null;
|
126 |
|
|
127 | 0 |
return _equals;
|
128 |
} |
|
129 |
|
|
130 |
/**
|
|
131 |
* Field __hashCodeCalc
|
|
132 |
*/
|
|
133 |
private boolean __hashCodeCalc = false; |
|
134 |
|
|
135 |
/**
|
|
136 |
* Method hashCode
|
|
137 |
*
|
|
138 |
* @return
|
|
139 |
*/
|
|
140 | 0 |
public synchronized int hashCode() { |
141 | 0 |
if (__hashCodeCalc) {
|
142 | 0 |
return 0;
|
143 |
} |
|
144 |
|
|
145 | 0 |
__hashCodeCalc = true;
|
146 |
|
|
147 | 0 |
int _hashCode = 1;
|
148 |
|
|
149 | 0 |
if (get_value() != null) { |
150 | 0 |
_hashCode += get_value().hashCode(); |
151 |
} |
|
152 |
|
|
153 | 0 |
__hashCodeCalc = false;
|
154 |
|
|
155 | 0 |
return _hashCode;
|
156 |
} |
|
157 |
|
|
158 |
// Type metadata
|
|
159 |
/**
|
|
160 |
* Field typeDesc
|
|
161 |
*/
|
|
162 |
private static org.apache.axis.description.TypeDesc typeDesc = |
|
163 |
new org.apache.axis.description.TypeDesc(ReplyAfterType.class, true); |
|
164 |
|
|
165 |
static {
|
|
166 | 1 |
typeDesc.setXmlType(new javax.xml.namespace.QName(Constants.NS_URI_ADDRESSING_DEFAULT, "ReplyAfterType")); |
167 |
|
|
168 | 1 |
org.apache.axis.description.ElementDesc elemField = |
169 |
new org.apache.axis.description.ElementDesc();
|
|
170 |
|
|
171 | 1 |
elemField.setFieldName("_value");
|
172 | 1 |
elemField.setXmlName(new javax.xml.namespace.QName("", "_value")); |
173 | 1 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger")); |
174 | 1 |
typeDesc.addFieldDesc(elemField); |
175 |
} |
|
176 |
|
|
177 |
/**
|
|
178 |
* Return type metadata object
|
|
179 |
*
|
|
180 |
* @return
|
|
181 |
*/
|
|
182 | 0 |
public static org.apache.axis.description.TypeDesc getTypeDesc() { |
183 | 0 |
return typeDesc;
|
184 |
} |
|
185 |
|
|
186 |
/**
|
|
187 |
* Get Custom Serializer
|
|
188 |
*
|
|
189 |
* @param mechType
|
|
190 |
* @param _javaType
|
|
191 |
* @param _xmlType
|
|
192 |
* @return
|
|
193 |
*/
|
|
194 | 0 |
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, |
195 |
javax.xml.namespace.QName _xmlType) { |
|
196 | 0 |
return new org.apache.axis.encoding.ser.SimpleSerializer(_javaType, |
197 |
_xmlType, typeDesc); |
|
198 |
} |
|
199 |
|
|
200 |
/**
|
|
201 |
* Get Custom Deserializer
|
|
202 |
*
|
|
203 |
* @param mechType
|
|
204 |
* @param _javaType
|
|
205 |
* @param _xmlType
|
|
206 |
* @return
|
|
207 |
*/
|
|
208 | 0 |
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, |
209 |
javax.xml.namespace.QName _xmlType) { |
|
210 | 0 |
return new org.apache.axis.encoding.ser.SimpleDeserializer(_javaType, |
211 |
_xmlType, typeDesc); |
|
212 |
} |
|
213 |
} |
|
214 |
|
|