/** * PolygonType.java * * This file was auto-generated from WSDL * by the Apache Axis WSDL2Java emitter. */ package nvo_region; public class PolygonType extends nvo_region.ShapeType implements java.io.Serializable { private nvo_region.VertexType[] vertex; public PolygonType() { } public nvo_region.VertexType[] getVertex() { return vertex; } public void setVertex(nvo_region.VertexType[] vertex) { this.vertex = vertex; } public nvo_region.VertexType getVertex(int i) { return vertex[i]; } public void setVertex(int i, nvo_region.VertexType value) { this.vertex[i] = value; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof PolygonType)) return false; PolygonType other = (PolygonType) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = super.equals(obj) && ((this.vertex==null && other.getVertex()==null) || (this.vertex!=null && java.util.Arrays.equals(this.vertex, other.getVertex()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = super.hashCode(); if (getVertex() != null) { for (int i=0; i