📄 locationdata.java
字号:
/**
* LocationData.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package cn.com.chinatelecom.www.schema.ctcc.terminal_location.v2_1;
public class LocationData implements java.io.Serializable {
private cn.com.chinatelecom.www.schema.ctcc.terminal_location.v2_1.RetrievalStatus reportStatus;
private cn.com.chinatelecom.www.schema.ctcc.terminal_location.v2_1.LocationInfo currentLocation;
private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ServiceError errorInformation;
public LocationData() {
}
public cn.com.chinatelecom.www.schema.ctcc.terminal_location.v2_1.RetrievalStatus getReportStatus() {
return reportStatus;
}
public void setReportStatus(cn.com.chinatelecom.www.schema.ctcc.terminal_location.v2_1.RetrievalStatus reportStatus) {
this.reportStatus = reportStatus;
}
public cn.com.chinatelecom.www.schema.ctcc.terminal_location.v2_1.LocationInfo getCurrentLocation() {
return currentLocation;
}
public void setCurrentLocation(cn.com.chinatelecom.www.schema.ctcc.terminal_location.v2_1.LocationInfo currentLocation) {
this.currentLocation = currentLocation;
}
public cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ServiceError getErrorInformation() {
return errorInformation;
}
public void setErrorInformation(cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ServiceError errorInformation) {
this.errorInformation = errorInformation;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof LocationData)) return false;
LocationData other = (LocationData) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.reportStatus==null && other.getReportStatus()==null) ||
(this.reportStatus!=null &&
this.reportStatus.equals(other.getReportStatus()))) &&
((this.currentLocation==null && other.getCurrentLocation()==null) ||
(this.currentLocation!=null &&
this.currentLocation.equals(other.getCurrentLocation()))) &&
((this.errorInformation==null && other.getErrorInformation()==null) ||
(this.errorInformation!=null &&
this.errorInformation.equals(other.getErrorInformation())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getReportStatus() != null) {
_hashCode += getReportStatus().hashCode();
}
if (getCurrentLocation() != null) {
_hashCode += getCurrentLocation().hashCode();
}
if (getErrorInformation() != null) {
_hashCode += getErrorInformation().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(LocationData.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/v2_1", "LocationData"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("reportStatus");
elemField.setXmlName(new javax.xml.namespace.QName("", "reportStatus"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/v2_1", "RetrievalStatus"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("currentLocation");
elemField.setXmlName(new javax.xml.namespace.QName("", "currentLocation"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/v2_1", "LocationInfo"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("errorInformation");
elemField.setXmlName(new javax.xml.namespace.QName("", "errorInformation"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1", "ServiceError"));
elemField.setMinOccurs(0);
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 + -