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

📄 poweraction.java

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

package cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1;

public class PowerAction  implements java.io.Serializable {
    private cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.PowerActionValues actionToPerform;
    private org.apache.axis.types.URI presentNumber;
    private org.apache.axis.types.URI[] routingAddressArray;
    private java.lang.Boolean askCallResult;
    private java.lang.Integer callLimit;
    private cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.ResourceAddressValues resourceAddress;
    private boolean suppressCSIServices;

    public PowerAction() {
    }

    public cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.PowerActionValues getActionToPerform() {
        return actionToPerform;
    }

    public void setActionToPerform(cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.PowerActionValues actionToPerform) {
        this.actionToPerform = actionToPerform;
    }

    public org.apache.axis.types.URI getPresentNumber() {
        return presentNumber;
    }

    public void setPresentNumber(org.apache.axis.types.URI presentNumber) {
        this.presentNumber = presentNumber;
    }

    public org.apache.axis.types.URI[] getRoutingAddressArray() {
        return routingAddressArray;
    }

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

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

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

    public java.lang.Boolean getAskCallResult() {
        return askCallResult;
    }

    public void setAskCallResult(java.lang.Boolean askCallResult) {
        this.askCallResult = askCallResult;
    }

    public java.lang.Integer getCallLimit() {
        return callLimit;
    }

    public void setCallLimit(java.lang.Integer callLimit) {
        this.callLimit = callLimit;
    }

    public cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.ResourceAddressValues getResourceAddress() {
        return resourceAddress;
    }

    public void setResourceAddress(cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.ResourceAddressValues resourceAddress) {
        this.resourceAddress = resourceAddress;
    }

    public boolean isSuppressCSIServices() {
        return suppressCSIServices;
    }

    public void setSuppressCSIServices(boolean suppressCSIServices) {
        this.suppressCSIServices = suppressCSIServices;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof PowerAction)) return false;
        PowerAction other = (PowerAction) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.actionToPerform==null && other.getActionToPerform()==null) || 
             (this.actionToPerform!=null &&
              this.actionToPerform.equals(other.getActionToPerform()))) &&
            ((this.presentNumber==null && other.getPresentNumber()==null) || 
             (this.presentNumber!=null &&
              this.presentNumber.equals(other.getPresentNumber()))) &&
            ((this.routingAddressArray==null && other.getRoutingAddressArray()==null) || 
             (this.routingAddressArray!=null &&
              java.util.Arrays.equals(this.routingAddressArray, other.getRoutingAddressArray()))) &&
            ((this.askCallResult==null && other.getAskCallResult()==null) || 
             (this.askCallResult!=null &&
              this.askCallResult.equals(other.getAskCallResult()))) &&
            ((this.callLimit==null && other.getCallLimit()==null) || 
             (this.callLimit!=null &&
              this.callLimit.equals(other.getCallLimit()))) &&
            ((this.resourceAddress==null && other.getResourceAddress()==null) || 
             (this.resourceAddress!=null &&
              this.resourceAddress.equals(other.getResourceAddress()))) &&
            this.suppressCSIServices == other.isSuppressCSIServices();
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getActionToPerform() != null) {
            _hashCode += getActionToPerform().hashCode();
        }
        if (getPresentNumber() != null) {
            _hashCode += getPresentNumber().hashCode();
        }
        if (getRoutingAddressArray() != null) {
            for (int i=0;
                 i<java.lang.reflect.Array.getLength(getRoutingAddressArray());
                 i++) {
                java.lang.Object obj = java.lang.reflect.Array.get(getRoutingAddressArray(), i);
                if (obj != null &&
                    !obj.getClass().isArray()) {
                    _hashCode += obj.hashCode();
                }
            }
        }
        if (getAskCallResult() != null) {
            _hashCode += getAskCallResult().hashCode();
        }
        if (getCallLimit() != null) {
            _hashCode += getCallLimit().hashCode();
        }
        if (getResourceAddress() != null) {
            _hashCode += getResourceAddress().hashCode();
        }
        _hashCode += new Boolean(isSuppressCSIServices()).hashCode();
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/enhanced_call/v2_1", "PowerAction"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("actionToPerform");
        elemField.setXmlName(new javax.xml.namespace.QName("", "actionToPerform"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/enhanced_call/v2_1", "PowerActionValues"));
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("presentNumber");
        elemField.setXmlName(new javax.xml.namespace.QName("", "presentNumber"));
        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("routingAddressArray");
        elemField.setXmlName(new javax.xml.namespace.QName("", "routingAddressArray"));
        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("askCallResult");
        elemField.setXmlName(new javax.xml.namespace.QName("", "askCallResult"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "boolean"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("callLimit");
        elemField.setXmlName(new javax.xml.namespace.QName("", "callLimit"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "int"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("resourceAddress");
        elemField.setXmlName(new javax.xml.namespace.QName("", "resourceAddress"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/enhanced_call/v2_1", "ResourceAddressValues"));
        elemField.setMinOccurs(0);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("suppressCSIServices");
        elemField.setXmlName(new javax.xml.namespace.QName("", "SuppressCSIServices"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
        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 + -