2 * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3 * Copyright (C) $$Year-Rel$$ The Jalview Authors
5 * This file is part of Jalview.
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.
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.
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.
21 package jalview.json.binding.biojson.v1;
23 import com.github.reinert.jjschema.Attributes;
25 public class SequencePojo
30 maxLength = 2147483647,
31 description = "Sequence residue characters. An aligned sequence may contain <br>one of the following gap characters “.”, “-” or “ ”")
34 @Attributes(required = true, description = "Sequence name")
37 @Attributes(required = false, description = "Sequence type", enums = {
38 "DNA", "RNA", "Protein" })
43 description = "Unique identifier for a given Sequence")
48 description = "The order/position of a sequence in the alignment space")
53 description = "The index of the sequence’s first residue in its source database, <br>using a one-based numbering index system")
58 description = "The index of the sequence’s last residue in its source database, <br>using a one-based numbering index system")
65 public SequencePojo(int start, int end, String id, String name, String seq)
72 public String getSeq()
77 public void setSeq(String seq)
82 public String getName()
88 public void setName(String name)
98 public void setId(String id)
103 public int getStart()
108 public void setStart(int start)
118 public void setEnd(int end)
123 public int getOrder()
128 public void setOrder(int order)
133 public String getType()
138 public void setType(String type)