no.ehelse.xmlstds.eresept.mv.x20170101.impl.SystemInfoImpl Maven / Gradle / Ivy
/*
* XML Type: SystemInfo
* Namespace: http://ehelse.no/xmlstds/eresept/mv/2017-01-01
* Java type: no.ehelse.xmlstds.eresept.mv.x20170101.SystemInfo
*
* Automatically generated - do not modify.
*/
package no.ehelse.xmlstds.eresept.mv.x20170101.impl;
/**
* An XML SystemInfo(@http://ehelse.no/xmlstds/eresept/mv/2017-01-01).
*
* This is a complex type.
*/
public class SystemInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.mv.x20170101.SystemInfo
{
private static final long serialVersionUID = 1L;
public SystemInfoImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SYSTEMCODE$0 =
new javax.xml.namespace.QName("http://ehelse.no/xmlstds/eresept/mv/2017-01-01", "SystemCode");
private static final javax.xml.namespace.QName SYSTEMNAME$2 =
new javax.xml.namespace.QName("http://ehelse.no/xmlstds/eresept/mv/2017-01-01", "SystemName");
private static final javax.xml.namespace.QName VERSION$4 =
new javax.xml.namespace.QName("http://ehelse.no/xmlstds/eresept/mv/2017-01-01", "Version");
private static final javax.xml.namespace.QName TIMELASTUPDATED$6 =
new javax.xml.namespace.QName("http://ehelse.no/xmlstds/eresept/mv/2017-01-01", "TimeLastUpdated");
/**
* Gets the "SystemCode" element
*/
public java.lang.String getSystemCode()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SYSTEMCODE$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "SystemCode" element
*/
public org.apache.xmlbeans.XmlString xgetSystemCode()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SYSTEMCODE$0, 0);
return target;
}
}
/**
* Sets the "SystemCode" element
*/
public void setSystemCode(java.lang.String systemCode)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SYSTEMCODE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SYSTEMCODE$0);
}
target.setStringValue(systemCode);
}
}
/**
* Sets (as xml) the "SystemCode" element
*/
public void xsetSystemCode(org.apache.xmlbeans.XmlString systemCode)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SYSTEMCODE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SYSTEMCODE$0);
}
target.set(systemCode);
}
}
/**
* Gets the "SystemName" element
*/
public java.lang.String getSystemName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SYSTEMNAME$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "SystemName" element
*/
public org.apache.xmlbeans.XmlString xgetSystemName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SYSTEMNAME$2, 0);
return target;
}
}
/**
* Sets the "SystemName" element
*/
public void setSystemName(java.lang.String systemName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SYSTEMNAME$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SYSTEMNAME$2);
}
target.setStringValue(systemName);
}
}
/**
* Sets (as xml) the "SystemName" element
*/
public void xsetSystemName(org.apache.xmlbeans.XmlString systemName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SYSTEMNAME$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SYSTEMNAME$2);
}
target.set(systemName);
}
}
/**
* Gets the "Version" element
*/
public java.lang.String getVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$4, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Version" element
*/
public org.apache.xmlbeans.XmlString xgetVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSION$4, 0);
return target;
}
}
/**
* Sets the "Version" element
*/
public void setVersion(java.lang.String version)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VERSION$4);
}
target.setStringValue(version);
}
}
/**
* Sets (as xml) the "Version" element
*/
public void xsetVersion(org.apache.xmlbeans.XmlString version)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSION$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(VERSION$4);
}
target.set(version);
}
}
/**
* Gets the "TimeLastUpdated" element
*/
public java.util.Calendar getTimeLastUpdated()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TIMELASTUPDATED$6, 0);
if (target == null)
{
return null;
}
return target.getCalendarValue();
}
}
/**
* Gets (as xml) the "TimeLastUpdated" element
*/
public org.apache.xmlbeans.XmlDateTime xgetTimeLastUpdated()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDateTime target = null;
target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(TIMELASTUPDATED$6, 0);
return target;
}
}
/**
* Sets the "TimeLastUpdated" element
*/
public void setTimeLastUpdated(java.util.Calendar timeLastUpdated)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TIMELASTUPDATED$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TIMELASTUPDATED$6);
}
target.setCalendarValue(timeLastUpdated);
}
}
/**
* Sets (as xml) the "TimeLastUpdated" element
*/
public void xsetTimeLastUpdated(org.apache.xmlbeans.XmlDateTime timeLastUpdated)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDateTime target = null;
target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(TIMELASTUPDATED$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(TIMELASTUPDATED$6);
}
target.set(timeLastUpdated);
}
}
}