X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjson%2Fbinding%2Fbiojson%2Fv1%2FSequenceGrpPojo.java;h=2a4efe8ed6e48fa30f04c75b6ca042f57783ef35;hb=5969ead0fd401f4435a3435ede9e4e87cf9c1d0b;hp=7c2a8fd91123c0896f876071005c9bb09cee6d9d;hpb=2d11774110564c33e2e1460beab078095af22a29;p=jalview.git
diff --git a/src/jalview/json/binding/biojson/v1/SequenceGrpPojo.java b/src/jalview/json/binding/biojson/v1/SequenceGrpPojo.java
index 7c2a8fd..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;
@@ -8,37 +28,52 @@ public class SequenceGrpPojo
{
@Attributes(
required = false,
- description = "The Colour Scheme applied to the Sequence Group")
+ 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 = 2147483647,
uniqueItems = true,
description = "An array of the unique id's for the sequences belonging to the group")
private ArrayList sequenceRefs = new ArrayList();
@@ -143,5 +178,4 @@ public class SequenceGrpPojo
this.sequenceRefs = sequenceRefs;
}
-
}