JAL-1831 update all maxItems annotation to the max value for a 32-bit signed binary...
[jalview.git] / src / jalview / json / binding / biojson / v1 / AlignmentPojo.java
index 2625b69..dfb60bc 100644 (file)
@@ -14,16 +14,33 @@ public class AlignmentPojo
   @Attributes(required = true, description = "Serial version identifier for <b>BioJSON</b> schema")
   private String svid = "1.0";
 
-  @Attributes(required = true, minItems = 1, maxItems = 1999999999, description = "A sequence group is a bracket of alignment residues spanning <br>across multiple columns and rows. These can be treated as a <br>sub-alignments.")
+  @Attributes(
+    required = true,
+    minItems = 1,
+    maxItems = 2147483647,
+    description = "A sequence group is a bracket of alignment residues spanning <br>across multiple columns and rows. These can be treated as a <br>sub-alignments.")
   private List<SequencePojo> seqs = new ArrayList<SequencePojo>();
 
-  @Attributes(required = false, minItems = 0, maxItems = 1999999999, exclusiveMaximum=true, description = "Alignment annotations stores symbols and graphs usually rendered </br>below the alignment.")
+  @Attributes(
+    required = false,
+    minItems = 0,
+    maxItems = 2147483647,
+    exclusiveMaximum = true,
+    description = "Alignment annotations stores symbols and graphs usually rendered </br>below the alignment.")
   private List<AlignmentAnnotationPojo> alignAnnotation = new ArrayList<AlignmentAnnotationPojo>();
 
-  @Attributes(required = false, minItems = 0, maxItems = 1999999999, description = "A sequence group is a bracket of alignment residues spanning <br>across multiple columns and rows. These can be treated as a <br>sub-alignments.")
+  @Attributes(
+    required = false,
+    minItems = 0,
+    maxItems = 2147483647,
+    description = "A sequence group is a bracket of alignment residues spanning <br>across multiple columns and rows. These can be treated as a <br>sub-alignments.")
   private List<SequenceGrpPojo> seqGroups = new ArrayList<SequenceGrpPojo>();
 
-  @Attributes(required = false, minItems = 0, maxItems = 1999999999, description = "Sequence features are associated with sequences rather than <br>alignments. A sequence feature can span across multiple <br>sequences in an alignment. They indicate features generated <br>by the same analysis process or retrieved from the same database <br>(such as Uniprot features).")
+  @Attributes(
+    required = false,
+    minItems = 0,
+    maxItems = 2147483647,
+    description = "Sequence features are associated with sequences rather than <br>alignments. A sequence feature can span across multiple <br>sequences in an alignment. They indicate features generated <br>by the same analysis process or retrieved from the same database <br>(such as Uniprot features).")
   private List<SequenceFeaturesPojo> seqFeatures = new ArrayList<SequenceFeaturesPojo>();
 
   @Attributes(required = false, enums = { "None", "Custom", "Clustal",
@@ -96,7 +113,7 @@ public class AlignmentPojo
 
   public void setGlobalColorScheme(String globalColorScheme)
   {
-//       this.appSettings.put("globalColorScheme", globalColorScheme);
+    this.appSettings.put("globalColorScheme", globalColorScheme);
   }
 
   public String getColourScheme()