/** * UnionType.java * * This file was auto-generated from WSDL * by the Apache Axis WSDL2Java emitter. */ package nvo_region; public class UnionType extends nvo_region.RegionType implements java.io.Serializable { private nvo_region.RegionType[] region; public UnionType() { } public nvo_region.RegionType[] getRegion() { return region; } public void setRegion(nvo_region.RegionType[] region) { this.region = region; } public nvo_region.RegionType getRegion(int i) { return region[i]; } public void setRegion(int i, nvo_region.RegionType value) { this.region[i] = value; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof UnionType)) return false; UnionType other = (UnionType) 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.region==null && other.getRegion()==null) || (this.region!=null && java.util.Arrays.equals(this.region, other.getRegion()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = super.hashCode(); if (getRegion() != null) { for (int i=0; i