From de57af5ff96e33b09baeb5e77ce29dbc8c7e7fec Mon Sep 17 00:00:00 2001 From: Sasha Sherstnev Date: Mon, 3 Feb 2014 10:26:34 +0000 Subject: [PATCH] Add comments to bean internal data --- datadb/compbio/beans/ProteinBean.java | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) 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; -- 1.7.10.2