Class SECTIONImpl

java.lang.Object
org.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.XmlComplexContentImpl
All Implemented Interfaces:
Serializable, Archetyped, ContentItem, SECTION, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource

public class SECTIONImpl extends ContentItemImpl implements SECTION
An XML SECTION(@openEHR/v1/Template). This is a complex type.
See Also:
  • Constructor Details

    • SECTIONImpl

      public SECTIONImpl(org.apache.xmlbeans.SchemaType sType)
  • Method Details

    • getItemArray

      public ContentItem[] getItemArray()
      Gets array of all "Item" elements
      Specified by:
      getItemArray in interface SECTION
    • getItemArray

      public ContentItem getItemArray(int i)
      Gets ith "Item" element
      Specified by:
      getItemArray in interface SECTION
    • sizeOfItemArray

      public int sizeOfItemArray()
      Returns number of "Item" element
      Specified by:
      sizeOfItemArray in interface SECTION
    • setItemArray

      public void setItemArray(ContentItem[] itemArray)
      Sets array of all "Item" element
      Specified by:
      setItemArray in interface SECTION
    • setItemArray

      public void setItemArray(int i, ContentItem item)
      Sets ith "Item" element
      Specified by:
      setItemArray in interface SECTION
    • insertNewItem

      public ContentItem insertNewItem(int i)
      Inserts and returns a new empty value (as xml) as the ith "Item" element
      Specified by:
      insertNewItem in interface SECTION
    • addNewItem

      public ContentItem addNewItem()
      Appends and returns a new empty value (as xml) as the last "Item" element
      Specified by:
      addNewItem in interface SECTION
    • removeItem

      public void removeItem(int i)
      Removes the ith "Item" element
      Specified by:
      removeItem in interface SECTION