📄 addressvalue.java
字号:
/**
* AddressValue.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 AddressValue implements java.io.Serializable {
private java.lang.String announceID;
private java.lang.String number;
private cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.NumberTypeValue numberType;
public AddressValue() {
}
public java.lang.String getAnnounceID() {
return announceID;
}
public void setAnnounceID(java.lang.String announceID) {
this.announceID = announceID;
}
public java.lang.String getNumber() {
return number;
}
public void setNumber(java.lang.String number) {
this.number = number;
}
public cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.NumberTypeValue getNumberType() {
return numberType;
}
public void setNumberType(cn.com.chinatelecom.www.schema.ctcc.enhanced_call.v2_1.NumberTypeValue numberType) {
this.numberType = numberType;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AddressValue)) return false;
AddressValue other = (AddressValue) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.announceID==null && other.getAnnounceID()==null) ||
(this.announceID!=null &&
this.announceID.equals(other.getAnnounceID()))) &&
((this.number==null && other.getNumber()==null) ||
(this.number!=null &&
this.number.equals(other.getNumber()))) &&
((this.numberType==null && other.getNumberType()==null) ||
(this.numberType!=null &&
this.numberType.equals(other.getNumberType())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAnnounceID() != null) {
_hashCode += getAnnounceID().hashCode();
}
if (getNumber() != null) {
_hashCode += getNumber().hashCode();
}
if (getNumberType() != null) {
_hashCode += getNumberType().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AddressValue.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/enhanced_call/v2_1", "AddressValue"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("announceID");
elemField.setXmlName(new javax.xml.namespace.QName("", "AnnounceID"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("number");
elemField.setXmlName(new javax.xml.namespace.QName("", "Number"));
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("numberType");
elemField.setXmlName(new javax.xml.namespace.QName("", "NumberType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/enhanced_call/v2_1", "NumberTypeValue"));
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 + -