/** * ExecutionNode.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.borland.sctm.ws.execution.entities; public class ExecutionNode implements java.io.Serializable { private int id; private int kind; private com.borland.sctm.ws.execution.entities.PropertyValue[] propertyValues; public ExecutionNode() { } public ExecutionNode( int id, int kind, com.borland.sctm.ws.execution.entities.PropertyValue[] propertyValues) { this.id = id; this.kind = kind; this.propertyValues = propertyValues; } /** * Gets the id value for this ExecutionNode. * * @return id */ public int getId() { return id; } /** * Sets the id value for this ExecutionNode. * * @param id */ public void setId(int id) { this.id = id; } /** * Gets the kind value for this ExecutionNode. * * @return kind */ public int getKind() { return kind; } /** * Sets the kind value for this ExecutionNode. * * @param kind */ public void setKind(int kind) { this.kind = kind; } /** * Gets the propertyValues value for this ExecutionNode. * * @return propertyValues */ public com.borland.sctm.ws.execution.entities.PropertyValue[] getPropertyValues() { return propertyValues; } /** * Sets the propertyValues value for this ExecutionNode. * * @param propertyValues */ public void setPropertyValues(com.borland.sctm.ws.execution.entities.PropertyValue[] propertyValues) { this.propertyValues = propertyValues; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof ExecutionNode)) return false; ExecutionNode other = (ExecutionNode) 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 == other.getId() && this.kind == other.getKind() && ((this.propertyValues==null && other.getPropertyValues()==null) || (this.propertyValues!=null && java.util.Arrays.equals(this.propertyValues, other.getPropertyValues()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; _hashCode += getId(); _hashCode += getKind(); if (getPropertyValues() != null) { for (int i=0; i<java.lang.reflect.Array.getLength(getPropertyValues()); i++) { java.lang.Object obj = java.lang.reflect.Array.get(getPropertyValues(), 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(ExecutionNode.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://tm.segue.com/webservices/tmexecution", "ExecutionNode")); 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", "int")); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("kind"); elemField.setXmlName(new javax.xml.namespace.QName("", "kind")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("propertyValues"); elemField.setXmlName(new javax.xml.namespace.QName("", "propertyValues")); elemField.setXmlType(new javax.xml.namespace.QName("http://tm.segue.com/webservices/tmexecution", "PropertyValue")); elemField.setNillable(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); } }