| 1 |
|
package jalview.datamodel; |
| 2 |
|
|
| |
|
| 100% |
Uncovered Elements: 0 (18) |
Complexity: 9 |
Complexity Density: 1 |
|
| 3 |
|
public abstract class AnnotationMapping |
| 4 |
|
{ |
| 5 |
|
|
| 6 |
|
|
| 7 |
|
String label = null; |
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
String annotationDetails = null; |
| 12 |
|
|
| 13 |
|
AlignmentAnnotation alignmentAnnotation = null; |
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
@return |
| 19 |
|
|
| |
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 20 |
14033 |
public boolean hasLabel()... |
| 21 |
|
{ |
| 22 |
14033 |
return label != null && !label.isEmpty(); |
| 23 |
|
} |
| 24 |
|
|
| |
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 25 |
2754 |
public String getLabel()... |
| 26 |
|
{ |
| 27 |
2754 |
return label; |
| 28 |
|
} |
| 29 |
|
|
| |
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 30 |
2074 |
public void setLabel(String label)... |
| 31 |
|
{ |
| 32 |
2074 |
this.label = label; |
| 33 |
|
} |
| 34 |
|
|
| |
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 35 |
673 |
public boolean hasAnnotationDetails()... |
| 36 |
|
{ |
| 37 |
673 |
return annotationDetails != null && !annotationDetails.isEmpty(); |
| 38 |
|
} |
| 39 |
|
|
| |
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 40 |
36 |
public String getAnnotationDetails()... |
| 41 |
|
{ |
| 42 |
36 |
return annotationDetails; |
| 43 |
|
} |
| 44 |
|
|
| |
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 45 |
17 |
public void setAnnotationDetails(String annotationDetails)... |
| 46 |
|
{ |
| 47 |
17 |
this.annotationDetails = annotationDetails; |
| 48 |
|
} |
| 49 |
|
|
| |
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 50 |
705 |
public boolean hasAlignmentAnnotation()... |
| 51 |
|
{ |
| 52 |
705 |
return alignmentAnnotation != null; |
| 53 |
|
} |
| 54 |
|
|
| |
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 55 |
732 |
public AlignmentAnnotation getAlignmentAnnotation()... |
| 56 |
|
{ |
| 57 |
732 |
return alignmentAnnotation; |
| 58 |
|
} |
| 59 |
|
|
| |
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 60 |
40 |
public void setAlignmentAnnotation(AlignmentAnnotation alignmentAnnotation)... |
| 61 |
|
{ |
| 62 |
40 |
this.alignmentAnnotation = alignmentAnnotation; |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
public abstract String getDisplayName(); |
| 66 |
|
|
| 67 |
|
} |