Class COMPOSITIONImpl

java.lang.Object
org.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.XmlComplexContentImpl
openEHR.v1.template.impl.ArchetypedImpl
openEHR.v1.template.impl.COMPOSITIONImpl
All Implemented Interfaces:
Serializable, Archetyped, COMPOSITION, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource

public class COMPOSITIONImpl extends ArchetypedImpl implements COMPOSITION
An XML COMPOSITION(@openEHR/v1/Template). This is a complex type.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface openEHR.v1.template.Archetyped

    Archetyped.Factory

    Nested classes/interfaces inherited from interface openEHR.v1.template.COMPOSITION

    COMPOSITION.Factory

    Nested classes/interfaces inherited from interface org.apache.xmlbeans.XmlObject

    org.apache.xmlbeans.XmlObject.Factory
  • Field Summary

    Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase

    _voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER

    Fields inherited from interface openEHR.v1.template.Archetyped

    type

    Fields inherited from interface openEHR.v1.template.COMPOSITION

    type

    Fields inherited from interface org.apache.xmlbeans.XmlObject

    EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    COMPOSITIONImpl(org.apache.xmlbeans.SchemaType sType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Appends and returns a new empty value (as xml) as the last "Content" element
    Appends and returns a new empty "Context" element
    Appends and returns a new empty value (as xml) as the last "Rule" element
    Gets the "annotation" attribute
    Gets array of all "Content" elements
    Gets ith "Content" element
    Gets the "Context" element
    Gets the "name" attribute
    Gets array of all "Rule" elements
    getRuleArray(int i)
    Gets ith "Rule" element
    Inserts and returns a new empty value (as xml) as the ith "Content" element
    Inserts and returns a new empty value (as xml) as the ith "Rule" element
    boolean
    True if has "annotation" attribute
    boolean
    True if has "Context" element
    boolean
    True if has "name" attribute
    void
    Removes the ith "Content" element
    void
    removeRule(int i)
    Removes the ith "Rule" element
    void
    setAnnotation(String annotation)
    Sets the "annotation" attribute
    void
    setContentArray(int i, ContentItem content)
    Sets ith "Content" element
    void
    setContentArray(ContentItem[] contentArray)
    Sets array of all "Content" element
    void
    Sets the "Context" element
    void
    Sets the "name" attribute
    void
    setRuleArray(int i, Statement rule)
    Sets ith "Rule" element
    void
    setRuleArray(Statement[] ruleArray)
    Sets array of all "Rule" element
    int
    Returns number of "Content" element
    int
    Returns number of "Rule" element
    void
    Unsets the "annotation" attribute
    void
    Unsets the "Context" element
    void
    Unsets the "name" attribute
    org.apache.xmlbeans.XmlString
    Gets (as xml) the "annotation" attribute
    org.apache.xmlbeans.XmlString
    Gets (as xml) the "name" attribute
    void
    xsetAnnotation(org.apache.xmlbeans.XmlString annotation)
    Sets (as xml) the "annotation" attribute
    void
    xsetName(org.apache.xmlbeans.XmlString name)
    Sets (as xml) the "name" attribute

    Methods inherited from class org.apache.xmlbeans.impl.values.XmlComplexContentImpl

    arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, compute_text, equal_to, get_default_attribute_text, get_default_element_text, get_elementflags, is_child_element_order_sensitive, new_visitor, schemaType, set_nil, set_String, set_text, unionArraySetterHelper, unionArraySetterHelper, update_from_complex_content, value_hash_code

    Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase

    _copy, _copy, _isComplexContent, _isComplexType, _set, _validateOnSet, attach_store, bigDecimalValue, bigIntegerValue, booleanValue, build_nil, build_text, byteArrayValue, byteValue, calendarValue, changeType, check_dated, check_orphaned, compare_to, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, dateValue, disconnect_store, documentProperties, doubleValue, dump, elementFlags, enumValue, equals, execQuery, execQuery, floatValue, gDateValue, gDurationValue, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_default_attribute_value, get_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_rule, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, has_store, hashCode, init_flags, initComplexType, instanceType, intValue, invalidate_element_order, invalidate_nilvalue, invalidate_value, is_defaultable_ws, is_orphaned, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, java_value, listValue, longValue, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, objectSet, objectValue, qNameValue, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set_b64, set_BigDecimal, set_BigInteger, set_boolean, set_byte, set_ByteArray, set_Calendar, set_char, set_ComplexXml, set_Date, set_double, set_enum, set_float, set_GDate, set_GDuration, set_hex, set_int, set_list, set_long, set_newValue, set_notation, set_QName, set_short, set_xmlanysimple, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, shortValue, stringValue, substitute, toString, uses_invalidate_value, validate, validate, validate_now, validate_simpleval, valueEquals, valueHashCode, writeReplace, xgetListValue, xlistValue, xmlText, xmlText

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.xmlbeans.XmlObject

    changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode

    Methods inherited from interface org.apache.xmlbeans.XmlTokenSource

    documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
  • Constructor Details

    • COMPOSITIONImpl

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

    • getContentArray

      public ContentItem[] getContentArray()
      Gets array of all "Content" elements
      Specified by:
      getContentArray in interface COMPOSITION
    • getContentArray

      public ContentItem getContentArray(int i)
      Gets ith "Content" element
      Specified by:
      getContentArray in interface COMPOSITION
    • sizeOfContentArray

      public int sizeOfContentArray()
      Returns number of "Content" element
      Specified by:
      sizeOfContentArray in interface COMPOSITION
    • setContentArray

      public void setContentArray(ContentItem[] contentArray)
      Sets array of all "Content" element
      Specified by:
      setContentArray in interface COMPOSITION
    • setContentArray

      public void setContentArray(int i, ContentItem content)
      Sets ith "Content" element
      Specified by:
      setContentArray in interface COMPOSITION
    • insertNewContent

      public ContentItem insertNewContent(int i)
      Inserts and returns a new empty value (as xml) as the ith "Content" element
      Specified by:
      insertNewContent in interface COMPOSITION
    • addNewContent

      public ContentItem addNewContent()
      Appends and returns a new empty value (as xml) as the last "Content" element
      Specified by:
      addNewContent in interface COMPOSITION
    • removeContent

      public void removeContent(int i)
      Removes the ith "Content" element
      Specified by:
      removeContent in interface COMPOSITION
    • getContext

      public EVENTCONTEXT getContext()
      Gets the "Context" element
      Specified by:
      getContext in interface COMPOSITION
    • isSetContext

      public boolean isSetContext()
      True if has "Context" element
      Specified by:
      isSetContext in interface COMPOSITION
    • setContext

      public void setContext(EVENTCONTEXT context)
      Sets the "Context" element
      Specified by:
      setContext in interface COMPOSITION
    • addNewContext

      public EVENTCONTEXT addNewContext()
      Appends and returns a new empty "Context" element
      Specified by:
      addNewContext in interface COMPOSITION
    • unsetContext

      public void unsetContext()
      Unsets the "Context" element
      Specified by:
      unsetContext in interface COMPOSITION
    • getRuleArray

      public Statement[] getRuleArray()
      Gets array of all "Rule" elements
      Specified by:
      getRuleArray in interface COMPOSITION
    • getRuleArray

      public Statement getRuleArray(int i)
      Gets ith "Rule" element
      Specified by:
      getRuleArray in interface COMPOSITION
    • sizeOfRuleArray

      public int sizeOfRuleArray()
      Returns number of "Rule" element
      Specified by:
      sizeOfRuleArray in interface COMPOSITION
    • setRuleArray

      public void setRuleArray(Statement[] ruleArray)
      Sets array of all "Rule" element
      Specified by:
      setRuleArray in interface COMPOSITION
    • setRuleArray

      public void setRuleArray(int i, Statement rule)
      Sets ith "Rule" element
      Specified by:
      setRuleArray in interface COMPOSITION
    • insertNewRule

      public Statement insertNewRule(int i)
      Inserts and returns a new empty value (as xml) as the ith "Rule" element
      Specified by:
      insertNewRule in interface COMPOSITION
    • addNewRule

      public Statement addNewRule()
      Appends and returns a new empty value (as xml) as the last "Rule" element
      Specified by:
      addNewRule in interface COMPOSITION
    • removeRule

      public void removeRule(int i)
      Removes the ith "Rule" element
      Specified by:
      removeRule in interface COMPOSITION
    • getName

      public String getName()
      Gets the "name" attribute
      Specified by:
      getName in interface COMPOSITION
    • xgetName

      public org.apache.xmlbeans.XmlString xgetName()
      Gets (as xml) the "name" attribute
      Specified by:
      xgetName in interface COMPOSITION
    • isSetName

      public boolean isSetName()
      True if has "name" attribute
      Specified by:
      isSetName in interface COMPOSITION
    • setName

      public void setName(String name)
      Sets the "name" attribute
      Specified by:
      setName in interface COMPOSITION
    • xsetName

      public void xsetName(org.apache.xmlbeans.XmlString name)
      Sets (as xml) the "name" attribute
      Specified by:
      xsetName in interface COMPOSITION
    • unsetName

      public void unsetName()
      Unsets the "name" attribute
      Specified by:
      unsetName in interface COMPOSITION
    • getAnnotation

      public String getAnnotation()
      Gets the "annotation" attribute
      Specified by:
      getAnnotation in interface COMPOSITION
    • xgetAnnotation

      public org.apache.xmlbeans.XmlString xgetAnnotation()
      Gets (as xml) the "annotation" attribute
      Specified by:
      xgetAnnotation in interface COMPOSITION
    • isSetAnnotation

      public boolean isSetAnnotation()
      True if has "annotation" attribute
      Specified by:
      isSetAnnotation in interface COMPOSITION
    • setAnnotation

      public void setAnnotation(String annotation)
      Sets the "annotation" attribute
      Specified by:
      setAnnotation in interface COMPOSITION
    • xsetAnnotation

      public void xsetAnnotation(org.apache.xmlbeans.XmlString annotation)
      Sets (as xml) the "annotation" attribute
      Specified by:
      xsetAnnotation in interface COMPOSITION
    • unsetAnnotation

      public void unsetAnnotation()
      Unsets the "annotation" attribute
      Specified by:
      unsetAnnotation in interface COMPOSITION