org.openehr.schemas.v1.impl.FEEDERAUDITImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oet-parser Show documentation
Show all versions of oet-parser Show documentation
Java implementation of openEHR OET Template Parser and Flattener
The newest version!
/*
* XML Type: FEEDER_AUDIT
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.FEEDERAUDIT
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML FEEDER_AUDIT(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class FEEDERAUDITImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.FEEDERAUDIT
{
private static final long serialVersionUID = 1L;
public FEEDERAUDITImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ORIGINATINGSYSTEMITEMIDS$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "originating_system_item_ids");
private static final javax.xml.namespace.QName FEEDERSYSTEMITEMIDS$2 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "feeder_system_item_ids");
private static final javax.xml.namespace.QName ORIGINALCONTENT$4 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "original_content");
private static final javax.xml.namespace.QName ORIGINATINGSYSTEMAUDIT$6 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "originating_system_audit");
private static final javax.xml.namespace.QName FEEDERSYSTEMAUDIT$8 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "feeder_system_audit");
/**
* Gets array of all "originating_system_item_ids" elements
*/
public org.openehr.schemas.v1.DVIDENTIFIER[] getOriginatingSystemItemIdsArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(ORIGINATINGSYSTEMITEMIDS$0, targetList);
org.openehr.schemas.v1.DVIDENTIFIER[] result = new org.openehr.schemas.v1.DVIDENTIFIER[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "originating_system_item_ids" element
*/
public org.openehr.schemas.v1.DVIDENTIFIER getOriginatingSystemItemIdsArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVIDENTIFIER target = null;
target = (org.openehr.schemas.v1.DVIDENTIFIER)get_store().find_element_user(ORIGINATINGSYSTEMITEMIDS$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "originating_system_item_ids" element
*/
public int sizeOfOriginatingSystemItemIdsArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(ORIGINATINGSYSTEMITEMIDS$0);
}
}
/**
* Sets array of all "originating_system_item_ids" element
*/
public void setOriginatingSystemItemIdsArray(org.openehr.schemas.v1.DVIDENTIFIER[] originatingSystemItemIdsArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(originatingSystemItemIdsArray, ORIGINATINGSYSTEMITEMIDS$0);
}
}
/**
* Sets ith "originating_system_item_ids" element
*/
public void setOriginatingSystemItemIdsArray(int i, org.openehr.schemas.v1.DVIDENTIFIER originatingSystemItemIds)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVIDENTIFIER target = null;
target = (org.openehr.schemas.v1.DVIDENTIFIER)get_store().find_element_user(ORIGINATINGSYSTEMITEMIDS$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(originatingSystemItemIds);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "originating_system_item_ids" element
*/
public org.openehr.schemas.v1.DVIDENTIFIER insertNewOriginatingSystemItemIds(int i)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVIDENTIFIER target = null;
target = (org.openehr.schemas.v1.DVIDENTIFIER)get_store().insert_element_user(ORIGINATINGSYSTEMITEMIDS$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "originating_system_item_ids" element
*/
public org.openehr.schemas.v1.DVIDENTIFIER addNewOriginatingSystemItemIds()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVIDENTIFIER target = null;
target = (org.openehr.schemas.v1.DVIDENTIFIER)get_store().add_element_user(ORIGINATINGSYSTEMITEMIDS$0);
return target;
}
}
/**
* Removes the ith "originating_system_item_ids" element
*/
public void removeOriginatingSystemItemIds(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(ORIGINATINGSYSTEMITEMIDS$0, i);
}
}
/**
* Gets array of all "feeder_system_item_ids" elements
*/
public org.openehr.schemas.v1.DVIDENTIFIER[] getFeederSystemItemIdsArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(FEEDERSYSTEMITEMIDS$2, targetList);
org.openehr.schemas.v1.DVIDENTIFIER[] result = new org.openehr.schemas.v1.DVIDENTIFIER[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "feeder_system_item_ids" element
*/
public org.openehr.schemas.v1.DVIDENTIFIER getFeederSystemItemIdsArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVIDENTIFIER target = null;
target = (org.openehr.schemas.v1.DVIDENTIFIER)get_store().find_element_user(FEEDERSYSTEMITEMIDS$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "feeder_system_item_ids" element
*/
public int sizeOfFeederSystemItemIdsArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(FEEDERSYSTEMITEMIDS$2);
}
}
/**
* Sets array of all "feeder_system_item_ids" element
*/
public void setFeederSystemItemIdsArray(org.openehr.schemas.v1.DVIDENTIFIER[] feederSystemItemIdsArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(feederSystemItemIdsArray, FEEDERSYSTEMITEMIDS$2);
}
}
/**
* Sets ith "feeder_system_item_ids" element
*/
public void setFeederSystemItemIdsArray(int i, org.openehr.schemas.v1.DVIDENTIFIER feederSystemItemIds)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVIDENTIFIER target = null;
target = (org.openehr.schemas.v1.DVIDENTIFIER)get_store().find_element_user(FEEDERSYSTEMITEMIDS$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(feederSystemItemIds);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "feeder_system_item_ids" element
*/
public org.openehr.schemas.v1.DVIDENTIFIER insertNewFeederSystemItemIds(int i)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVIDENTIFIER target = null;
target = (org.openehr.schemas.v1.DVIDENTIFIER)get_store().insert_element_user(FEEDERSYSTEMITEMIDS$2, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "feeder_system_item_ids" element
*/
public org.openehr.schemas.v1.DVIDENTIFIER addNewFeederSystemItemIds()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVIDENTIFIER target = null;
target = (org.openehr.schemas.v1.DVIDENTIFIER)get_store().add_element_user(FEEDERSYSTEMITEMIDS$2);
return target;
}
}
/**
* Removes the ith "feeder_system_item_ids" element
*/
public void removeFeederSystemItemIds(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(FEEDERSYSTEMITEMIDS$2, i);
}
}
/**
* Gets the "original_content" element
*/
public org.openehr.schemas.v1.DVENCAPSULATED getOriginalContent()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVENCAPSULATED target = null;
target = (org.openehr.schemas.v1.DVENCAPSULATED)get_store().find_element_user(ORIGINALCONTENT$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "original_content" element
*/
public boolean isSetOriginalContent()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(ORIGINALCONTENT$4) != 0;
}
}
/**
* Sets the "original_content" element
*/
public void setOriginalContent(org.openehr.schemas.v1.DVENCAPSULATED originalContent)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVENCAPSULATED target = null;
target = (org.openehr.schemas.v1.DVENCAPSULATED)get_store().find_element_user(ORIGINALCONTENT$4, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.DVENCAPSULATED)get_store().add_element_user(ORIGINALCONTENT$4);
}
target.set(originalContent);
}
}
/**
* Appends and returns a new empty "original_content" element
*/
public org.openehr.schemas.v1.DVENCAPSULATED addNewOriginalContent()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVENCAPSULATED target = null;
target = (org.openehr.schemas.v1.DVENCAPSULATED)get_store().add_element_user(ORIGINALCONTENT$4);
return target;
}
}
/**
* Unsets the "original_content" element
*/
public void unsetOriginalContent()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(ORIGINALCONTENT$4, 0);
}
}
/**
* Gets the "originating_system_audit" element
*/
public org.openehr.schemas.v1.FEEDERAUDITDETAILS getOriginatingSystemAudit()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.FEEDERAUDITDETAILS target = null;
target = (org.openehr.schemas.v1.FEEDERAUDITDETAILS)get_store().find_element_user(ORIGINATINGSYSTEMAUDIT$6, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "originating_system_audit" element
*/
public void setOriginatingSystemAudit(org.openehr.schemas.v1.FEEDERAUDITDETAILS originatingSystemAudit)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.FEEDERAUDITDETAILS target = null;
target = (org.openehr.schemas.v1.FEEDERAUDITDETAILS)get_store().find_element_user(ORIGINATINGSYSTEMAUDIT$6, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.FEEDERAUDITDETAILS)get_store().add_element_user(ORIGINATINGSYSTEMAUDIT$6);
}
target.set(originatingSystemAudit);
}
}
/**
* Appends and returns a new empty "originating_system_audit" element
*/
public org.openehr.schemas.v1.FEEDERAUDITDETAILS addNewOriginatingSystemAudit()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.FEEDERAUDITDETAILS target = null;
target = (org.openehr.schemas.v1.FEEDERAUDITDETAILS)get_store().add_element_user(ORIGINATINGSYSTEMAUDIT$6);
return target;
}
}
/**
* Gets the "feeder_system_audit" element
*/
public org.openehr.schemas.v1.FEEDERAUDITDETAILS getFeederSystemAudit()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.FEEDERAUDITDETAILS target = null;
target = (org.openehr.schemas.v1.FEEDERAUDITDETAILS)get_store().find_element_user(FEEDERSYSTEMAUDIT$8, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "feeder_system_audit" element
*/
public boolean isSetFeederSystemAudit()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(FEEDERSYSTEMAUDIT$8) != 0;
}
}
/**
* Sets the "feeder_system_audit" element
*/
public void setFeederSystemAudit(org.openehr.schemas.v1.FEEDERAUDITDETAILS feederSystemAudit)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.FEEDERAUDITDETAILS target = null;
target = (org.openehr.schemas.v1.FEEDERAUDITDETAILS)get_store().find_element_user(FEEDERSYSTEMAUDIT$8, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.FEEDERAUDITDETAILS)get_store().add_element_user(FEEDERSYSTEMAUDIT$8);
}
target.set(feederSystemAudit);
}
}
/**
* Appends and returns a new empty "feeder_system_audit" element
*/
public org.openehr.schemas.v1.FEEDERAUDITDETAILS addNewFeederSystemAudit()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.FEEDERAUDITDETAILS target = null;
target = (org.openehr.schemas.v1.FEEDERAUDITDETAILS)get_store().add_element_user(FEEDERSYSTEMAUDIT$8);
return target;
}
}
/**
* Unsets the "feeder_system_audit" element
*/
public void unsetFeederSystemAudit()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(FEEDERSYSTEMAUDIT$8, 0);
}
}
}