From: Sasha Sherstnev Date: Mon, 3 Feb 2014 10:26:34 +0000 (+0000) Subject: Add comments to bean internal data X-Git-Url: http://source.jalview.org/gitweb/?p=proteocache.git;a=commitdiff_plain;h=de57af5ff96e33b09baeb5e77ce29dbc8c7e7fec Add comments to bean internal data --- diff --git a/datadb/compbio/beans/ProteinBean.java b/datadb/compbio/beans/ProteinBean.java index 958eab5..8c7c446 100644 --- a/datadb/compbio/beans/ProteinBean.java +++ b/datadb/compbio/beans/ProteinBean.java @@ -7,14 +7,22 @@ import java.util.Map; import compbio.cassandra.PredictionIndex; +/** + * POJO bean with information on a protein + * + * @author Natasha Sherstneva + * + * @version 1.0 + * @since Jan 2014 + */ public class ProteinBean implements PredictionIndex { - private String sequence; - private String jnetpred; - private List jobid; - private LinkedHashMap predictions; - private List subProt; // protein sequence divided by several parts - // for highlighting the particular part - private int size; + private String sequence; // protein sequence + private String jnetpred; // the main Jpred prediction sequence + private List jobid; // job IDd: all jobs with the protein + private LinkedHashMap predictions; // predictions: Key - prediction ID, Value - prediction sequence + private List subProt; // protein sequence divided in several parts + // for highlighting a particular part + private int size; // a number of predictions for the protein public ProteinBean(String seq, Map pred) { this.sequence = seq;