Clover icon

Coverage Report

  1. Project Clover database Mon Nov 18 2024 09:56:54 GMT
  2. Package jalview.datamodel

File AlignmentExportData.java

 

Coverage histogram

../../img/srcFileCovDistChart7.png
29% of files have more coverage

Code metrics

0
9
7
1
68
38
7
0.78
1.29
7
1

Classes

Class Line # Actions
AlignmentExportData 23 9 7
0.62562.5%
 

Contributing tests

This file is covered by 17 tests. .

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.datamodel;
22   
 
23    public class AlignmentExportData
24    {
25    private AlignmentI alignment;
26   
27    private String[] omitHidden;
28   
29    private int[] startEnd;
30   
 
31  121 toggle public AlignmentExportData(AlignmentI align, String[] ommit,
32    int[] startEnd)
33    {
34  121 this.alignment = align;
35  121 this.omitHidden = ommit;
36  121 this.startEnd = startEnd;
37    }
38   
 
39  121 toggle public AlignmentI getAlignment()
40    {
41  121 return alignment;
42    }
43   
 
44  0 toggle public void setAlignment(AlignmentI alignment)
45    {
46  0 this.alignment = alignment;
47    }
48   
 
49  121 toggle public String[] getOmitHidden()
50    {
51  121 return omitHidden;
52    }
53   
 
54  0 toggle public void setOmitHidden(String[] omitHidden)
55    {
56  0 this.omitHidden = omitHidden;
57    }
58   
 
59  121 toggle public int[] getStartEndPostions()
60    {
61  121 return startEnd;
62    }
63   
 
64  0 toggle public void setStartEndPostions(int[] startEnd)
65    {
66  0 this.startEnd = startEnd;
67    }
68    }