org.openehr.schemas.v1.impl.FEEDERAUDITDETAILSImpl Maven / Gradle / Ivy
/*
* XML Type: FEEDER_AUDIT_DETAILS
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.FEEDERAUDITDETAILS
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML FEEDER_AUDIT_DETAILS(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class FEEDERAUDITDETAILSImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.FEEDERAUDITDETAILS
{
private static final long serialVersionUID = 1L;
public FEEDERAUDITDETAILSImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SYSTEMID$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "system_id");
private static final javax.xml.namespace.QName LOCATION$2 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "location");
private static final javax.xml.namespace.QName PROVIDER$4 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "provider");
private static final javax.xml.namespace.QName SUBJECT$6 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "subject");
private static final javax.xml.namespace.QName TIME$8 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "time");
private static final javax.xml.namespace.QName VERSIONID$10 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "version_id");
/**
* Gets the "system_id" element
*/
public java.lang.String getSystemId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SYSTEMID$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "system_id" element
*/
public org.apache.xmlbeans.XmlString xgetSystemId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SYSTEMID$0, 0);
return target;
}
}
/**
* Sets the "system_id" element
*/
public void setSystemId(java.lang.String systemId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SYSTEMID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SYSTEMID$0);
}
target.setStringValue(systemId);
}
}
/**
* Sets (as xml) the "system_id" element
*/
public void xsetSystemId(org.apache.xmlbeans.XmlString systemId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SYSTEMID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SYSTEMID$0);
}
target.set(systemId);
}
}
/**
* Gets the "location" element
*/
public org.openehr.schemas.v1.PARTYIDENTIFIED getLocation()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.PARTYIDENTIFIED target = null;
target = (org.openehr.schemas.v1.PARTYIDENTIFIED)get_store().find_element_user(LOCATION$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "location" element
*/
public boolean isSetLocation()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(LOCATION$2) != 0;
}
}
/**
* Sets the "location" element
*/
public void setLocation(org.openehr.schemas.v1.PARTYIDENTIFIED location)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.PARTYIDENTIFIED target = null;
target = (org.openehr.schemas.v1.PARTYIDENTIFIED)get_store().find_element_user(LOCATION$2, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.PARTYIDENTIFIED)get_store().add_element_user(LOCATION$2);
}
target.set(location);
}
}
/**
* Appends and returns a new empty "location" element
*/
public org.openehr.schemas.v1.PARTYIDENTIFIED addNewLocation()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.PARTYIDENTIFIED target = null;
target = (org.openehr.schemas.v1.PARTYIDENTIFIED)get_store().add_element_user(LOCATION$2);
return target;
}
}
/**
* Unsets the "location" element
*/
public void unsetLocation()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(LOCATION$2, 0);
}
}
/**
* Gets the "provider" element
*/
public org.openehr.schemas.v1.PARTYIDENTIFIED getProvider()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.PARTYIDENTIFIED target = null;
target = (org.openehr.schemas.v1.PARTYIDENTIFIED)get_store().find_element_user(PROVIDER$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "provider" element
*/
public boolean isSetProvider()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PROVIDER$4) != 0;
}
}
/**
* Sets the "provider" element
*/
public void setProvider(org.openehr.schemas.v1.PARTYIDENTIFIED provider)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.PARTYIDENTIFIED target = null;
target = (org.openehr.schemas.v1.PARTYIDENTIFIED)get_store().find_element_user(PROVIDER$4, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.PARTYIDENTIFIED)get_store().add_element_user(PROVIDER$4);
}
target.set(provider);
}
}
/**
* Appends and returns a new empty "provider" element
*/
public org.openehr.schemas.v1.PARTYIDENTIFIED addNewProvider()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.PARTYIDENTIFIED target = null;
target = (org.openehr.schemas.v1.PARTYIDENTIFIED)get_store().add_element_user(PROVIDER$4);
return target;
}
}
/**
* Unsets the "provider" element
*/
public void unsetProvider()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PROVIDER$4, 0);
}
}
/**
* Gets the "subject" element
*/
public org.openehr.schemas.v1.PARTYPROXY getSubject()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.PARTYPROXY target = null;
target = (org.openehr.schemas.v1.PARTYPROXY)get_store().find_element_user(SUBJECT$6, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "subject" element
*/
public boolean isSetSubject()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(SUBJECT$6) != 0;
}
}
/**
* Sets the "subject" element
*/
public void setSubject(org.openehr.schemas.v1.PARTYPROXY subject)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.PARTYPROXY target = null;
target = (org.openehr.schemas.v1.PARTYPROXY)get_store().find_element_user(SUBJECT$6, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.PARTYPROXY)get_store().add_element_user(SUBJECT$6);
}
target.set(subject);
}
}
/**
* Appends and returns a new empty "subject" element
*/
public org.openehr.schemas.v1.PARTYPROXY addNewSubject()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.PARTYPROXY target = null;
target = (org.openehr.schemas.v1.PARTYPROXY)get_store().add_element_user(SUBJECT$6);
return target;
}
}
/**
* Unsets the "subject" element
*/
public void unsetSubject()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(SUBJECT$6, 0);
}
}
/**
* Gets the "time" element
*/
public org.openehr.schemas.v1.DVDATETIME getTime()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVDATETIME target = null;
target = (org.openehr.schemas.v1.DVDATETIME)get_store().find_element_user(TIME$8, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "time" element
*/
public boolean isSetTime()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TIME$8) != 0;
}
}
/**
* Sets the "time" element
*/
public void setTime(org.openehr.schemas.v1.DVDATETIME time)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVDATETIME target = null;
target = (org.openehr.schemas.v1.DVDATETIME)get_store().find_element_user(TIME$8, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.DVDATETIME)get_store().add_element_user(TIME$8);
}
target.set(time);
}
}
/**
* Appends and returns a new empty "time" element
*/
public org.openehr.schemas.v1.DVDATETIME addNewTime()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVDATETIME target = null;
target = (org.openehr.schemas.v1.DVDATETIME)get_store().add_element_user(TIME$8);
return target;
}
}
/**
* Unsets the "time" element
*/
public void unsetTime()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TIME$8, 0);
}
}
/**
* Gets the "version_id" element
*/
public java.lang.String getVersionId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSIONID$10, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "version_id" element
*/
public org.apache.xmlbeans.XmlString xgetVersionId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSIONID$10, 0);
return target;
}
}
/**
* True if has "version_id" element
*/
public boolean isSetVersionId()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(VERSIONID$10) != 0;
}
}
/**
* Sets the "version_id" element
*/
public void setVersionId(java.lang.String versionId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSIONID$10, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VERSIONID$10);
}
target.setStringValue(versionId);
}
}
/**
* Sets (as xml) the "version_id" element
*/
public void xsetVersionId(org.apache.xmlbeans.XmlString versionId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSIONID$10, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(VERSIONID$10);
}
target.set(versionId);
}
}
/**
* Unsets the "version_id" element
*/
public void unsetVersionId()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(VERSIONID$10, 0);
}
}
}