1 package jalview.json.binding.biojson.v1;
3 import com.github.reinert.jjschema.Attributes;
7 public class SequencePojo
9 @Attributes(required = true, description = "Serial version identifier for the <b>seqs</b> object model")
10 private String svid = "1.0";
15 maxLength = 2147483647,
16 description = "Sequence residue characters. An aligned sequence may contain <br>one of the following gap characters “.”, “-” or “ ”")
19 @Attributes(required = true, description = "Sequence name")
22 @Attributes(required = false, description = "Sequence type", enums = {"DNA", "RNA", "Protein"})
25 @Attributes(required = true, description = "Unique identifier for a given Sequence")
28 @Attributes(required = false, description = "The order/position of a sequence in the alignment space")
31 @Attributes(required = true, description = "The index of the sequence’s first residue in its source database, <br>using a one-based numbering index system")
34 @Attributes(required = true, description = "The index of the sequence’s last residue in its source database, <br>using a one-based numbering index system")
42 public SequencePojo(int start, int end, String id, String name, String seq)
48 public String getSeq()
53 public void setSeq(String seq)
58 public String getName()
64 public void setName(String name)
74 public void setId(String id)
84 public void setStart(int start)
94 public void setEnd(int end)
104 public void setOrder(int order)
109 public String getSvid()
114 public String getType()
119 public void setType(String type)