📄 startperiodicnotification.java
字号:
/**
* StartPeriodicNotification.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package cn.com.chinatelecom.www.schema.ctcc.terminal_location.notification_manager.v2_2.local;
public class StartPeriodicNotification implements java.io.Serializable {
private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.SimpleReference reference;
private org.apache.axis.types.URI[] addresses;
private int requestedAccuracy;
private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.TimeMetric frequency;
private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.TimeMetric duration;
public StartPeriodicNotification() {
}
public cn.com.chinatelecom.www.schema.ctcc.common.v2_1.SimpleReference getReference() {
return reference;
}
public void setReference(cn.com.chinatelecom.www.schema.ctcc.common.v2_1.SimpleReference reference) {
this.reference = reference;
}
public org.apache.axis.types.URI[] getAddresses() {
return addresses;
}
public void setAddresses(org.apache.axis.types.URI[] addresses) {
this.addresses = addresses;
}
public org.apache.axis.types.URI getAddresses(int i) {
return addresses[i];
}
public void setAddresses(int i, org.apache.axis.types.URI value) {
this.addresses[i] = value;
}
public int getRequestedAccuracy() {
return requestedAccuracy;
}
public void setRequestedAccuracy(int requestedAccuracy) {
this.requestedAccuracy = requestedAccuracy;
}
public cn.com.chinatelecom.www.schema.ctcc.common.v2_1.TimeMetric getFrequency() {
return frequency;
}
public void setFrequency(cn.com.chinatelecom.www.schema.ctcc.common.v2_1.TimeMetric frequency) {
this.frequency = frequency;
}
public cn.com.chinatelecom.www.schema.ctcc.common.v2_1.TimeMetric getDuration() {
return duration;
}
public void setDuration(cn.com.chinatelecom.www.schema.ctcc.common.v2_1.TimeMetric duration) {
this.duration = duration;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof StartPeriodicNotification)) return false;
StartPeriodicNotification other = (StartPeriodicNotification) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.reference==null && other.getReference()==null) ||
(this.reference!=null &&
this.reference.equals(other.getReference()))) &&
((this.addresses==null && other.getAddresses()==null) ||
(this.addresses!=null &&
java.util.Arrays.equals(this.addresses, other.getAddresses()))) &&
this.requestedAccuracy == other.getRequestedAccuracy() &&
((this.frequency==null && other.getFrequency()==null) ||
(this.frequency!=null &&
this.frequency.equals(other.getFrequency()))) &&
((this.duration==null && other.getDuration()==null) ||
(this.duration!=null &&
this.duration.equals(other.getDuration())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getReference() != null) {
_hashCode += getReference().hashCode();
}
if (getAddresses() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getAddresses());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getAddresses(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
_hashCode += getRequestedAccuracy();
if (getFrequency() != null) {
_hashCode += getFrequency().hashCode();
}
if (getDuration() != null) {
_hashCode += getDuration().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(StartPeriodicNotification.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "startPeriodicNotification"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("reference");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "reference"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1", "SimpleReference"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("addresses");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "addresses"));
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("requestedAccuracy");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "requestedAccuracy"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("frequency");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "frequency"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1", "TimeMetric"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("duration");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "duration"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1", "TimeMetric"));
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 + -