JAL-1645 source formatting and organise imports
[jalview.git] / src / jalview / json / binding / biojson / v1 / AnnotationPojo.java
1 package jalview.json.binding.biojson.v1;
2
3 import com.github.reinert.jjschema.Attributes;
4
5 public class AnnotationPojo
6 {
7   @Attributes(
8     required = false,
9     description = "Display character for the given annotation")
10   private String displayCharacter;
11
12   @Attributes(
13     required = false,
14     description = "Description for the annotation")
15   private String description;
16
17   @Attributes(
18     required = true,
19     enums = { "E", "H", "\u0000", ")", "(" },
20     description = "Determines what is rendered for the secondary </br>structure <ul><li>’E’ - indicates Beta Sheet/Strand <li>’H’ - indicates alpha helix </li><li> ‘\\u0000’ - indicates blank</li></ul></br>For RNA Helix (only shown when working with</br> nucleotide sequences): <ul><li> ‘(’ - indicates bases pair with columns upstream</br> (to right) </li><li> ’(’ - indicate region pairs with bases to the left</li></ul>")
21   private char secondaryStructure;
22
23   @Attributes(required = false, description = "Value of the annotation")
24   private float value;
25
26   public String getDisplayCharacter()
27   {
28     return displayCharacter;
29   }
30
31   public void setDisplayCharacter(String displayCharacter)
32   {
33     this.displayCharacter = displayCharacter;
34   }
35
36   public String getDescription()
37   {
38     return description;
39   }
40
41   public void setDescription(String description)
42   {
43     this.description = description;
44   }
45
46   public char getSecondaryStructure()
47   {
48     return secondaryStructure;
49   }
50
51   public void setSecondaryStructure(char secondaryStructure)
52   {
53     this.secondaryStructure = secondaryStructure;
54   }
55
56   public float getValue()
57   {
58     return value;
59   }
60
61   public void setValue(float value)
62   {
63     this.value = value;
64   }
65
66 }