Package openEHR.v1.template
Interface COMPOSITION
-
- All Superinterfaces:
Archetyped,org.apache.xmlbeans.XmlObject,org.apache.xmlbeans.XmlTokenSource
- All Known Implementing Classes:
COMPOSITIONImpl
public interface COMPOSITION extends Archetyped
An XML COMPOSITION(@openEHR/v1/Template). This is a complex type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCOMPOSITION.FactoryA factory class with static methods for creating instances of this type.
-
Field Summary
Fields Modifier and Type Field Description static org.apache.xmlbeans.SchemaTypetype
-
Method Summary
All Methods Instance Methods Abstract 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 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
ContentItem[] getContentArray()
Gets array of all "Content" elements
-
getContentArray
ContentItem getContentArray(int i)
Gets ith "Content" element
-
sizeOfContentArray
int sizeOfContentArray()
Returns number of "Content" element
-
setContentArray
void setContentArray(ContentItem[] contentArray)
Sets array of all "Content" element
-
setContentArray
void setContentArray(int i, ContentItem content)Sets ith "Content" element
-
insertNewContent
ContentItem insertNewContent(int i)
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
void setContext(EVENTCONTEXT context)
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
Statement getRuleArray(int i)
Gets ith "Rule" element
-
sizeOfRuleArray
int sizeOfRuleArray()
Returns number of "Rule" element
-
setRuleArray
void setRuleArray(Statement[] ruleArray)
Sets array of all "Rule" element
-
setRuleArray
void setRuleArray(int i, Statement rule)Sets ith "Rule" element
-
insertNewRule
Statement insertNewRule(int i)
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
void setName(String name)
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
void setAnnotation(String annotation)
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
-
-