int start;\r
int end;\r
Color color = Color.white;\r
- String pdbId;\r
+ Vector pdbIds;\r
String vamsasId;\r
Vector dbrefs;\r
\r
{\r
if (st.countTokens() == 2)\r
{\r
+\r
shortName = st.nextToken();\r
\r
limits = st.nextToken();\r
setEnd(Integer.valueOf(st.nextToken()).intValue());\r
}\r
}\r
+\r
+ // If we're still in this loop, parsing of start and end was ok\r
+ // Therefore remove it from the sequence name\r
+ name = name.substring(0, name.indexOf("/"));\r
}\r
catch (NumberFormatException ex)\r
{\r
shortName += "/" + limits;\r
}\r
}\r
+\r
}\r
\r
void checkValidRange()\r
*\r
* @param id DOCUMENT ME!\r
*/\r
- public void setPDBId(String id)\r
+ public void setPDBId(Vector id)\r
{\r
- pdbId = id;\r
+ pdbIds = id;\r
}\r
\r
/**\r
*\r
* @return DOCUMENT ME!\r
*/\r
- public String getPDBId()\r
+ public Vector getPDBId()\r
{\r
- return pdbId;\r
+ return pdbIds;\r
}\r
\r
/**\r
*\r
* @param id DOCUMENT ME!\r
*/\r
- public void setPDBId(String id);\r
+ public void setPDBId(Vector ids);\r
\r
/**\r
* DOCUMENT ME!\r
*\r
* @return DOCUMENT ME!\r
*/\r
- public String getPDBId();\r
+ public Vector getPDBId();\r
\r
public String getVamsasId();\r
\r