2 * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)
3 * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 package jalview.datamodel.xdb.embl;
21 public class Qualifier
32 public String getName()
41 public void setName(String name)
49 public String[] getValues()
58 public void setValues(String[] values)
63 public void addEvidence(String qevidence)
67 evidence = new String[1];
71 String[] temp = new String[evidence.length + 1];
72 System.arraycopy(evidence, 0, temp, 0, evidence.length);
75 evidence[evidence.length - 1] = qevidence;
78 public void addValues(String value)
82 values = new String[1];
86 String[] temp = new String[values.length + 1];
87 System.arraycopy(values, 0, temp, 0, values.length);
90 values[values.length - 1] = value;
94 * @return the evidence
96 public String[] getEvidence()
103 * the evidence to set
105 public void setEvidence(String[] evidence)
107 this.evidence = evidence;