Class CLUSTERImpl

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

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

    • CLUSTERImpl

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

    • getItemsArray

      public ITEM[] getItemsArray()
      Gets array of all "Items" elements
      Specified by:
      getItemsArray in interface CLUSTER
    • getItemsArray

      public ITEM getItemsArray(int i)
      Gets ith "Items" element
      Specified by:
      getItemsArray in interface CLUSTER
    • sizeOfItemsArray

      public int sizeOfItemsArray()
      Returns number of "Items" element
      Specified by:
      sizeOfItemsArray in interface CLUSTER
    • setItemsArray

      public void setItemsArray(ITEM[] itemsArray)
      Sets array of all "Items" element
      Specified by:
      setItemsArray in interface CLUSTER
    • setItemsArray

      public void setItemsArray(int i, ITEM items)
      Sets ith "Items" element
      Specified by:
      setItemsArray in interface CLUSTER
    • insertNewItems

      public ITEM insertNewItems(int i)
      Inserts and returns a new empty value (as xml) as the ith "Items" element
      Specified by:
      insertNewItems in interface CLUSTER
    • addNewItems

      public ITEM addNewItems()
      Appends and returns a new empty value (as xml) as the last "Items" element
      Specified by:
      addNewItems in interface CLUSTER
    • removeItems

      public void removeItems(int i)
      Removes the ith "Items" element
      Specified by:
      removeItems in interface CLUSTER