Clover icon

Coverage Report

  1. Project Clover database Tue Mar 10 2026 14:58:44 GMT
  2. Package jalview.datamodel

File AnnotationMapping.java

 

Coverage histogram

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

Code metrics

0
9
9
1
67
44
9
1
1
9
1

Classes

Class Line # Actions
AnnotationMapping 3 9 9
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    package jalview.datamodel;
2   
 
3    public abstract class AnnotationMapping
4    {
5   
6   
7    String label = null;
8   
9    // Stores additional details of annotation
10    // like pdb id, chain id
11    String annotationDetails = null;
12   
13    AlignmentAnnotation alignmentAnnotation = null;
14   
15    /**
16    * check if there's a label to show
17    *
18    * @return true if non-empty/null string
19    */
 
20  0 toggle public boolean hasLabel()
21    {
22  0 return label != null && !label.isEmpty();
23    }
24   
 
25  0 toggle public String getLabel()
26    {
27  0 return label;
28    }
29   
 
30  0 toggle public void setLabel(String label)
31    {
32  0 this.label = label;
33    }
34   
 
35  0 toggle public boolean hasAnnotationDetails()
36    {
37  0 return annotationDetails != null && !annotationDetails.isEmpty();
38    }
39   
 
40  0 toggle public String getAnnotationDetails()
41    {
42  0 return annotationDetails;
43    }
44   
 
45  0 toggle public void setAnnotationDetails(String annotationDetails)
46    {
47  0 this.annotationDetails = annotationDetails;
48    }
49   
 
50  0 toggle public boolean hasAlignmentAnnotation()
51    {
52  0 return alignmentAnnotation != null;
53    }
54   
 
55  0 toggle public AlignmentAnnotation getAlignmentAnnotation()
56    {
57  0 return alignmentAnnotation;
58    }
59   
 
60  0 toggle public void setAlignmentAnnotation(AlignmentAnnotation alignmentAnnotation)
61    {
62  0 this.alignmentAnnotation = alignmentAnnotation;
63    }
64   
65    public abstract String getDisplayName();
66   
67    }