📄 point.java
字号:
/**
* Point.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.esri.solutions.jitk.services.elevation;
public class Point implements java.io.Serializable {
private int srsId;
private double x;
private double y;
public Point() {
}
public Point(
int srsId,
double x,
double y) {
this.srsId = srsId;
this.x = x;
this.y = y;
}
/**
* Gets the srsId value for this Point.
*
* @return srsId
*/
public int getSrsId() {
return srsId;
}
/**
* Sets the srsId value for this Point.
*
* @param srsId
*/
public void setSrsId(int srsId) {
this.srsId = srsId;
}
/**
* Gets the x value for this Point.
*
* @return x
*/
public double getX() {
return x;
}
/**
* Sets the x value for this Point.
*
* @param x
*/
public void setX(double x) {
this.x = x;
}
/**
* Gets the y value for this Point.
*
* @return y
*/
public double getY() {
return y;
}
/**
* Sets the y value for this Point.
*
* @param y
*/
public void setY(double y) {
this.y = y;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Point)) return false;
Point other = (Point) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.srsId == other.getSrsId() &&
this.x == other.getX() &&
this.y == other.getY();
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getSrsId();
_hashCode += new Double(getX()).hashCode();
_hashCode += new Double(getY()).hashCode();
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Point.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://elevation.services.jitk.solutions.esri.com", "Point"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("srsId");
elemField.setXmlName(new javax.xml.namespace.QName("", "srsId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("x");
elemField.setXmlName(new javax.xml.namespace.QName("", "x"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("y");
elemField.setXmlName(new javax.xml.namespace.QName("", "y"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
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 + -