Clover icon

Coverage Report

  1. Project Clover database Mon Nov 18 2024 09:38:20 GMT
  2. Package jalview.ws.sifts

File MappingOutputPojo.java

 

Coverage histogram

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

Code metrics

4
18
18
1
139
90
20
1.11
1
18
1.11

Classes

Class Line # Actions
MappingOutputPojo 23 18 20
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 jalview.ws.sifts;
22   
 
23    public class MappingOutputPojo
24    {
25    private String seqName;
26   
27    private String seqResidue;
28   
29    private int seqStart;
30   
31    private int seqEnd;
32   
33    private String strName;
34   
35    private String strResidue;
36   
37    private int strStart;
38   
39    private int strEnd;
40   
41    private String type;
42   
43    private static final int MAX_ID_LENGTH = 30;
44   
 
45  0 toggle public String getSeqName()
46    {
47  0 return seqName;
48    }
49   
 
50  0 toggle public void setSeqName(String seqName)
51    {
52  0 this.seqName = (seqName.length() > MAX_ID_LENGTH)
53    ? seqName.substring(0, MAX_ID_LENGTH)
54    : seqName;
55    }
56   
 
57  0 toggle public String getSeqResidue()
58    {
59  0 return seqResidue;
60    }
61   
 
62  0 toggle public void setSeqResidue(String seqResidue)
63    {
64  0 this.seqResidue = seqResidue;
65    }
66   
 
67  0 toggle public int getSeqStart()
68    {
69  0 return seqStart;
70    }
71   
 
72  0 toggle public void setSeqStart(int seqStart)
73    {
74  0 this.seqStart = seqStart;
75    }
76   
 
77  0 toggle public int getSeqEnd()
78    {
79  0 return seqEnd;
80    }
81   
 
82  0 toggle public void setSeqEnd(int seqEnd)
83    {
84  0 this.seqEnd = seqEnd;
85    }
86   
 
87  0 toggle public String getStrName()
88    {
89  0 return strName;
90    }
91   
 
92  0 toggle public void setStrName(String strName)
93    {
94  0 this.strName = (strName.length() > MAX_ID_LENGTH)
95    ? strName.substring(0, MAX_ID_LENGTH)
96    : strName;
97    }
98   
 
99  0 toggle public String getStrResidue()
100    {
101  0 return strResidue;
102    }
103   
 
104  0 toggle public void setStrResidue(String strResidue)
105    {
106  0 this.strResidue = strResidue;
107    }
108   
 
109  0 toggle public int getStrStart()
110    {
111  0 return strStart;
112    }
113   
 
114  0 toggle public void setStrStart(int strStart)
115    {
116  0 this.strStart = strStart;
117    }
118   
 
119  0 toggle public int getStrEnd()
120    {
121  0 return strEnd;
122    }
123   
 
124  0 toggle public void setStrEnd(int strEnd)
125    {
126  0 this.strEnd = strEnd;
127    }
128   
 
129  0 toggle public String getType()
130    {
131  0 return type;
132    }
133   
 
134  0 toggle public void setType(String type)
135    {
136  0 this.type = type;
137    }
138   
139    }