Package openEHR.v1.template
Interface COMPOSITION
- All Superinterfaces:
Archetyped,org.apache.xmlbeans.XmlObject,org.apache.xmlbeans.XmlTokenSource
- All Known Implementing Classes:
COMPOSITIONImpl
An XML COMPOSITION(@openEHR/v1/Template).
This is a complex type.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA factory class with static methods for creating instances of this type. -
Field Summary
FieldsFields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL -
Method Summary
Modifier and TypeMethodDescriptionAppends and returns a new empty value (as xml) as the last "Content" elementAppends and returns a new empty "Context" elementAppends and returns a new empty value (as xml) as the last "Rule" elementGets the "annotation" attributeGets array of all "Content" elementsgetContentArray(int i) Gets ith "Content" elementGets the "Context" elementgetName()Gets the "name" attributeGets array of all "Rule" elementsgetRuleArray(int i) Gets ith "Rule" elementinsertNewContent(int i) Inserts and returns a new empty value (as xml) as the ith "Content" elementinsertNewRule(int i) Inserts and returns a new empty value (as xml) as the ith "Rule" elementbooleanTrue if has "annotation" attributebooleanTrue if has "Context" elementbooleanTrue 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" elementvoidSets the "name" attributevoidsetRuleArray(int i, Statement rule) Sets ith "Rule" elementvoidsetRuleArray(Statement[] ruleArray) Sets array of all "Rule" elementintReturns number of "Content" elementintReturns number of "Rule" elementvoidUnsets the "annotation" attributevoidUnsets the "Context" elementvoidUnsets the "name" attributeorg.apache.xmlbeans.XmlStringGets (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" attributeMethods inherited from interface openEHR.v1.template.Archetyped
getArchetypeId, getFromTemplate, getTemplateId, isSetFromTemplate, isSetTemplateId, setArchetypeId, setFromTemplate, setTemplateId, unsetFromTemplate, unsetTemplateId, xgetArchetypeId, xgetFromTemplate, xgetTemplateId, xsetArchetypeId, xsetFromTemplate, xsetTemplateIdMethods 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, valueHashCodeMethods 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
-
Field Details
-
type
static final org.apache.xmlbeans.SchemaType type
-
-
Method Details
-
getContentArray
ContentItem[] getContentArray()Gets array of all "Content" elements -
getContentArray
Gets ith "Content" element -
sizeOfContentArray
int sizeOfContentArray()Returns number of "Content" element -
setContentArray
Sets array of all "Content" element -
setContentArray
Sets ith "Content" element -
insertNewContent
Inserts and returns a new empty value (as xml) as the ith "Content" element -
addNewContent
ContentItem addNewContent()Appends and returns a new empty value (as xml) as the last "Content" element -
removeContent
void removeContent(int i) Removes the ith "Content" element -
getContext
EVENTCONTEXT getContext()Gets the "Context" element -
isSetContext
boolean isSetContext()True if has "Context" element -
setContext
Sets the "Context" element -
addNewContext
EVENTCONTEXT addNewContext()Appends and returns a new empty "Context" element -
unsetContext
void unsetContext()Unsets the "Context" element -
getRuleArray
Statement[] getRuleArray()Gets array of all "Rule" elements -
getRuleArray
Gets ith "Rule" element -
sizeOfRuleArray
int sizeOfRuleArray()Returns number of "Rule" element -
setRuleArray
Sets array of all "Rule" element -
setRuleArray
Sets ith "Rule" element -
insertNewRule
Inserts and returns a new empty value (as xml) as the ith "Rule" element -
addNewRule
Statement addNewRule()Appends and returns a new empty value (as xml) as the last "Rule" element -
removeRule
void removeRule(int i) Removes the ith "Rule" element -
getName
String getName()Gets the "name" attribute -
xgetName
org.apache.xmlbeans.XmlString xgetName()Gets (as xml) the "name" attribute -
isSetName
boolean isSetName()True if has "name" attribute -
setName
Sets the "name" attribute -
xsetName
void xsetName(org.apache.xmlbeans.XmlString name) Sets (as xml) the "name" attribute -
unsetName
void unsetName()Unsets the "name" attribute -
getAnnotation
String getAnnotation()Gets the "annotation" attribute -
xgetAnnotation
org.apache.xmlbeans.XmlString xgetAnnotation()Gets (as xml) the "annotation" attribute -
isSetAnnotation
boolean isSetAnnotation()True if has "annotation" attribute -
setAnnotation
Sets the "annotation" attribute -
xsetAnnotation
void xsetAnnotation(org.apache.xmlbeans.XmlString annotation) Sets (as xml) the "annotation" attribute -
unsetAnnotation
void unsetAnnotation()Unsets the "annotation" attribute
-