X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fjson%2Fbinding%2Fbiojson%2Fv1%2FSequenceGrpPojo.java;h=2a4efe8ed6e48fa30f04c75b6ca042f57783ef35;hb=5969ead0fd401f4435a3435ede9e4e87cf9c1d0b;hp=63bc426ab3d74157c84e0d159701d31882dc981d;hpb=c7d9dbc9b92889077b91bcdb052032fe33fb269e;p=jalview.git
diff --git a/src/jalview/json/binding/biojson/v1/SequenceGrpPojo.java b/src/jalview/json/binding/biojson/v1/SequenceGrpPojo.java
index 63bc426..2a4efe8 100644
--- a/src/jalview/json/binding/biojson/v1/SequenceGrpPojo.java
+++ b/src/jalview/json/binding/biojson/v1/SequenceGrpPojo.java
@@ -1,3 +1,23 @@
+/*
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ *
+ * This file is part of Jalview.
+ *
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *
+ * Jalview is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview. If not, see .
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ */
package jalview.json.binding.biojson.v1;
import java.util.ArrayList;
@@ -6,37 +26,56 @@ import com.github.reinert.jjschema.Attributes;
public class SequenceGrpPojo
{
- @Attributes(required = true, description = "Serial version identifier for the seqGroup object model")
- private String svid = "1.0";
-
- @Attributes(required = false, description = "The Colour Scheme applied to the Sequence Group")
+ @Attributes(
+ required = false,
+ description = "The Colour Scheme applied to the Sequence Group")
private String colourScheme;
- @Attributes(required = true, description = "The name assigned to the seqGroup")
+ @Attributes(
+ required = true,
+ description = "The name assigned to the seqGroup")
private String groupName;
- @Attributes(required = false, description = "Serial version identifier for the seqGroup object model")
+ @Attributes(
+ required = false,
+ description = "Serial version identifier for the seqGroup object model")
private String description;
- @Attributes(required = false, description = "Determines if the seqGroup border should be visible or not")
+ @Attributes(
+ required = false,
+ description = "Determines if the seqGroup border should be visible or not")
private boolean displayBoxes;
- @Attributes(required = false, description = "Determines if the texts of the group is displayed or not")
+ @Attributes(
+ required = false,
+ description = "Determines if the texts of the group is displayed or not")
private boolean displayText;
- @Attributes(required = false, description = "Determines if the residues text for the group is coloured")
+ @Attributes(
+ required = false,
+ description = "Determines if the residues text for the group is coloured")
private boolean colourText;
- @Attributes(required = false, description = "Boolean value indicating whether residues should only be shown
that are different from current reference or consensus sequence")
+ @Attributes(
+ required = false,
+ description = "Boolean value indicating whether residues should only be shown
that are different from current reference or consensus sequence")
private boolean showNonconserved;
- @Attributes(required = true, description = "The index of the groupâs first residue in the alignment space")
+ @Attributes(
+ required = true,
+ description = "The index of the groupâs first residue in the alignment space")
private int startRes;
- @Attributes(required = true, description = "The index of the groupâs last residue in the alignment space")
+ @Attributes(
+ required = true,
+ description = "The index of the groupâs last residue in the alignment space")
private int endRes;
-
- @Attributes(required = true, minItems = 1, maxItems = 1999999999, uniqueItems=true, description = "An array of the unique id's for the sequences belonging to the group")
+
+ @Attributes(
+ required = true,
+ minItems = 1,
+ uniqueItems = true,
+ description = "An array of the unique id's for the sequences belonging to the group")
private ArrayList sequenceRefs = new ArrayList();
public String getColourScheme()
@@ -139,9 +178,4 @@ public class SequenceGrpPojo
this.sequenceRefs = sequenceRefs;
}
- public String getSvid()
- {
- return svid;
- }
-
}