📄 playtextmessage.java
字号:
/**
* PlayTextMessage.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package cn.com.chinatelecom.www.schema.ctcc.audio_call.v2_1.local;
public class PlayTextMessage implements java.io.Serializable {
private org.apache.axis.types.URI address;
private java.lang.String text;
private java.lang.String language;
private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.ChargingInformation charging;
public PlayTextMessage() {
}
public org.apache.axis.types.URI getAddress() {
return address;
}
public void setAddress(org.apache.axis.types.URI address) {
this.address = address;
}
public java.lang.String getText() {
return text;
}
public void setText(java.lang.String text) {
this.text = text;
}
public java.lang.String getLanguage() {
return language;
}
public void setLanguage(java.lang.String language) {
this.language = language;
}
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 PlayTextMessage)) return false;
PlayTextMessage other = (PlayTextMessage) 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.text==null && other.getText()==null) ||
(this.text!=null &&
this.text.equals(other.getText()))) &&
((this.language==null && other.getLanguage()==null) ||
(this.language!=null &&
this.language.equals(other.getLanguage()))) &&
((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 (getAddress() != null) {
_hashCode += getAddress().hashCode();
}
if (getText() != null) {
_hashCode += getText().hashCode();
}
if (getLanguage() != null) {
_hashCode += getLanguage().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(PlayTextMessage.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/audio_call/v2_1/local", "playTextMessage"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("address");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/audio_call/v2_1/local", "address"));
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("text");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/audio_call/v2_1/local", "text"));
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("language");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/audio_call/v2_1/local", "language"));
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("charging");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/audio_call/v2_1/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);
}
/**
* 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 + -