📄 messagereference.java
字号:
/**
* MessageReference.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
*/
package cn.com.chinatelecom.www.schema.ctcc.multimedia_messaging.v2_2;
public class MessageReference implements java.io.Serializable {
private java.lang.String messageIdentifier;
private java.lang.String messageServiceActivationNumber;
private org.apache.axis.types.URI senderAddress;
private java.lang.String subject;
private cn.com.chinatelecom.www.schema.ctcc.multimedia_messaging.v2_2.MessagePriority priority;
private java.lang.String message;
public MessageReference() {
}
public MessageReference(
java.lang.String messageIdentifier,
java.lang.String messageServiceActivationNumber,
org.apache.axis.types.URI senderAddress,
java.lang.String subject,
cn.com.chinatelecom.www.schema.ctcc.multimedia_messaging.v2_2.MessagePriority priority,
java.lang.String message) {
this.messageIdentifier = messageIdentifier;
this.messageServiceActivationNumber = messageServiceActivationNumber;
this.senderAddress = senderAddress;
this.subject = subject;
this.priority = priority;
this.message = message;
}
/**
* Gets the messageIdentifier value for this MessageReference.
*
* @return messageIdentifier
*/
public java.lang.String getMessageIdentifier() {
return messageIdentifier;
}
/**
* Sets the messageIdentifier value for this MessageReference.
*
* @param messageIdentifier
*/
public void setMessageIdentifier(java.lang.String messageIdentifier) {
this.messageIdentifier = messageIdentifier;
}
/**
* Gets the messageServiceActivationNumber value for this MessageReference.
*
* @return messageServiceActivationNumber
*/
public java.lang.String getMessageServiceActivationNumber() {
return messageServiceActivationNumber;
}
/**
* Sets the messageServiceActivationNumber value for this MessageReference.
*
* @param messageServiceActivationNumber
*/
public void setMessageServiceActivationNumber(java.lang.String messageServiceActivationNumber) {
this.messageServiceActivationNumber = messageServiceActivationNumber;
}
/**
* Gets the senderAddress value for this MessageReference.
*
* @return senderAddress
*/
public org.apache.axis.types.URI getSenderAddress() {
return senderAddress;
}
/**
* Sets the senderAddress value for this MessageReference.
*
* @param senderAddress
*/
public void setSenderAddress(org.apache.axis.types.URI senderAddress) {
this.senderAddress = senderAddress;
}
/**
* Gets the subject value for this MessageReference.
*
* @return subject
*/
public java.lang.String getSubject() {
return subject;
}
/**
* Sets the subject value for this MessageReference.
*
* @param subject
*/
public void setSubject(java.lang.String subject) {
this.subject = subject;
}
/**
* Gets the priority value for this MessageReference.
*
* @return priority
*/
public cn.com.chinatelecom.www.schema.ctcc.multimedia_messaging.v2_2.MessagePriority getPriority() {
return priority;
}
/**
* Sets the priority value for this MessageReference.
*
* @param priority
*/
public void setPriority(cn.com.chinatelecom.www.schema.ctcc.multimedia_messaging.v2_2.MessagePriority priority) {
this.priority = priority;
}
/**
* Gets the message value for this MessageReference.
*
* @return message
*/
public java.lang.String getMessage() {
return message;
}
/**
* Sets the message value for this MessageReference.
*
* @param message
*/
public void setMessage(java.lang.String message) {
this.message = message;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof MessageReference)) return false;
MessageReference other = (MessageReference) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.messageIdentifier==null && other.getMessageIdentifier()==null) ||
(this.messageIdentifier!=null &&
this.messageIdentifier.equals(other.getMessageIdentifier()))) &&
((this.messageServiceActivationNumber==null && other.getMessageServiceActivationNumber()==null) ||
(this.messageServiceActivationNumber!=null &&
this.messageServiceActivationNumber.equals(other.getMessageServiceActivationNumber()))) &&
((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.message==null && other.getMessage()==null) ||
(this.message!=null &&
this.message.equals(other.getMessage())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getMessageIdentifier() != null) {
_hashCode += getMessageIdentifier().hashCode();
}
if (getMessageServiceActivationNumber() != null) {
_hashCode += getMessageServiceActivationNumber().hashCode();
}
if (getSenderAddress() != null) {
_hashCode += getSenderAddress().hashCode();
}
if (getSubject() != null) {
_hashCode += getSubject().hashCode();
}
if (getPriority() != null) {
_hashCode += getPriority().hashCode();
}
if (getMessage() != null) {
_hashCode += getMessage().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(MessageReference.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2", "MessageReference"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("messageIdentifier");
elemField.setXmlName(new javax.xml.namespace.QName("", "messageIdentifier"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("messageServiceActivationNumber");
elemField.setXmlName(new javax.xml.namespace.QName("", "messageServiceActivationNumber"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("senderAddress");
elemField.setXmlName(new javax.xml.namespace.QName("", "senderAddress"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "anyURI"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("subject");
elemField.setXmlName(new javax.xml.namespace.QName("", "subject"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("priority");
elemField.setXmlName(new javax.xml.namespace.QName("", "priority"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2", "MessagePriority"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("message");
elemField.setXmlName(new javax.xml.namespace.QName("", "message"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
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 + -