X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=datadb%2Fcompbio%2Fbeans%2FProteinBean.java;fp=datadb%2Fcompbio%2Fbeans%2FProteinBean.java;h=8c7c4466182c9d36cd1425b582955fd55ad28924;hb=de57af5ff96e33b09baeb5e77ce29dbc8c7e7fec;hp=958eab5c0c3d93ebbb43f8f25b6eef77fd532695;hpb=f198bdcda1f34c3529ceef9eb6d44d90a891e900;p=proteocache.git 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;