- * Method removeAllAnnotationElement
- *
- */
- public void removeAllAnnotationElement()
- {
- _annotationElementList.removeAllElements();
- } //-- void removeAllAnnotationElement()
-
- /**
- * Method removeAnnotationElement
- *
- *
- *
- * @param index
- * @return AnnotationElement
- */
- public org.vamsas.objects.core.AnnotationElement removeAnnotationElement(int index)
- {
- java.lang.Object obj = _annotationElementList.elementAt(index);
- _annotationElementList.removeElementAt(index);
- return (org.vamsas.objects.core.AnnotationElement) obj;
- } //-- org.vamsas.objects.core.AnnotationElement removeAnnotationElement(int)
-
- /**
- * Method setAnnotationElement
- *
- *
- *
- * @param index
- * @param vAnnotationElement
- */
- public void setAnnotationElement(int index, org.vamsas.objects.core.AnnotationElement vAnnotationElement)
- throws java.lang.IndexOutOfBoundsException
- {
- //-- check bounds for index
- if ((index < 0) || (index > _annotationElementList.size())) {
- throw new IndexOutOfBoundsException("setAnnotationElement: Index value '"+index+"' not in range [0.."+_annotationElementList.size()+ "]");
- }
- _annotationElementList.setElementAt(vAnnotationElement, index);
- } //-- void setAnnotationElement(int, org.vamsas.objects.core.AnnotationElement)
-
- /**
- * Method setAnnotationElement
- *
- *
- *
- * @param annotationElementArray
- */
- public void setAnnotationElement(org.vamsas.objects.core.AnnotationElement[] annotationElementArray)
- {
- //-- copy array
- _annotationElementList.removeAllElements();
- for (int i = 0; i < annotationElementArray.length; i++) {
- _annotationElementList.addElement(annotationElementArray[i]);
- }
- } //-- void setAnnotationElement(org.vamsas.objects.core.AnnotationElement)
-
- /**
- * Sets the value of field 'begin'.
- *
- * @param begin the value of field 'begin'.
- */
- public void setBegin(int begin)
- {
- this._begin = begin;
- this._has_begin = true;
- } //-- void setBegin(int)
-
- /**
- * Sets the value of field 'description'.
- *
- * @param description the value of field 'description'.
- */
- public void setDescription(java.lang.String description)
- {
- this._description = description;
- } //-- void setDescription(java.lang.String)
-
- /**
- * Sets the value of field 'end'.
- *
- * @param end the value of field 'end'.
- */
- public void setEnd(int end)
- {
- this._end = end;
- this._has_end = true;
- } //-- void setEnd(int)
-
- /**
- * Sets the value of field 'id'.
- *
- * @param id the value of field 'id'.
- */
- public void setId(java.lang.String id)
- {
- this._id = id;
- } //-- void setId(java.lang.String)
-
- /**