/**
* LON_Device_CfgUCPTurlCpFile.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_Device_CfgUCPTurlCpFile implements java.io.Serializable, org.apache.axis.encoding.SimpleType {
/**
*
*/
private static final long serialVersionUID = 1L;
private java.lang.String _value;
private boolean download; // attribute
public LON_Device_CfgUCPTurlCpFile() {
}
// Simple Types must have a String constructor
public LON_Device_CfgUCPTurlCpFile(java.lang.String _value) {
this._value = _value;
}
// Simple Types must have a toString for serializing the value
public java.lang.String toString() {
return _value;
}
/**
* Gets the _value value for this LON_Device_CfgUCPTurlCpFile.
*
* @return _value
*/
public java.lang.String get_value() {
return _value;
}
/**
* Sets the _value value for this LON_Device_CfgUCPTurlCpFile.
*
* @param _value
*/
public void set_value(java.lang.String _value) {
this._value = _value;
}
/**
* Gets the download value for this LON_Device_CfgUCPTurlCpFile.
*
* @return download
*/
public boolean isDownload() {
return download;
}
/**
* Sets the download value for this LON_Device_CfgUCPTurlCpFile.
*
* @param download
*/
public void setDownload(boolean download) {
this.download = download;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof LON_Device_CfgUCPTurlCpFile)) return false;
LON_Device_CfgUCPTurlCpFile other = (LON_Device_CfgUCPTurlCpFile) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this._value==null && other.get_value()==null) ||
(this._value!=null &&
this._value.equals(other.get_value()))) &&
this.download == other.isDownload();
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (get_value() != null) {
_hashCode += get_value().hashCode();
}
_hashCode += (isDownload() ? Boolean.TRUE : Boolean.FALSE).hashCode();
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(LON_Device_CfgUCPTurlCpFile.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/", ">LON_Device_Cfg>UCPTurlCpFile"));
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("download");
attrField.setXmlName(new javax.xml.namespace.QName("", "Download"));
attrField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
typeDesc.addFieldDesc(attrField);
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("_value");
elemField.setXmlName(new javax.xml.namespace.QName("", "_value"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
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.SimpleSerializer(
_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.SimpleDeserializer(
_javaType, _xmlType, typeDesc);
}
}