Class ContentItemImpl

java.lang.Object
org.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.XmlComplexContentImpl
openEHR.v1.template.impl.ArchetypedImpl
openEHR.v1.template.impl.ContentItemImpl
All Implemented Interfaces:
Serializable, Archetyped, ContentItem, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
Direct Known Subclasses:
ENTRYImpl, SECTIONImpl

public class ContentItemImpl extends ArchetypedImpl implements ContentItem
An XML content_item(@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.ContentItem

    ContentItem.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.ContentItem

    type

    Fields inherited from interface org.apache.xmlbeans.XmlObject

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

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

    Modifier and Type
    Method
    Description
    Appends and returns a new empty "Conditional" element
    Appends and returns a new empty value (as xml) as the last "Rule" element
    Gets the "annotation" attribute
    Gets the "Conditional" element
    boolean
    Gets the "hide_on_form" attribute
    Gets the "max" attribute
    Gets the "min" attribute
    Gets the "name" attribute
    Gets the "path" 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 "Rule" element
    boolean
    True if has "annotation" attribute
    boolean
    True if has "Conditional" element
    boolean
    True if has "hide_on_form" attribute
    boolean
    True if has "max" attribute
    boolean
    True if has "min" attribute
    boolean
    True if has "name" attribute
    boolean
    True if has "path" attribute
    void
    removeRule(int i)
    Removes the ith "Rule" element
    void
    setAnnotation(String annotation)
    Sets the "annotation" attribute
    void
    Sets the "Conditional" element
    void
    setHideOnForm(boolean hideOnForm)
    Sets the "hide_on_form" attribute
    void
    Sets the "max" attribute
    void
    Sets the "min" attribute
    void
    Sets the "name" attribute
    void
    Sets the "path" 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 "Rule" element
    void
    Unsets the "annotation" attribute
    void
    Unsets the "Conditional" element
    void
    Unsets the "hide_on_form" attribute
    void
    Unsets the "max" attribute
    void
    Unsets the "min" attribute
    void
    Unsets the "name" attribute
    void
    Unsets the "path" attribute
    org.apache.xmlbeans.XmlString
    Gets (as xml) the "annotation" attribute
    org.apache.xmlbeans.XmlBoolean
    Gets (as xml) the "hide_on_form" attribute
    org.apache.xmlbeans.XmlInteger
    Gets (as xml) the "max" attribute
    org.apache.xmlbeans.XmlInteger
    Gets (as xml) the "min" attribute
    org.apache.xmlbeans.XmlString
    Gets (as xml) the "name" attribute
    org.apache.xmlbeans.XmlString
    Gets (as xml) the "path" attribute
    void
    xsetAnnotation(org.apache.xmlbeans.XmlString annotation)
    Sets (as xml) the "annotation" attribute
    void
    xsetHideOnForm(org.apache.xmlbeans.XmlBoolean hideOnForm)
    Sets (as xml) the "hide_on_form" attribute
    void
    xsetMax(org.apache.xmlbeans.XmlInteger max)
    Sets (as xml) the "max" attribute
    void
    xsetMin(org.apache.xmlbeans.XmlInteger min)
    Sets (as xml) the "min" attribute
    void
    xsetName(org.apache.xmlbeans.XmlString name)
    Sets (as xml) the "name" attribute
    void
    xsetPath(org.apache.xmlbeans.XmlString path)
    Sets (as xml) the "path" 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

    • ContentItemImpl

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

    • getRuleArray

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

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

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

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

      public void setRuleArray(int i, Statement rule)
      Sets ith "Rule" element
      Specified by:
      setRuleArray in interface ContentItem
    • 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 ContentItem
    • addNewRule

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

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

      public Condition getConditional()
      Gets the "Conditional" element
      Specified by:
      getConditional in interface ContentItem
    • isSetConditional

      public boolean isSetConditional()
      True if has "Conditional" element
      Specified by:
      isSetConditional in interface ContentItem
    • setConditional

      public void setConditional(Condition conditional)
      Sets the "Conditional" element
      Specified by:
      setConditional in interface ContentItem
    • addNewConditional

      public Condition addNewConditional()
      Appends and returns a new empty "Conditional" element
      Specified by:
      addNewConditional in interface ContentItem
    • unsetConditional

      public void unsetConditional()
      Unsets the "Conditional" element
      Specified by:
      unsetConditional in interface ContentItem
    • getMax

      public BigInteger getMax()
      Gets the "max" attribute
      Specified by:
      getMax in interface ContentItem
    • xgetMax

      public org.apache.xmlbeans.XmlInteger xgetMax()
      Gets (as xml) the "max" attribute
      Specified by:
      xgetMax in interface ContentItem
    • isSetMax

      public boolean isSetMax()
      True if has "max" attribute
      Specified by:
      isSetMax in interface ContentItem
    • setMax

      public void setMax(BigInteger max)
      Sets the "max" attribute
      Specified by:
      setMax in interface ContentItem
    • xsetMax

      public void xsetMax(org.apache.xmlbeans.XmlInteger max)
      Sets (as xml) the "max" attribute
      Specified by:
      xsetMax in interface ContentItem
    • unsetMax

      public void unsetMax()
      Unsets the "max" attribute
      Specified by:
      unsetMax in interface ContentItem
    • getMin

      public BigInteger getMin()
      Gets the "min" attribute
      Specified by:
      getMin in interface ContentItem
    • xgetMin

      public org.apache.xmlbeans.XmlInteger xgetMin()
      Gets (as xml) the "min" attribute
      Specified by:
      xgetMin in interface ContentItem
    • isSetMin

      public boolean isSetMin()
      True if has "min" attribute
      Specified by:
      isSetMin in interface ContentItem
    • setMin

      public void setMin(BigInteger min)
      Sets the "min" attribute
      Specified by:
      setMin in interface ContentItem
    • xsetMin

      public void xsetMin(org.apache.xmlbeans.XmlInteger min)
      Sets (as xml) the "min" attribute
      Specified by:
      xsetMin in interface ContentItem
    • unsetMin

      public void unsetMin()
      Unsets the "min" attribute
      Specified by:
      unsetMin in interface ContentItem
    • getPath

      public String getPath()
      Gets the "path" attribute
      Specified by:
      getPath in interface ContentItem
    • xgetPath

      public org.apache.xmlbeans.XmlString xgetPath()
      Gets (as xml) the "path" attribute
      Specified by:
      xgetPath in interface ContentItem
    • isSetPath

      public boolean isSetPath()
      True if has "path" attribute
      Specified by:
      isSetPath in interface ContentItem
    • setPath

      public void setPath(String path)
      Sets the "path" attribute
      Specified by:
      setPath in interface ContentItem
    • xsetPath

      public void xsetPath(org.apache.xmlbeans.XmlString path)
      Sets (as xml) the "path" attribute
      Specified by:
      xsetPath in interface ContentItem
    • unsetPath

      public void unsetPath()
      Unsets the "path" attribute
      Specified by:
      unsetPath in interface ContentItem
    • getName

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

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

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

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

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

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

      public boolean getHideOnForm()
      Gets the "hide_on_form" attribute
      Specified by:
      getHideOnForm in interface ContentItem
    • xgetHideOnForm

      public org.apache.xmlbeans.XmlBoolean xgetHideOnForm()
      Gets (as xml) the "hide_on_form" attribute
      Specified by:
      xgetHideOnForm in interface ContentItem
    • isSetHideOnForm

      public boolean isSetHideOnForm()
      True if has "hide_on_form" attribute
      Specified by:
      isSetHideOnForm in interface ContentItem
    • setHideOnForm

      public void setHideOnForm(boolean hideOnForm)
      Sets the "hide_on_form" attribute
      Specified by:
      setHideOnForm in interface ContentItem
    • xsetHideOnForm

      public void xsetHideOnForm(org.apache.xmlbeans.XmlBoolean hideOnForm)
      Sets (as xml) the "hide_on_form" attribute
      Specified by:
      xsetHideOnForm in interface ContentItem
    • unsetHideOnForm

      public void unsetHideOnForm()
      Unsets the "hide_on_form" attribute
      Specified by:
      unsetHideOnForm in interface ContentItem
    • getAnnotation

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

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

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

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

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

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