X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjson%2Fbinding%2Fbiojson%2Fv1%2FSequenceFeaturesPojo.java;h=15f6571c26d5a56b56e310e181c2e27bea155ab2;hb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;hp=64fee65eef1249484ffeb9cf450fea851d569811;hpb=2d11774110564c33e2e1460beab078095af22a29;p=jalview.git
diff --git a/src/jalview/json/binding/biojson/v1/SequenceFeaturesPojo.java b/src/jalview/json/binding/biojson/v1/SequenceFeaturesPojo.java
index 64fee65..15f6571 100644
--- a/src/jalview/json/binding/biojson/v1/SequenceFeaturesPojo.java
+++ b/src/jalview/json/binding/biojson/v1/SequenceFeaturesPojo.java
@@ -1,3 +1,23 @@
+/*
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
+ * Copyright (C) 2015 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.Map;
@@ -7,10 +27,14 @@ import com.github.reinert.jjschema.Attributes;
public class SequenceFeaturesPojo
{
- @Attributes(required = true, description = "Start residue position for the sequence feature")
+ @Attributes(
+ required = true,
+ description = "Start residue position for the sequence feature")
private int xStart;
- @Attributes(required = true, description = "End residue position for the sequence feature")
+ @Attributes(
+ required = true,
+ description = "End residue position for the sequence feature")
private int xEnd;
@Attributes(
@@ -20,7 +44,9 @@ public class SequenceFeaturesPojo
description = "Reference to the sequence in the alignment
(more like a foreign key)")
private String sequenceRef;
- @Attributes(required = true, description = "The name or type of the SequenceFeature")
+ @Attributes(
+ required = true,
+ description = "The name or type of the SequenceFeature")
private String type;
@Attributes(required = false, description = "Score")
@@ -28,8 +54,10 @@ public class SequenceFeaturesPojo
@Attributes(required = false, description = "Description for the feature")
private String description;
-
- @Attributes(required = false, description = "Additional metadata for the feature")
+
+ @Attributes(
+ required = false,
+ description = "Additional metadata for the feature")
private Map otherDetails;
@Attributes(required = false, description = "Fill colour")
@@ -38,7 +66,9 @@ public class SequenceFeaturesPojo
@Attributes(required = true, description = "Feature group")
private String featureGroup;
- @Attributes(required = false, description = "URL links associated to the feature")
+ @Attributes(
+ required = false,
+ description = "URL links associated to the feature")
private Vector links;
public SequenceFeaturesPojo()