/** * E_Variant.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.echelon.wsdl.web_services_ns.ilon100.v4_0.message; @SuppressWarnings({"rawtypes","unused"}) public class E_Variant extends com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.Item implements java.io.Serializable { /** * */ private static final long serialVersionUID = 1L; private java.util.Calendar UCPTlastUpdate; private java.lang.String UCPTdescription; private com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_VariantData[] data; public E_Variant() { } public E_Variant( com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_Fault fault, java.lang.String UCPTname, java.lang.String UCPTannotation, java.lang.Short UCPThidden, java.lang.String UCPTaliasName, com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_LonString UCPTitemStatus, java.util.Calendar UCPTlastUpdate, java.lang.String UCPTdescription, com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_VariantData[] data) { super( fault, UCPTname, UCPTannotation, UCPThidden, UCPTaliasName, UCPTitemStatus); this.UCPTlastUpdate = UCPTlastUpdate; this.UCPTdescription = UCPTdescription; this.data = data; } /** * Gets the UCPTlastUpdate value for this E_Variant. * * @return UCPTlastUpdate */ public java.util.Calendar getUCPTlastUpdate() { return UCPTlastUpdate; } /** * Sets the UCPTlastUpdate value for this E_Variant. * * @param UCPTlastUpdate */ public void setUCPTlastUpdate(java.util.Calendar UCPTlastUpdate) { this.UCPTlastUpdate = UCPTlastUpdate; } /** * Gets the UCPTdescription value for this E_Variant. * * @return UCPTdescription */ public java.lang.String getUCPTdescription() { return UCPTdescription; } /** * Sets the UCPTdescription value for this E_Variant. * * @param UCPTdescription */ public void setUCPTdescription(java.lang.String UCPTdescription) { this.UCPTdescription = UCPTdescription; } /** * Gets the data value for this E_Variant. * * @return data */ public com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_VariantData[] getData() { return data; } /** * Sets the data value for this E_Variant. * * @param data */ public void setData(com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_VariantData[] data) { this.data = data; } public com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_VariantData getData(int i) { return this.data[i]; } public void setData(int i, com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_VariantData _value) { this.data[i] = _value; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof E_Variant)) return false; E_Variant other = (E_Variant) 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.UCPTlastUpdate==null && other.getUCPTlastUpdate()==null) || (this.UCPTlastUpdate!=null && this.UCPTlastUpdate.equals(other.getUCPTlastUpdate()))) && ((this.UCPTdescription==null && other.getUCPTdescription()==null) || (this.UCPTdescription!=null && this.UCPTdescription.equals(other.getUCPTdescription()))) && ((this.data==null && other.getData()==null) || (this.data!=null && java.util.Arrays.equals(this.data, other.getData()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = super.hashCode(); if (getUCPTlastUpdate() != null) { _hashCode += getUCPTlastUpdate().hashCode(); } if (getUCPTdescription() != null) { _hashCode += getUCPTdescription().hashCode(); } if (getData() != null) { for (int i=0; i<java.lang.reflect.Array.getLength(getData()); i++) { java.lang.Object obj = java.lang.reflect.Array.get(getData(), i); if (obj != null && !obj.getClass().isArray()) { _hashCode += obj.hashCode(); } } } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(E_Variant.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/", "E_Variant")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("UCPTlastUpdate"); elemField.setXmlName(new javax.xml.namespace.QName("http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/", "UCPTlastUpdate")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("UCPTdescription"); elemField.setXmlName(new javax.xml.namespace.QName("http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/", "UCPTdescription")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("data"); elemField.setXmlName(new javax.xml.namespace.QName("http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/", "Data")); elemField.setXmlType(new javax.xml.namespace.QName("http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/", ">E_Variant>Data")); elemField.setMinOccurs(0); elemField.setNillable(false); elemField.setMaxOccursUnbounded(true); 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); } }