{\r
String[] elements = str.split("_");\r
\r
+ for (int i = 0; i < elements.length; i++)\r
+ {\r
+ if (elements[i].startsWith("vorbaID="))\r
+ vorbaID = elements[i].substring(8);\r
+ else if (elements[i].startsWith("position="))\r
+ position = Integer.parseInt(elements[i].substring(9));\r
+ }\r
}\r
+ \r
+ /**\r
+ * Returns the VAMSAS object ID associated with this message.\r
+ * @return the VAMSAS object ID associated with this message\r
+ */\r
+ public String getVorbaID()\r
+ { return vorbaID; }\r
+ \r
+ /**\r
+ * Returns the position value associated with this message.\r
+ * @return the position value associated with this message\r
+ */\r
+ public int getPosition()\r
+ { return position; }\r
}
\ No newline at end of file