📄 action.java
字号:
/**
* Action.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package cn.com.chinatelecom.www.schema.ctcc.call_notification.v2_1;
public class Action implements java.io.Serializable {
private cn.com.chinatelecom.www.schema.ctcc.call_notification.v2_1.ActionValues actionToPerform;
private org.apache.axis.types.URI routingAddress;
private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ChargingInformation charging;
public Action() {
}
public cn.com.chinatelecom.www.schema.ctcc.call_notification.v2_1.ActionValues getActionToPerform() {
return actionToPerform;
}
public void setActionToPerform(cn.com.chinatelecom.www.schema.ctcc.call_notification.v2_1.ActionValues actionToPerform) {
this.actionToPerform = actionToPerform;
}
public org.apache.axis.types.URI getRoutingAddress() {
return routingAddress;
}
public void setRoutingAddress(org.apache.axis.types.URI routingAddress) {
this.routingAddress = routingAddress;
}
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;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Action)) return false;
Action other = (Action) 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.routingAddress==null && other.getRoutingAddress()==null) ||
(this.routingAddress!=null &&
this.routingAddress.equals(other.getRoutingAddress()))) &&
((this.charging==null && other.getCharging()==null) ||
(this.charging!=null &&
this.charging.equals(other.getCharging())));
__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 (getRoutingAddress() != null) {
_hashCode += getRoutingAddress().hashCode();
}
if (getCharging() != null) {
_hashCode += getCharging().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Action.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/call_notification/v2_1", "Action"));
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/call_notification/v2_1", "ActionValues"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("routingAddress");
elemField.setXmlName(new javax.xml.namespace.QName("", "routingAddress"));
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("charging");
elemField.setXmlName(new javax.xml.namespace.QName("", "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);
}
/**
* 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 + -