Formatting
[jalview.git] / src / vamsas / objects / simple / Msfalignment.java
1 /**
2  * Msfalignment.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 Msfalignment
11     implements java.io.Serializable
12 {
13   private java.lang.String msf;
14   private java.lang.String notes;
15
16   public Msfalignment()
17   {
18   }
19
20   public Msfalignment(
21       java.lang.String msf,
22       java.lang.String notes)
23   {
24     this.msf = msf;
25     this.notes = notes;
26   }
27
28   /**
29    * Gets the msf value for this Msfalignment.
30    *
31    * @return msf
32    */
33   public java.lang.String getMsf()
34   {
35     return msf;
36   }
37
38   /**
39    * Sets the msf value for this Msfalignment.
40    *
41    * @param msf
42    */
43   public void setMsf(java.lang.String msf)
44   {
45     this.msf = msf;
46   }
47
48   /**
49    * Gets the notes value for this Msfalignment.
50    *
51    * @return notes
52    */
53   public java.lang.String getNotes()
54   {
55     return notes;
56   }
57
58   /**
59    * Sets the notes value for this Msfalignment.
60    *
61    * @param notes
62    */
63   public void setNotes(java.lang.String notes)
64   {
65     this.notes = notes;
66   }
67
68   private java.lang.Object __equalsCalc = null;
69   public synchronized boolean equals(java.lang.Object obj)
70   {
71     if (! (obj instanceof Msfalignment))
72     {
73       return false;
74     }
75     Msfalignment other = (Msfalignment) obj;
76     if (obj == null)
77     {
78       return false;
79     }
80     if (this == obj)
81     {
82       return true;
83     }
84     if (__equalsCalc != null)
85     {
86       return (__equalsCalc == obj);
87     }
88     __equalsCalc = obj;
89     boolean _equals;
90     _equals = true &&
91         ( (this.msf == null && other.getMsf() == null) ||
92          (this.msf != null &&
93           this.msf.equals(other.getMsf()))) &&
94         ( (this.notes == null && other.getNotes() == null) ||
95          (this.notes != null &&
96           this.notes.equals(other.getNotes())));
97     __equalsCalc = null;
98     return _equals;
99   }
100
101   private boolean __hashCodeCalc = false;
102   public synchronized int hashCode()
103   {
104     if (__hashCodeCalc)
105     {
106       return 0;
107     }
108     __hashCodeCalc = true;
109     int _hashCode = 1;
110     if (getMsf() != null)
111     {
112       _hashCode += getMsf().hashCode();
113     }
114     if (getNotes() != null)
115     {
116       _hashCode += getNotes().hashCode();
117     }
118     __hashCodeCalc = false;
119     return _hashCode;
120   }
121
122 }