+ * Method enumerateStructureState.\r
+ * \r
+ * @return an Enumeration over all\r
+ * jalview.schemabinding.version2.StructureState elements\r
+ */\r
+ public java.util.Enumeration enumerateStructureState()\r
+ {\r
+ return this._structureStateList.elements();\r
+ }\r
+\r
+ /**\r
+ * Method getStructureState.\r
+ * \r
+ * @param index\r
+ * @throws java.lang.IndexOutOfBoundsException\r
+ * if the index given is outside the bounds of the collection\r
+ * @return the value of the jalview.schemabinding.version2.StructureState at\r
+ * the given index\r
+ */\r
+ public jalview.schemabinding.version2.StructureState getStructureState(\r
+ final int index) throws java.lang.IndexOutOfBoundsException\r
+ {\r
+ // check bounds for index\r
+ if (index < 0 || index >= this._structureStateList.size())\r
+ {\r
+ throw new IndexOutOfBoundsException(\r
+ "getStructureState: Index value '" + index\r
+ + "' not in range [0.."\r
+ + (this._structureStateList.size() - 1) + "]");\r
+ }\r
+\r
+ return (jalview.schemabinding.version2.StructureState) _structureStateList\r
+ .get(index);\r
+ }\r
+\r
+ /**\r
+ * Method getStructureState.Returns the contents of the collection in an\r
+ * Array.\r
+ * <p>\r
+ * Note: Just in case the collection contents are changing in another thread,\r
+ * we pass a 0-length Array of the correct type into the API call. This way we\r
+ * <i>know</i> that the Array returned is of exactly the correct length.\r
+ * \r
+ * @return this collection as an Array\r
+ */\r
+ public jalview.schemabinding.version2.StructureState[] getStructureState()\r
+ {\r
+ jalview.schemabinding.version2.StructureState[] array = new jalview.schemabinding.version2.StructureState[0];\r
+ return (jalview.schemabinding.version2.StructureState[]) this._structureStateList\r
+ .toArray(array);\r
+ }\r
+\r
+ /**\r
+ * Method getStructureStateCount.\r
+ * \r
+ * @return the size of this collection\r
+ */\r
+ public int getStructureStateCount()\r
+ {\r
+ return this._structureStateList.size();\r
+ }\r
+\r
+ /**\r
+ * Method isValid.\r
+ * \r
+ * @return true if this object is valid according to the schema\r