seqGrpPojo.setShowNonconserved(seqGrp.getShowNonconserved());
for (SequenceI seq : seqGrp.getSequences())
{
- seqGrpPojo.getSeqsHash().add(String.valueOf(seq.hashCode()));
+ seqGrpPojo.getSequenceRefs()
+ .add(String.valueOf(seq.hashCode()));
}
jsonAlignmentPojo.getSeqGroups().add(seqGrpPojo);
}
int startRes = Integer
.valueOf(seqGrpObj.get("startRes").toString());
int endRes = Integer.valueOf(seqGrpObj.get("endRes").toString());
- JSONArray seqsHashArray = (JSONArray) seqGrpObj.get("seqsHash");
+ JSONArray sequenceRefs = (JSONArray) seqGrpObj.get("sequenceRefs");
ArrayList<SequenceI> grpSeqs = new ArrayList<SequenceI>();
- if (seqsHashArray.size() > 0)
+ if (sequenceRefs.size() > 0)
{
- Iterator<String> seqHashIter = seqsHashArray.iterator();
+ Iterator<String> seqHashIter = sequenceRefs.iterator();
while (seqHashIter.hasNext())
{
String seqHash = seqHashIter.next();
private int endRes;
- private ArrayList<String> seqsHash = new ArrayList<String>();
+ private ArrayList<String> sequenceRefs = new ArrayList<String>();
public String getColourScheme()
{
this.endRes = endRes;
}
- public ArrayList<String> getSeqsHash()
+ public ArrayList<String> getSequenceRefs()
{
- return seqsHash;
+ return sequenceRefs;
}
- public void setSeqsHash(ArrayList<String> seqsHash)
+ public void setSequenceRefs(ArrayList<String> sequenceRefs)
{
- this.seqsHash = seqsHash;
+ this.sequenceRefs = sequenceRefs;
}
public String getSvid()