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