/** * LON_Network_CfgLnsDatabase.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 LON_Network_CfgLnsDatabase implements java.io.Serializable { /** * */ private static final long serialVersionUID = 1L; private java.lang.String UCPTname; private com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_Path UCPTservicePath; public LON_Network_CfgLnsDatabase() { } public LON_Network_CfgLnsDatabase( java.lang.String UCPTname, com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_Path UCPTservicePath) { this.UCPTname = UCPTname; this.UCPTservicePath = UCPTservicePath; } /** * Gets the UCPTname value for this LON_Network_CfgLnsDatabase. * * @return UCPTname */ public java.lang.String getUCPTname() { return UCPTname; } /** * Sets the UCPTname value for this LON_Network_CfgLnsDatabase. * * @param UCPTname */ public void setUCPTname(java.lang.String UCPTname) { this.UCPTname = UCPTname; } /** * Gets the UCPTservicePath value for this LON_Network_CfgLnsDatabase. * * @return UCPTservicePath */ public com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_Path getUCPTservicePath() { return UCPTservicePath; } /** * Sets the UCPTservicePath value for this LON_Network_CfgLnsDatabase. * * @param UCPTservicePath */ public void setUCPTservicePath(com.echelon.wsdl.web_services_ns.ilon100.v4_0.message.E_Path UCPTservicePath) { this.UCPTservicePath = UCPTservicePath; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof LON_Network_CfgLnsDatabase)) return false; LON_Network_CfgLnsDatabase other = (LON_Network_CfgLnsDatabase) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.UCPTname==null && other.getUCPTname()==null) || (this.UCPTname!=null && this.UCPTname.equals(other.getUCPTname()))) && ((this.UCPTservicePath==null && other.getUCPTservicePath()==null) || (this.UCPTservicePath!=null && this.UCPTservicePath.equals(other.getUCPTservicePath()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getUCPTname() != null) { _hashCode += getUCPTname().hashCode(); } if (getUCPTservicePath() != null) { _hashCode += getUCPTservicePath().hashCode(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(LON_Network_CfgLnsDatabase.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/", ">LON_Network_Cfg>LnsDatabase")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("UCPTname"); elemField.setXmlName(new javax.xml.namespace.QName("http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/", "UCPTname")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("UCPTservicePath"); elemField.setXmlName(new javax.xml.namespace.QName("http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/", "UCPTservicePath")); elemField.setXmlType(new javax.xml.namespace.QName("http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/", "E_Path")); 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); } }