📄 locationerror.java
字号:
/**
* LocationError.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package cn.com.chinatelecom.www.schema.ctcc.terminal_location.notification.v2_1.local;
public class LocationError implements java.io.Serializable {
private java.lang.String correlator;
private org.apache.axis.types.URI address;
private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ServiceError reason;
public LocationError() {
}
public java.lang.String getCorrelator() {
return correlator;
}
public void setCorrelator(java.lang.String correlator) {
this.correlator = correlator;
}
public org.apache.axis.types.URI getAddress() {
return address;
}
public void setAddress(org.apache.axis.types.URI address) {
this.address = address;
}
public cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ServiceError getReason() {
return reason;
}
public void setReason(cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ServiceError reason) {
this.reason = reason;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof LocationError)) return false;
LocationError other = (LocationError) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.correlator==null && other.getCorrelator()==null) ||
(this.correlator!=null &&
this.correlator.equals(other.getCorrelator()))) &&
((this.address==null && other.getAddress()==null) ||
(this.address!=null &&
this.address.equals(other.getAddress()))) &&
((this.reason==null && other.getReason()==null) ||
(this.reason!=null &&
this.reason.equals(other.getReason())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getCorrelator() != null) {
_hashCode += getCorrelator().hashCode();
}
if (getAddress() != null) {
_hashCode += getAddress().hashCode();
}
if (getReason() != null) {
_hashCode += getReason().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(LocationError.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification/v2_1/local", "locationError"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("correlator");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification/v2_1/local", "correlator"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("address");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification/v2_1/local", "address"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "anyURI"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("reason");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification/v2_1/local", "reason"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1", "ServiceError"));
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -