Package openEHR.v1.template.impl
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:
- 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.ContentItem
ContentItem.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
-
-
Constructor Summary
Constructors Constructor Description ContentItemImpl(org.apache.xmlbeans.SchemaType sType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionaddNewConditional()Appends and returns a new empty "Conditional" elementStatementaddNewRule()Appends and returns a new empty value (as xml) as the last "Rule" elementStringgetAnnotation()Gets the "annotation" attributeConditiongetConditional()Gets the "Conditional" elementbooleangetHideOnForm()Gets the "hide_on_form" attributeBigIntegergetMax()Gets the "max" attributeBigIntegergetMin()Gets the "min" attributeStringgetName()Gets the "name" attributeStringgetPath()Gets the "path" attributeStatement[]getRuleArray()Gets array of all "Rule" elementsStatementgetRuleArray(int i)Gets ith "Rule" elementStatementinsertNewRule(int i)Inserts and returns a new empty value (as xml) as the ith "Rule" elementbooleanisSetAnnotation()True if has "annotation" attributebooleanisSetConditional()True if has "Conditional" elementbooleanisSetHideOnForm()True if has "hide_on_form" attributebooleanisSetMax()True if has "max" attributebooleanisSetMin()True if has "min" attributebooleanisSetName()True if has "name" attributebooleanisSetPath()True if has "path" attributevoidremoveRule(int i)Removes the ith "Rule" elementvoidsetAnnotation(String annotation)Sets the "annotation" attributevoidsetConditional(Condition conditional)Sets the "Conditional" elementvoidsetHideOnForm(boolean hideOnForm)Sets the "hide_on_form" attributevoidsetMax(BigInteger max)Sets the "max" attributevoidsetMin(BigInteger min)Sets the "min" attributevoidsetName(String name)Sets the "name" attributevoidsetPath(String path)Sets the "path" attributevoidsetRuleArray(int i, Statement rule)Sets ith "Rule" elementvoidsetRuleArray(Statement[] ruleArray)Sets array of all "Rule" elementintsizeOfRuleArray()Returns number of "Rule" elementvoidunsetAnnotation()Unsets the "annotation" attributevoidunsetConditional()Unsets the "Conditional" elementvoidunsetHideOnForm()Unsets the "hide_on_form" attributevoidunsetMax()Unsets the "max" attributevoidunsetMin()Unsets the "min" attributevoidunsetName()Unsets the "name" attributevoidunsetPath()Unsets the "path" attributeorg.apache.xmlbeans.XmlStringxgetAnnotation()Gets (as xml) the "annotation" attributeorg.apache.xmlbeans.XmlBooleanxgetHideOnForm()Gets (as xml) the "hide_on_form" attributeorg.apache.xmlbeans.XmlIntegerxgetMax()Gets (as xml) the "max" attributeorg.apache.xmlbeans.XmlIntegerxgetMin()Gets (as xml) the "min" attributeorg.apache.xmlbeans.XmlStringxgetName()Gets (as xml) the "name" attributeorg.apache.xmlbeans.XmlStringxgetPath()Gets (as xml) the "path" attributevoidxsetAnnotation(org.apache.xmlbeans.XmlString annotation)Sets (as xml) the "annotation" attributevoidxsetHideOnForm(org.apache.xmlbeans.XmlBoolean hideOnForm)Sets (as xml) the "hide_on_form" attributevoidxsetMax(org.apache.xmlbeans.XmlInteger max)Sets (as xml) the "max" attributevoidxsetMin(org.apache.xmlbeans.XmlInteger min)Sets (as xml) the "min" attributevoidxsetName(org.apache.xmlbeans.XmlString name)Sets (as xml) the "name" attributevoidxsetPath(org.apache.xmlbeans.XmlString path)Sets (as xml) the "path" 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
-
getRuleArray
public Statement[] getRuleArray()
Gets array of all "Rule" elements- Specified by:
getRuleArrayin interfaceContentItem
-
getRuleArray
public Statement getRuleArray(int i)
Gets ith "Rule" element- Specified by:
getRuleArrayin interfaceContentItem
-
sizeOfRuleArray
public int sizeOfRuleArray()
Returns number of "Rule" element- Specified by:
sizeOfRuleArrayin interfaceContentItem
-
setRuleArray
public void setRuleArray(Statement[] ruleArray)
Sets array of all "Rule" element- Specified by:
setRuleArrayin interfaceContentItem
-
setRuleArray
public void setRuleArray(int i, Statement rule)Sets ith "Rule" element- Specified by:
setRuleArrayin interfaceContentItem
-
insertNewRule
public Statement insertNewRule(int i)
Inserts and returns a new empty value (as xml) as the ith "Rule" element- Specified by:
insertNewRulein interfaceContentItem
-
addNewRule
public Statement addNewRule()
Appends and returns a new empty value (as xml) as the last "Rule" element- Specified by:
addNewRulein interfaceContentItem
-
removeRule
public void removeRule(int i)
Removes the ith "Rule" element- Specified by:
removeRulein interfaceContentItem
-
getConditional
public Condition getConditional()
Gets the "Conditional" element- Specified by:
getConditionalin interfaceContentItem
-
isSetConditional
public boolean isSetConditional()
True if has "Conditional" element- Specified by:
isSetConditionalin interfaceContentItem
-
setConditional
public void setConditional(Condition conditional)
Sets the "Conditional" element- Specified by:
setConditionalin interfaceContentItem
-
addNewConditional
public Condition addNewConditional()
Appends and returns a new empty "Conditional" element- Specified by:
addNewConditionalin interfaceContentItem
-
unsetConditional
public void unsetConditional()
Unsets the "Conditional" element- Specified by:
unsetConditionalin interfaceContentItem
-
getMax
public BigInteger getMax()
Gets the "max" attribute- Specified by:
getMaxin interfaceContentItem
-
xgetMax
public org.apache.xmlbeans.XmlInteger xgetMax()
Gets (as xml) the "max" attribute- Specified by:
xgetMaxin interfaceContentItem
-
isSetMax
public boolean isSetMax()
True if has "max" attribute- Specified by:
isSetMaxin interfaceContentItem
-
setMax
public void setMax(BigInteger max)
Sets the "max" attribute- Specified by:
setMaxin interfaceContentItem
-
xsetMax
public void xsetMax(org.apache.xmlbeans.XmlInteger max)
Sets (as xml) the "max" attribute- Specified by:
xsetMaxin interfaceContentItem
-
unsetMax
public void unsetMax()
Unsets the "max" attribute- Specified by:
unsetMaxin interfaceContentItem
-
getMin
public BigInteger getMin()
Gets the "min" attribute- Specified by:
getMinin interfaceContentItem
-
xgetMin
public org.apache.xmlbeans.XmlInteger xgetMin()
Gets (as xml) the "min" attribute- Specified by:
xgetMinin interfaceContentItem
-
isSetMin
public boolean isSetMin()
True if has "min" attribute- Specified by:
isSetMinin interfaceContentItem
-
setMin
public void setMin(BigInteger min)
Sets the "min" attribute- Specified by:
setMinin interfaceContentItem
-
xsetMin
public void xsetMin(org.apache.xmlbeans.XmlInteger min)
Sets (as xml) the "min" attribute- Specified by:
xsetMinin interfaceContentItem
-
unsetMin
public void unsetMin()
Unsets the "min" attribute- Specified by:
unsetMinin interfaceContentItem
-
getPath
public String getPath()
Gets the "path" attribute- Specified by:
getPathin interfaceContentItem
-
xgetPath
public org.apache.xmlbeans.XmlString xgetPath()
Gets (as xml) the "path" attribute- Specified by:
xgetPathin interfaceContentItem
-
isSetPath
public boolean isSetPath()
True if has "path" attribute- Specified by:
isSetPathin interfaceContentItem
-
setPath
public void setPath(String path)
Sets the "path" attribute- Specified by:
setPathin interfaceContentItem
-
xsetPath
public void xsetPath(org.apache.xmlbeans.XmlString path)
Sets (as xml) the "path" attribute- Specified by:
xsetPathin interfaceContentItem
-
unsetPath
public void unsetPath()
Unsets the "path" attribute- Specified by:
unsetPathin interfaceContentItem
-
getName
public String getName()
Gets the "name" attribute- Specified by:
getNamein interfaceContentItem
-
xgetName
public org.apache.xmlbeans.XmlString xgetName()
Gets (as xml) the "name" attribute- Specified by:
xgetNamein interfaceContentItem
-
isSetName
public boolean isSetName()
True if has "name" attribute- Specified by:
isSetNamein interfaceContentItem
-
setName
public void setName(String name)
Sets the "name" attribute- Specified by:
setNamein interfaceContentItem
-
xsetName
public void xsetName(org.apache.xmlbeans.XmlString name)
Sets (as xml) the "name" attribute- Specified by:
xsetNamein interfaceContentItem
-
unsetName
public void unsetName()
Unsets the "name" attribute- Specified by:
unsetNamein interfaceContentItem
-
getHideOnForm
public boolean getHideOnForm()
Gets the "hide_on_form" attribute- Specified by:
getHideOnFormin interfaceContentItem
-
xgetHideOnForm
public org.apache.xmlbeans.XmlBoolean xgetHideOnForm()
Gets (as xml) the "hide_on_form" attribute- Specified by:
xgetHideOnFormin interfaceContentItem
-
isSetHideOnForm
public boolean isSetHideOnForm()
True if has "hide_on_form" attribute- Specified by:
isSetHideOnFormin interfaceContentItem
-
setHideOnForm
public void setHideOnForm(boolean hideOnForm)
Sets the "hide_on_form" attribute- Specified by:
setHideOnFormin interfaceContentItem
-
xsetHideOnForm
public void xsetHideOnForm(org.apache.xmlbeans.XmlBoolean hideOnForm)
Sets (as xml) the "hide_on_form" attribute- Specified by:
xsetHideOnFormin interfaceContentItem
-
unsetHideOnForm
public void unsetHideOnForm()
Unsets the "hide_on_form" attribute- Specified by:
unsetHideOnFormin interfaceContentItem
-
getAnnotation
public String getAnnotation()
Gets the "annotation" attribute- Specified by:
getAnnotationin interfaceContentItem
-
xgetAnnotation
public org.apache.xmlbeans.XmlString xgetAnnotation()
Gets (as xml) the "annotation" attribute- Specified by:
xgetAnnotationin interfaceContentItem
-
isSetAnnotation
public boolean isSetAnnotation()
True if has "annotation" attribute- Specified by:
isSetAnnotationin interfaceContentItem
-
setAnnotation
public void setAnnotation(String annotation)
Sets the "annotation" attribute- Specified by:
setAnnotationin interfaceContentItem
-
xsetAnnotation
public void xsetAnnotation(org.apache.xmlbeans.XmlString annotation)
Sets (as xml) the "annotation" attribute- Specified by:
xsetAnnotationin interfaceContentItem
-
unsetAnnotation
public void unsetAnnotation()
Unsets the "annotation" attribute- Specified by:
unsetAnnotationin interfaceContentItem
-
-