📄 deliveryinformation.java
字号:
/**
* DeliveryInformation.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
*/
package cn.com.chinatelecom.www.schema.ctcc.wap_push.v1_0;
public class DeliveryInformation implements java.io.Serializable {
private org.apache.axis.types.URI address;
private cn.com.chinatelecom.www.schema.ctcc.wap_push.v1_0.DeliveryStatus status;
public DeliveryInformation() {
}
public DeliveryInformation(
org.apache.axis.types.URI address,
cn.com.chinatelecom.www.schema.ctcc.wap_push.v1_0.DeliveryStatus status) {
this.address = address;
this.status = status;
}
/**
* Gets the address value for this DeliveryInformation.
*
* @return address
*/
public org.apache.axis.types.URI getAddress() {
return address;
}
/**
* Sets the address value for this DeliveryInformation.
*
* @param address
*/
public void setAddress(org.apache.axis.types.URI address) {
this.address = address;
}
/**
* Gets the status value for this DeliveryInformation.
*
* @return status
*/
public cn.com.chinatelecom.www.schema.ctcc.wap_push.v1_0.DeliveryStatus getStatus() {
return status;
}
/**
* Sets the status value for this DeliveryInformation.
*
* @param status
*/
public void setStatus(cn.com.chinatelecom.www.schema.ctcc.wap_push.v1_0.DeliveryStatus status) {
this.status = status;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof DeliveryInformation)) return false;
DeliveryInformation other = (DeliveryInformation) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.address==null && other.getAddress()==null) ||
(this.address!=null &&
this.address.equals(other.getAddress()))) &&
((this.status==null && other.getStatus()==null) ||
(this.status!=null &&
this.status.equals(other.getStatus())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAddress() != null) {
_hashCode += getAddress().hashCode();
}
if (getStatus() != null) {
_hashCode += getStatus().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(DeliveryInformation.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/wap_push/v1_0", "DeliveryInformation"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("address");
elemField.setXmlName(new javax.xml.namespace.QName("", "address"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "anyURI"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("status");
elemField.setXmlName(new javax.xml.namespace.QName("", "status"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/wap_push/v1_0", "DeliveryStatus"));
elemField.setNillable(false);
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 + -