+ * Method removeAllInstance
+ *
+ */
+ public void removeAllInstance()
+ {
+ _instanceList.removeAllElements();
+ } //-- void removeAllInstance()
+
+ /**
+ * Method removeAllUser
+ *
+ */
+ public void removeAllUser()
+ {
+ _userList.removeAllElements();
+ } //-- void removeAllUser()
+
+ /**
+ * Method removeInstance
+ *
+ *
+ *
+ * @param index
+ * @return Instance
+ */
+ public org.vamsas.objects.core.Instance removeInstance(int index)
+ {
+ java.lang.Object obj = _instanceList.elementAt(index);
+ _instanceList.removeElementAt(index);
+ return (org.vamsas.objects.core.Instance) obj;
+ } //-- org.vamsas.objects.core.Instance removeInstance(int)
+
+ /**
+ * Method removeUser
+ *
+ *
+ *
+ * @param index
+ * @return User
+ */
+ public org.vamsas.objects.core.User removeUser(int index)
+ {
+ java.lang.Object obj = _userList.elementAt(index);
+ _userList.removeElementAt(index);
+ return (org.vamsas.objects.core.User) obj;
+ } //-- org.vamsas.objects.core.User removeUser(int)
+
+ /**
+ * Sets the value of field 'common'.
+ *
+ * @param common the value of field 'common'.
+ */
+ public void setCommon(org.vamsas.objects.core.Common common)
+ {
+ this._common = common;
+ } //-- void setCommon(org.vamsas.objects.core.Common)
+
+ /**
+ * Method setInstance
+ *
+ *
+ *
+ * @param index
+ * @param vInstance
+ */
+ public void setInstance(int index, org.vamsas.objects.core.Instance vInstance)
+ throws java.lang.IndexOutOfBoundsException
+ {
+ //-- check bounds for index
+ if ((index < 0) || (index > _instanceList.size())) {
+ throw new IndexOutOfBoundsException("setInstance: Index value '"+index+"' not in range [0.."+_instanceList.size()+ "]");
+ }
+ _instanceList.setElementAt(vInstance, index);
+ } //-- void setInstance(int, org.vamsas.objects.core.Instance)
+
+ /**
+ * Method setInstance
+ *
+ *
+ *
+ * @param instanceArray
+ */
+ public void setInstance(org.vamsas.objects.core.Instance[] instanceArray)
+ {
+ //-- copy array
+ _instanceList.removeAllElements();
+ for (int i = 0; i < instanceArray.length; i++) {
+ _instanceList.addElement(instanceArray[i]);
+ }
+ } //-- void setInstance(org.vamsas.objects.core.Instance)
+
+ /**
+ * Sets the value of field 'name'. The field 'name' has the
+ * following description: Canonical name of application
+ *
+ *
+ * @param name the value of field 'name'.
+ */
+ public void setName(java.lang.String name)
+ {
+ this._name = name;
+ } //-- void setName(java.lang.String)
+
+ /**
+ * Method setUser
+ *
+ *
+ *
+ * @param index
+ * @param vUser
+ */
+ public void setUser(int index, org.vamsas.objects.core.User vUser)
+ throws java.lang.IndexOutOfBoundsException
+ {
+ //-- check bounds for index
+ if ((index < 0) || (index > _userList.size())) {
+ throw new IndexOutOfBoundsException("setUser: Index value '"+index+"' not in range [0.."+_userList.size()+ "]");
+ }
+ _userList.setElementAt(vUser, index);
+ } //-- void setUser(int, org.vamsas.objects.core.User)
+
+ /**
+ * Method setUser
+ *
+ *
+ *
+ * @param userArray
+ */
+ public void setUser(org.vamsas.objects.core.User[] userArray)
+ {
+ //-- copy array
+ _userList.removeAllElements();
+ for (int i = 0; i < userArray.length; i++) {
+ _userList.addElement(userArray[i]);
+ }
+ } //-- void setUser(org.vamsas.objects.core.User)
+
+ /**
+ * Sets the value of field 'version'. The field 'version' has
+ * the following description: Version string describing the
+ * application specific data storage version used