+ final int index,
+ final uk.ac.vamsas.objects.core.Map vMap)
+ throws java.lang.IndexOutOfBoundsException {
+ // check bounds for index
+ if (index < 0 || index >= this._mapList.size()) {
+ throw new IndexOutOfBoundsException("setMap: Index value '" + index + "' not in range [0.." + (this._mapList.size() - 1) + "]");
+ }
+
+ this._mapList.set(index, vMap);
+ }
+
+ /**
+ *
+ *
+ * @param vMapArray
+ */
+ public void setMap(
+ final uk.ac.vamsas.objects.core.Map[] vMapArray) {
+ //-- copy array
+ _mapList.clear();
+
+ for (int i = 0; i < vMapArray.length; i++) {
+ this._mapList.add(vMapArray[i]);
+ }
+ }
+
+ /**
+ * Sets the value of '_mapList' by copying the given Vector.
+ * All elements will be checked for type safety.
+ *
+ * @param vMapList the Vector to copy.
+ */
+ public void setMap(
+ final java.util.Vector vMapList) {
+ // copy vector
+ this._mapList.clear();
+
+ this._mapList.addAll(vMapList);
+ }
+
+ /**
+ * Sets the value of '_mapList' by setting it to the given
+ * Vector. No type checking is performed.
+ * @deprecated
+ *
+ * @param mapVector the Vector to set.
+ */
+ public void setMapAsReference(
+ final java.util.Vector mapVector) {
+ this._mapList = mapVector;