Clover icon

jalviewX

  1. Project Clover database Wed Oct 31 2018 15:13:58 GMT
  2. Package vamsas.objects.simple

File JpredResult.java

 

Coverage histogram

../../../img/srcFileCovDistChart0.png
56% of files have more coverage

Code metrics

14
30
8
1
136
83
15
0.5
3.75
8
1.88

Classes

Class Line # Actions
JpredResult 23 30 15 52
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    /*
2    * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3    * Copyright (C) $$Year-Rel$$ The Jalview Authors
4    *
5    * This file is part of Jalview.
6    *
7    * Jalview is free software: you can redistribute it and/or
8    * modify it under the terms of the GNU General Public License
9    * as published by the Free Software Foundation, either version 3
10    * of the License, or (at your option) any later version.
11    *
12    * Jalview is distributed in the hope that it will be useful, but
13    * WITHOUT ANY WARRANTY; without even the implied warranty
14    * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15    * PURPOSE. See the GNU General Public License for more details.
16    *
17    * You should have received a copy of the GNU General Public License
18    * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
19    * The Jalview Authors are detailed in the 'AUTHORS' file.
20    */
21    package vamsas.objects.simple;
22   
 
23    public class JpredResult extends vamsas.objects.simple.Result implements
24    java.io.Serializable
25    {
26    private java.lang.String aligfile;
27   
28    private java.lang.String predfile;
29   
 
30  0 toggle public JpredResult()
31    {
32    }
33   
 
34  0 toggle public JpredResult(java.lang.String aligfile, java.lang.String predfile)
35    {
36  0 this.aligfile = aligfile;
37  0 this.predfile = predfile;
38    }
39   
40    /**
41    * Gets the aligfile value for this JpredResult.
42    *
43    * @return aligfile
44    */
 
45  0 toggle public java.lang.String getAligfile()
46    {
47  0 return aligfile;
48    }
49   
50    /**
51    * Sets the aligfile value for this JpredResult.
52    *
53    * @param aligfile
54    */
 
55  0 toggle public void setAligfile(java.lang.String aligfile)
56    {
57  0 this.aligfile = aligfile;
58    }
59   
60    /**
61    * Gets the predfile value for this JpredResult.
62    *
63    * @return predfile
64    */
 
65  0 toggle public java.lang.String getPredfile()
66    {
67  0 return predfile;
68    }
69   
70    /**
71    * Sets the predfile value for this JpredResult.
72    *
73    * @param predfile
74    */
 
75  0 toggle public void setPredfile(java.lang.String predfile)
76    {
77  0 this.predfile = predfile;
78    }
79   
80    private java.lang.Object __equalsCalc = null;
81   
 
82  0 toggle @Override
83    public synchronized boolean equals(java.lang.Object obj)
84    {
85  0 if (obj == null)
86    {
87  0 return false;
88    }
89  0 if (!(obj instanceof JpredResult))
90    {
91  0 return false;
92    }
93  0 JpredResult other = (JpredResult) obj;
94  0 if (this == obj)
95    {
96  0 return true;
97    }
98  0 if (__equalsCalc != null)
99    {
100  0 return (__equalsCalc == obj);
101    }
102  0 __equalsCalc = obj;
103  0 boolean _equals;
104  0 _equals = super.equals(obj)
105    && ((this.aligfile == null && other.getAligfile() == null) || (this.aligfile != null && this.aligfile
106    .equals(other.getAligfile())))
107    && ((this.predfile == null && other.getPredfile() == null) || (this.predfile != null && this.predfile
108    .equals(other.getPredfile())));
109  0 __equalsCalc = null;
110  0 return _equals;
111    }
112   
113    private boolean __hashCodeCalc = false;
114   
 
115  0 toggle @Override
116    public synchronized int hashCode()
117    {
118  0 if (__hashCodeCalc)
119    {
120  0 return 0;
121    }
122  0 __hashCodeCalc = true;
123  0 int _hashCode = super.hashCode();
124  0 if (getAligfile() != null)
125    {
126  0 _hashCode += getAligfile().hashCode();
127    }
128  0 if (getPredfile() != null)
129    {
130  0 _hashCode += getPredfile().hashCode();
131    }
132  0 __hashCodeCalc = false;
133  0 return _hashCode;
134    }
135   
136    }