private static final String MODELPAGE = "PROVIDERPAGE";
+ private static final String PROVIDERCATEGORY = "PROVIDERCATEGORY";
+
/**
* Permanent URI for retrieving the original structure data
*
{
return sf != null && sf.inFile != null && sf.inFile.exists();
}
+
+ public void setProviderCategory(String providerCategory)
+ {
+ setProperty(PROVIDERCATEGORY, providerCategory);
+ }
+
+ public String getProviderCategory()
+ {
+ return (String) getProperty(PROVIDERCATEGORY);
+ }
+
+ public boolean hasProviderCategory()
+ {
+ return _hasProperty(PROVIDERCATEGORY);
+ }
+
}
int typeColumnIndex = restable.getColumn("Provider").getModelIndex();
int humanUrl = restable.getColumn("Page URL").getModelIndex();
int modelformat = restable.getColumn("Model Format").getModelIndex();
+ int idx_mcat = restable.getColumn("Model Category").getModelIndex();
+
final int up_start_idx = restable.getColumn("Uniprot Start")
.getModelIndex();
final int up_end_idx = restable.getColumn("Uniprot End")
.toString();
String modelPage = humanUrl < 1 ? null
: (String) restable.getValueAt(row, humanUrl);
+
+ String modelCategory = idx_mcat < 1 ? null :(String) restable.getValueAt(row,idx_mcat);
+
String strucFormat = restable.getValueAt(row, modelformat).toString();
SequenceI selectedSeq = (SequenceI) restable.getValueAt(row,
{
pdbEntry.setProviderPage(modelPage);
}
+ pdbEntry.setProviderClass(modelCategory);
selectedSeq.getDatasetSequence().addPDBId(pdbEntry);
}
pdbEntriesToView[count++] = pdbEntry;