📄 startgeographicalnotification.java
字号:
/**
* StartGeographicalNotification.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 StartGeographicalNotification implements java.io.Serializable {
private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.SimpleReference reference;
private org.apache.axis.types.URI[] addresses;
private float latitude;
private float longitude;
private float radius;
private float trackingAccuracy;
private cn.com.chinatelecom.www.schema.ctcc.terminal_location.v2_1.EnteringLeavingCriteria criteria;
private boolean checkImmediate;
private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.TimeMetric frequency;
private cn.com.chinatelecom.www.schema.ctcc.common.v2_1.TimeMetric duration;
private java.lang.Integer count;
public StartGeographicalNotification() {
}
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 float getLatitude() {
return latitude;
}
public void setLatitude(float latitude) {
this.latitude = latitude;
}
public float getLongitude() {
return longitude;
}
public void setLongitude(float longitude) {
this.longitude = longitude;
}
public float getRadius() {
return radius;
}
public void setRadius(float radius) {
this.radius = radius;
}
public float getTrackingAccuracy() {
return trackingAccuracy;
}
public void setTrackingAccuracy(float trackingAccuracy) {
this.trackingAccuracy = trackingAccuracy;
}
public cn.com.chinatelecom.www.schema.ctcc.terminal_location.v2_1.EnteringLeavingCriteria getCriteria() {
return criteria;
}
public void setCriteria(cn.com.chinatelecom.www.schema.ctcc.terminal_location.v2_1.EnteringLeavingCriteria criteria) {
this.criteria = criteria;
}
public boolean isCheckImmediate() {
return checkImmediate;
}
public void setCheckImmediate(boolean checkImmediate) {
this.checkImmediate = checkImmediate;
}
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;
}
public java.lang.Integer getCount() {
return count;
}
public void setCount(java.lang.Integer count) {
this.count = count;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof StartGeographicalNotification)) return false;
StartGeographicalNotification other = (StartGeographicalNotification) 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.latitude == other.getLatitude() &&
this.longitude == other.getLongitude() &&
this.radius == other.getRadius() &&
this.trackingAccuracy == other.getTrackingAccuracy() &&
((this.criteria==null && other.getCriteria()==null) ||
(this.criteria!=null &&
this.criteria.equals(other.getCriteria()))) &&
this.checkImmediate == other.isCheckImmediate() &&
((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()))) &&
((this.count==null && other.getCount()==null) ||
(this.count!=null &&
this.count.equals(other.getCount())));
__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 += new Float(getLatitude()).hashCode();
_hashCode += new Float(getLongitude()).hashCode();
_hashCode += new Float(getRadius()).hashCode();
_hashCode += new Float(getTrackingAccuracy()).hashCode();
if (getCriteria() != null) {
_hashCode += getCriteria().hashCode();
}
_hashCode += new Boolean(isCheckImmediate()).hashCode();
if (getFrequency() != null) {
_hashCode += getFrequency().hashCode();
}
if (getDuration() != null) {
_hashCode += getDuration().hashCode();
}
if (getCount() != null) {
_hashCode += getCount().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(StartGeographicalNotification.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "startGeographicalNotification"));
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("latitude");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "latitude"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("longitude");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "longitude"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("radius");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "radius"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("trackingAccuracy");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "trackingAccuracy"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("criteria");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "criteria"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/v2_1", "EnteringLeavingCriteria"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("checkImmediate");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "checkImmediate"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
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);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("count");
elemField.setXmlName(new javax.xml.namespace.QName("http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/notification_manager/v2_2/local", "count"));
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "int"));
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 + -