Formatting
[jalview.git] / src / vamsas / objects / simple / Secstructpred.java
1 /**
2  * Secstructpred.java
3  *
4  * This file was auto-generated from WSDL
5  * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
6  */
7
8 package vamsas.objects.simple;
9
10 public class Secstructpred
11     implements java.io.Serializable
12 {
13   private java.lang.String output;
14
15   public Secstructpred()
16   {
17   }
18
19   public Secstructpred(
20       java.lang.String output)
21   {
22     this.output = output;
23   }
24
25   /**
26    * Gets the output value for this Secstructpred.
27    *
28    * @return output
29    */
30   public java.lang.String getOutput()
31   {
32     return output;
33   }
34
35   /**
36    * Sets the output value for this Secstructpred.
37    *
38    * @param output
39    */
40   public void setOutput(java.lang.String output)
41   {
42     this.output = output;
43   }
44
45   private java.lang.Object __equalsCalc = null;
46   public synchronized boolean equals(java.lang.Object obj)
47   {
48     if (! (obj instanceof Secstructpred))
49     {
50       return false;
51     }
52     Secstructpred other = (Secstructpred) obj;
53     if (obj == null)
54     {
55       return false;
56     }
57     if (this == obj)
58     {
59       return true;
60     }
61     if (__equalsCalc != null)
62     {
63       return (__equalsCalc == obj);
64     }
65     __equalsCalc = obj;
66     boolean _equals;
67     _equals = true &&
68         ( (this.output == null && other.getOutput() == null) ||
69          (this.output != null &&
70           this.output.equals(other.getOutput())));
71     __equalsCalc = null;
72     return _equals;
73   }
74
75   private boolean __hashCodeCalc = false;
76   public synchronized int hashCode()
77   {
78     if (__hashCodeCalc)
79     {
80       return 0;
81     }
82     __hashCodeCalc = true;
83     int _hashCode = 1;
84     if (getOutput() != null)
85     {
86       _hashCode += getOutput().hashCode();
87     }
88     __hashCodeCalc = false;
89     return _hashCode;
90   }
91
92 }