Package openEHR.v1.template.impl
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:
- Serialized Form
-
-
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
-
-
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
-
-
Constructor Summary
Constructors Constructor Description COMPOSITIONImpl(org.apache.xmlbeans.SchemaType sType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentItemaddNewContent()Appends and returns a new empty value (as xml) as the last "Content" elementEVENTCONTEXTaddNewContext()Appends and returns a new empty "Context" elementStatementaddNewRule()Appends and returns a new empty value (as xml) as the last "Rule" elementStringgetAnnotation()Gets the "annotation" attributeContentItem[]getContentArray()Gets array of all "Content" elementsContentItemgetContentArray(int i)Gets ith "Content" elementEVENTCONTEXTgetContext()Gets the "Context" elementStringgetName()Gets the "name" attributeStatement[]getRuleArray()Gets array of all "Rule" elementsStatementgetRuleArray(int i)Gets ith "Rule" elementContentIteminsertNewContent(int i)Inserts and returns a new empty value (as xml) as the ith "Content" elementStatementinsertNewRule(int i)Inserts and returns a new empty value (as xml) as the ith "Rule" elementbooleanisSetAnnotation()True if has "annotation" attributebooleanisSetContext()True if has "Context" elementbooleanisSetName()True if has "name" attributevoidremoveContent(int i)Removes the ith "Content" elementvoidremoveRule(int i)Removes the ith "Rule" elementvoidsetAnnotation(String annotation)Sets the "annotation" attributevoidsetContentArray(int i, ContentItem content)Sets ith "Content" elementvoidsetContentArray(ContentItem[] contentArray)Sets array of all "Content" elementvoidsetContext(EVENTCONTEXT context)Sets the "Context" elementvoidsetName(String name)Sets the "name" attributevoidsetRuleArray(int i, Statement rule)Sets ith "Rule" elementvoidsetRuleArray(Statement[] ruleArray)Sets array of all "Rule" elementintsizeOfContentArray()Returns number of "Content" elementintsizeOfRuleArray()Returns number of "Rule" elementvoidunsetAnnotation()Unsets the "annotation" attributevoidunsetContext()Unsets the "Context" elementvoidunsetName()Unsets the "name" attributeorg.apache.xmlbeans.XmlStringxgetAnnotation()Gets (as xml) the "annotation" attributeorg.apache.xmlbeans.XmlStringxgetName()Gets (as xml) the "name" attributevoidxsetAnnotation(org.apache.xmlbeans.XmlString annotation)Sets (as xml) the "annotation" attributevoidxsetName(org.apache.xmlbeans.XmlString name)Sets (as xml) the "name" attribute-
Methods inherited from class openEHR.v1.template.impl.ArchetypedImpl
getArchetypeId, getFromTemplate, getTemplateId, isSetFromTemplate, isSetTemplateId, setArchetypeId, setFromTemplate, setTemplateId, unsetFromTemplate, unsetTemplateId, xgetArchetypeId, xgetFromTemplate, xgetTemplateId, xsetArchetypeId, xsetFromTemplate, xsetTemplateId
-
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 openEHR.v1.template.Archetyped
getArchetypeId, getFromTemplate, getTemplateId, isSetFromTemplate, isSetTemplateId, setArchetypeId, setFromTemplate, setTemplateId, unsetFromTemplate, unsetTemplateId, xgetArchetypeId, xgetFromTemplate, xgetTemplateId, xsetArchetypeId, xsetFromTemplate, xsetTemplateId
-
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
-
-
-
-
Method Detail
-
getContentArray
public ContentItem[] getContentArray()
Gets array of all "Content" elements- Specified by:
getContentArrayin interfaceCOMPOSITION
-
getContentArray
public ContentItem getContentArray(int i)
Gets ith "Content" element- Specified by:
getContentArrayin interfaceCOMPOSITION
-
sizeOfContentArray
public int sizeOfContentArray()
Returns number of "Content" element- Specified by:
sizeOfContentArrayin interfaceCOMPOSITION
-
setContentArray
public void setContentArray(ContentItem[] contentArray)
Sets array of all "Content" element- Specified by:
setContentArrayin interfaceCOMPOSITION
-
setContentArray
public void setContentArray(int i, ContentItem content)Sets ith "Content" element- Specified by:
setContentArrayin interfaceCOMPOSITION
-
insertNewContent
public ContentItem insertNewContent(int i)
Inserts and returns a new empty value (as xml) as the ith "Content" element- Specified by:
insertNewContentin interfaceCOMPOSITION
-
addNewContent
public ContentItem addNewContent()
Appends and returns a new empty value (as xml) as the last "Content" element- Specified by:
addNewContentin interfaceCOMPOSITION
-
removeContent
public void removeContent(int i)
Removes the ith "Content" element- Specified by:
removeContentin interfaceCOMPOSITION
-
getContext
public EVENTCONTEXT getContext()
Gets the "Context" element- Specified by:
getContextin interfaceCOMPOSITION
-
isSetContext
public boolean isSetContext()
True if has "Context" element- Specified by:
isSetContextin interfaceCOMPOSITION
-
setContext
public void setContext(EVENTCONTEXT context)
Sets the "Context" element- Specified by:
setContextin interfaceCOMPOSITION
-
addNewContext
public EVENTCONTEXT addNewContext()
Appends and returns a new empty "Context" element- Specified by:
addNewContextin interfaceCOMPOSITION
-
unsetContext
public void unsetContext()
Unsets the "Context" element- Specified by:
unsetContextin interfaceCOMPOSITION
-
getRuleArray
public Statement[] getRuleArray()
Gets array of all "Rule" elements- Specified by:
getRuleArrayin interfaceCOMPOSITION
-
getRuleArray
public Statement getRuleArray(int i)
Gets ith "Rule" element- Specified by:
getRuleArrayin interfaceCOMPOSITION
-
sizeOfRuleArray
public int sizeOfRuleArray()
Returns number of "Rule" element- Specified by:
sizeOfRuleArrayin interfaceCOMPOSITION
-
setRuleArray
public void setRuleArray(Statement[] ruleArray)
Sets array of all "Rule" element- Specified by:
setRuleArrayin interfaceCOMPOSITION
-
setRuleArray
public void setRuleArray(int i, Statement rule)Sets ith "Rule" element- Specified by:
setRuleArrayin interfaceCOMPOSITION
-
insertNewRule
public Statement insertNewRule(int i)
Inserts and returns a new empty value (as xml) as the ith "Rule" element- Specified by:
insertNewRulein interfaceCOMPOSITION
-
addNewRule
public Statement addNewRule()
Appends and returns a new empty value (as xml) as the last "Rule" element- Specified by:
addNewRulein interfaceCOMPOSITION
-
removeRule
public void removeRule(int i)
Removes the ith "Rule" element- Specified by:
removeRulein interfaceCOMPOSITION
-
getName
public String getName()
Gets the "name" attribute- Specified by:
getNamein interfaceCOMPOSITION
-
xgetName
public org.apache.xmlbeans.XmlString xgetName()
Gets (as xml) the "name" attribute- Specified by:
xgetNamein interfaceCOMPOSITION
-
isSetName
public boolean isSetName()
True if has "name" attribute- Specified by:
isSetNamein interfaceCOMPOSITION
-
setName
public void setName(String name)
Sets the "name" attribute- Specified by:
setNamein interfaceCOMPOSITION
-
xsetName
public void xsetName(org.apache.xmlbeans.XmlString name)
Sets (as xml) the "name" attribute- Specified by:
xsetNamein interfaceCOMPOSITION
-
unsetName
public void unsetName()
Unsets the "name" attribute- Specified by:
unsetNamein interfaceCOMPOSITION
-
getAnnotation
public String getAnnotation()
Gets the "annotation" attribute- Specified by:
getAnnotationin interfaceCOMPOSITION
-
xgetAnnotation
public org.apache.xmlbeans.XmlString xgetAnnotation()
Gets (as xml) the "annotation" attribute- Specified by:
xgetAnnotationin interfaceCOMPOSITION
-
isSetAnnotation
public boolean isSetAnnotation()
True if has "annotation" attribute- Specified by:
isSetAnnotationin interfaceCOMPOSITION
-
setAnnotation
public void setAnnotation(String annotation)
Sets the "annotation" attribute- Specified by:
setAnnotationin interfaceCOMPOSITION
-
xsetAnnotation
public void xsetAnnotation(org.apache.xmlbeans.XmlString annotation)
Sets (as xml) the "annotation" attribute- Specified by:
xsetAnnotationin interfaceCOMPOSITION
-
unsetAnnotation
public void unsetAnnotation()
Unsets the "annotation" attribute- Specified by:
unsetAnnotationin interfaceCOMPOSITION
-
-