blob: 4f456e26d53e368682040fa52ad5a94ef6f904ba [file] [log] [blame]
/**
* TagData.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.intellij.tasks.mantis.model;
public class TagData implements java.io.Serializable {
private java.math.BigInteger id;
private com.intellij.tasks.mantis.model.AccountData user_id;
private java.lang.String name;
private java.lang.String description;
private java.util.Calendar date_created;
private java.util.Calendar date_updated;
public TagData() {
}
public TagData(
java.math.BigInteger id,
com.intellij.tasks.mantis.model.AccountData user_id,
java.lang.String name,
java.lang.String description,
java.util.Calendar date_created,
java.util.Calendar date_updated) {
this.id = id;
this.user_id = user_id;
this.name = name;
this.description = description;
this.date_created = date_created;
this.date_updated = date_updated;
}
/**
* Gets the id value for this TagData.
*
* @return id
*/
public java.math.BigInteger getId() {
return id;
}
/**
* Sets the id value for this TagData.
*
* @param id
*/
public void setId(java.math.BigInteger id) {
this.id = id;
}
/**
* Gets the user_id value for this TagData.
*
* @return user_id
*/
public com.intellij.tasks.mantis.model.AccountData getUser_id() {
return user_id;
}
/**
* Sets the user_id value for this TagData.
*
* @param user_id
*/
public void setUser_id(com.intellij.tasks.mantis.model.AccountData user_id) {
this.user_id = user_id;
}
/**
* Gets the name value for this TagData.
*
* @return name
*/
public java.lang.String getName() {
return name;
}
/**
* Sets the name value for this TagData.
*
* @param name
*/
public void setName(java.lang.String name) {
this.name = name;
}
/**
* Gets the description value for this TagData.
*
* @return description
*/
public java.lang.String getDescription() {
return description;
}
/**
* Sets the description value for this TagData.
*
* @param description
*/
public void setDescription(java.lang.String description) {
this.description = description;
}
/**
* Gets the date_created value for this TagData.
*
* @return date_created
*/
public java.util.Calendar getDate_created() {
return date_created;
}
/**
* Sets the date_created value for this TagData.
*
* @param date_created
*/
public void setDate_created(java.util.Calendar date_created) {
this.date_created = date_created;
}
/**
* Gets the date_updated value for this TagData.
*
* @return date_updated
*/
public java.util.Calendar getDate_updated() {
return date_updated;
}
/**
* Sets the date_updated value for this TagData.
*
* @param date_updated
*/
public void setDate_updated(java.util.Calendar date_updated) {
this.date_updated = date_updated;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof TagData)) return false;
TagData other = (TagData) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.id==null && other.getId()==null) ||
(this.id!=null &&
this.id.equals(other.getId()))) &&
((this.user_id==null && other.getUser_id()==null) ||
(this.user_id!=null &&
this.user_id.equals(other.getUser_id()))) &&
((this.name==null && other.getName()==null) ||
(this.name!=null &&
this.name.equals(other.getName()))) &&
((this.description==null && other.getDescription()==null) ||
(this.description!=null &&
this.description.equals(other.getDescription()))) &&
((this.date_created==null && other.getDate_created()==null) ||
(this.date_created!=null &&
this.date_created.equals(other.getDate_created()))) &&
((this.date_updated==null && other.getDate_updated()==null) ||
(this.date_updated!=null &&
this.date_updated.equals(other.getDate_updated())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getId() != null) {
_hashCode += getId().hashCode();
}
if (getUser_id() != null) {
_hashCode += getUser_id().hashCode();
}
if (getName() != null) {
_hashCode += getName().hashCode();
}
if (getDescription() != null) {
_hashCode += getDescription().hashCode();
}
if (getDate_created() != null) {
_hashCode += getDate_created().hashCode();
}
if (getDate_updated() != null) {
_hashCode += getDate_updated().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(TagData.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://futureware.biz/mantisconnect", "TagData"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("id");
elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("user_id");
elemField.setXmlName(new javax.xml.namespace.QName("", "user_id"));
elemField.setXmlType(new javax.xml.namespace.QName("http://futureware.biz/mantisconnect", "AccountData"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("name");
elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
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("description");
elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
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("date_created");
elemField.setXmlName(new javax.xml.namespace.QName("", "date_created"));
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("date_updated");
elemField.setXmlName(new javax.xml.namespace.QName("", "date_updated"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
elemField.setMinOccurs(0);
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);
}
}