X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjson%2Fbinding%2Fbiojson%2Fv1%2FAnnotationPojo.java;h=407ade427beda8fb689f96ca2cc18ac5d42feee7;hb=db4eacee27b836db4126dca551887bfc6652d72a;hp=919f6abcf13e192d814104127b5d7fb83b642460;hpb=c7d9dbc9b92889077b91bcdb052032fe33fb269e;p=jalview.git
diff --git a/src/jalview/json/binding/biojson/v1/AnnotationPojo.java b/src/jalview/json/binding/biojson/v1/AnnotationPojo.java
index 919f6ab..407ade4 100644
--- a/src/jalview/json/binding/biojson/v1/AnnotationPojo.java
+++ b/src/jalview/json/binding/biojson/v1/AnnotationPojo.java
@@ -1,22 +1,48 @@
+/*
+ * 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 com.github.reinert.jjschema.Attributes;
public class AnnotationPojo
{
- @Attributes(required = false, description = "Display character for the given annotation")
+ @Attributes(
+ required = false,
+ description = "Display character for the given annotation")
private String displayCharacter;
- @Attributes(required = false, description = "Description for the annotation")
+ @Attributes(
+ required = false,
+ description = "Description for the annotation")
private String description;
- @Attributes(required = true, enums = {"E", "H", "\u0000", ")", "("}, description = "Determines what is rendered for the secondary structure
- âEâ - indicates Beta Sheet/Strand
- âHâ - indicates alpha helix
- â\\u0000â - indicates blank
For RNA Helix (only shown when working with nucleotide sequences): - â(â - indicates bases pair with columns upstream (to right)
- â(â - indicate region pairs with bases to the left
")
+ @Attributes(
+ required = true,
+ enums = { "E", "H", "\u0000", ")", "(" },
+ description = "Determines what is rendered for the secondary structure - âEâ - indicates Beta Sheet/Strand
- âHâ - indicates alpha helix
- â\\u0000â - indicates blank
For RNA Helix (only shown when working with nucleotide sequences): - â(â - indicates bases pair with columns upstream (to right)
- â(â - indicate region pairs with bases to the left
")
private char secondaryStructure;
@Attributes(required = false, description = "Value of the annotation")
private float value;
-
public String getDisplayCharacter()
{
return displayCharacter;