⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sendmessage.java

📁 电信ISAG的服务连接和服务
💻 JAVA
字号:
/**
 * SendMessage.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package cn.com.chinatelecom.www.schema.ctcc.multimedia_messaging.send.v2_2.local;

public class SendMessage  implements java.io.Serializable {
    private org.apache.axis.types.URI[] addresses;
    private java.lang.String senderAddress;
    private java.lang.String subject;
    private cn.com.chinatelecom.www.schema.ctcc.multimedia_messaging.v2_2.MessagePriority priority;
    private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ChargingInformation charging;
    private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.SimpleReference receiptRequest;

    public SendMessage() {
    }

    public org.apache.axis.types.URI[] getAddresses() {
        return addresses;
    }

    public void setAddresses(org.apache.axis.types.URI[] addresses) {
        this.addresses = addresses;
    }

    public org.apache.axis.types.URI getAddresses(int i) {
        return addresses[i];
    }

    public void setAddresses(int i, org.apache.axis.types.URI value) {
        this.addresses[i] = value;
    }

    public java.lang.String getSenderAddress() {
        return senderAddress;
    }

    public void setSenderAddress(java.lang.String senderAddress) {
        this.senderAddress = senderAddress;
    }

    public java.lang.String getSubject() {
        return subject;
    }

    public void setSubject(java.lang.String subject) {
        this.subject = subject;
    }

    public cn.com.chinatelecom.www.schema.ctcc.multimedia_messaging.v2_2.MessagePriority getPriority() {
        return priority;
    }

    public void setPriority(cn.com.chinatelecom.www.schema.ctcc.multimedia_messaging.v2_2.MessagePriority priority) {
        this.priority = priority;
    }

    public cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ChargingInformation getCharging() {
        return charging;
    }

    public void setCharging(cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ChargingInformation charging) {
        this.charging = charging;
    }

    public cn.com.chinatelecom.www.schema.ctcc.common.v2_1.SimpleReference getReceiptRequest() {
        return receiptRequest;
    }

    public void setReceiptRequest(cn.com.chinatelecom.www.schema.ctcc.common.v2_1.SimpleReference receiptRequest) {
        this.receiptRequest = receiptRequest;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof SendMessage)) return false;
        SendMessage other = (SendMessage) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.addresses==null && other.getAddresses()==null) || 
             (this.addresses!=null &&
              java.util.Arrays.equals(this.addresses, other.getAddresses()))) &&
            ((this.senderAddress==null && other.getSenderAddress()==null) || 
             (this.senderAddress!=null &&
              this.senderAddress.equals(other.getSenderAddress()))) &&
            ((this.subject==null && other.getSubject()==null) || 
             (this.subject!=null &&
              this.subject.equals(other.getSubject()))) &&
            ((this.priority==null && other.getPriority()==null) || 
             (this.priority!=null &&
              this.priority.equals(other.getPriority()))) &&
            ((this.charging==null && other.getCharging()==null) || 
             (this.charging!=null &&
              this.charging.equals(other.getCharging()))) &&
            ((this.receiptRequest==null && other.getReceiptRequest()==null) || 
             (this.receiptRequest!=null &&
              this.receiptRequest.equals(other.getReceiptRequest())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getAddresses() != null) {
            for (int i=0;
                 i<java.lang.reflect.Array.getLength(getAddresses());
                 i++) {
                java.lang.Object obj = java.lang.reflect.Array.get(getAddresses(), i);
                if (obj != null &&
                    !obj.getClass().isArray()) {
                    _hashCode += obj.hashCode();
                }
            }
        }
        if (getSenderAddress() != null) {
            _hashCode += getSenderAddress().hashCode();
        }
        if (getSubject() != null) {
            _hashCode += getSubject().hashCode();
        }
        if (getPriority() != null) {
            _hashCode += getPriority().hashCode();
        }
        if (getCharging() != null) {
            _hashCode += getCharging().hashCode();
        }
        if (getReceiptRequest() != null) {
            _hashCode += getReceiptRequest().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(SendMessage.class);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/send/v2_2/local", "sendMessage"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("addresses");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/send/v2_2/local", "addresses"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "anyURI"));
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("senderAddress");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/send/v2_2/local", "senderAddress"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("subject");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/send/v2_2/local", "subject"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("priority");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/send/v2_2/local", "priority"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2", "MessagePriority"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("charging");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/send/v2_2/local", "charging"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1", "ChargingInformation"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("receiptRequest");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/send/v2_2/local", "receiptRequest"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1", "SimpleReference"));
        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 + -