All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
no.kith.xmlstds.eresept.m94.x20100701.impl.ReseptNedlastingDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: ReseptNedlasting
* Namespace: http://www.kith.no/xmlstds/eresept/m94/2010-07-01
* Java type: no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument
*
* Automatically generated - do not modify.
*/
package no.kith.xmlstds.eresept.m94.x20100701.impl;
/**
* A document containing one ReseptNedlasting(@http://www.kith.no/xmlstds/eresept/m94/2010-07-01) element.
*
* This is a complex type.
*/
public class ReseptNedlastingDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument
{
private static final long serialVersionUID = 1L;
public ReseptNedlastingDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName RESEPTNEDLASTING$0 =
new javax.xml.namespace.QName("http://www.kith.no/xmlstds/eresept/m94/2010-07-01", "ReseptNedlasting");
/**
* Gets the "ReseptNedlasting" element
*/
public no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument.ReseptNedlasting getReseptNedlasting()
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument.ReseptNedlasting target = null;
target = (no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument.ReseptNedlasting)get_store().find_element_user(RESEPTNEDLASTING$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "ReseptNedlasting" element
*/
public void setReseptNedlasting(no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument.ReseptNedlasting reseptNedlasting)
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument.ReseptNedlasting target = null;
target = (no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument.ReseptNedlasting)get_store().find_element_user(RESEPTNEDLASTING$0, 0);
if (target == null)
{
target = (no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument.ReseptNedlasting)get_store().add_element_user(RESEPTNEDLASTING$0);
}
target.set(reseptNedlasting);
}
}
/**
* Appends and returns a new empty "ReseptNedlasting" element
*/
public no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument.ReseptNedlasting addNewReseptNedlasting()
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument.ReseptNedlasting target = null;
target = (no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument.ReseptNedlasting)get_store().add_element_user(RESEPTNEDLASTING$0);
return target;
}
}
/**
* An XML ReseptNedlasting(@http://www.kith.no/xmlstds/eresept/m94/2010-07-01).
*
* This is a complex type.
*/
public static class ReseptNedlastingImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.kith.xmlstds.eresept.m94.x20100701.ReseptNedlastingDocument.ReseptNedlasting
{
private static final long serialVersionUID = 1L;
public ReseptNedlastingImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DATOSOKNADSENDTSLV$0 =
new javax.xml.namespace.QName("http://www.kith.no/xmlstds/eresept/m94/2010-07-01", "DatoSoknadSendtSLV");
private static final javax.xml.namespace.QName SVARSLVDATO$2 =
new javax.xml.namespace.QName("http://www.kith.no/xmlstds/eresept/m94/2010-07-01", "SvarSLVDato");
private static final javax.xml.namespace.QName INNVLIGETGODKJFRITAK$4 =
new javax.xml.namespace.QName("http://www.kith.no/xmlstds/eresept/m94/2010-07-01", "InnvligetGodkjFritak");
private static final javax.xml.namespace.QName STATUS$6 =
new javax.xml.namespace.QName("http://www.kith.no/xmlstds/eresept/m94/2010-07-01", "Status");
private static final javax.xml.namespace.QName STATUSSOKNADSLV$8 =
new javax.xml.namespace.QName("http://www.kith.no/xmlstds/eresept/m94/2010-07-01", "StatusSoknadSlv");
private static final javax.xml.namespace.QName EGENANDEL$10 =
new javax.xml.namespace.QName("http://www.kith.no/xmlstds/eresept/m94/2010-07-01", "Egenandel");
/**
* Gets the "DatoSoknadSendtSLV" element
*/
public java.util.Calendar getDatoSoknadSendtSLV()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATOSOKNADSENDTSLV$0, 0);
if (target == null)
{
return null;
}
return target.getCalendarValue();
}
}
/**
* Gets (as xml) the "DatoSoknadSendtSLV" element
*/
public org.apache.xmlbeans.XmlDate xgetDatoSoknadSendtSLV()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDate target = null;
target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(DATOSOKNADSENDTSLV$0, 0);
return target;
}
}
/**
* True if has "DatoSoknadSendtSLV" element
*/
public boolean isSetDatoSoknadSendtSLV()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(DATOSOKNADSENDTSLV$0) != 0;
}
}
/**
* Sets the "DatoSoknadSendtSLV" element
*/
public void setDatoSoknadSendtSLV(java.util.Calendar datoSoknadSendtSLV)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATOSOKNADSENDTSLV$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATOSOKNADSENDTSLV$0);
}
target.setCalendarValue(datoSoknadSendtSLV);
}
}
/**
* Sets (as xml) the "DatoSoknadSendtSLV" element
*/
public void xsetDatoSoknadSendtSLV(org.apache.xmlbeans.XmlDate datoSoknadSendtSLV)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDate target = null;
target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(DATOSOKNADSENDTSLV$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(DATOSOKNADSENDTSLV$0);
}
target.set(datoSoknadSendtSLV);
}
}
/**
* Unsets the "DatoSoknadSendtSLV" element
*/
public void unsetDatoSoknadSendtSLV()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(DATOSOKNADSENDTSLV$0, 0);
}
}
/**
* Gets the "SvarSLVDato" element
*/
public java.util.Calendar getSvarSLVDato()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SVARSLVDATO$2, 0);
if (target == null)
{
return null;
}
return target.getCalendarValue();
}
}
/**
* Gets (as xml) the "SvarSLVDato" element
*/
public org.apache.xmlbeans.XmlDate xgetSvarSLVDato()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDate target = null;
target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(SVARSLVDATO$2, 0);
return target;
}
}
/**
* True if has "SvarSLVDato" element
*/
public boolean isSetSvarSLVDato()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(SVARSLVDATO$2) != 0;
}
}
/**
* Sets the "SvarSLVDato" element
*/
public void setSvarSLVDato(java.util.Calendar svarSLVDato)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SVARSLVDATO$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SVARSLVDATO$2);
}
target.setCalendarValue(svarSLVDato);
}
}
/**
* Sets (as xml) the "SvarSLVDato" element
*/
public void xsetSvarSLVDato(org.apache.xmlbeans.XmlDate svarSLVDato)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDate target = null;
target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(SVARSLVDATO$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(SVARSLVDATO$2);
}
target.set(svarSLVDato);
}
}
/**
* Unsets the "SvarSLVDato" element
*/
public void unsetSvarSLVDato()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(SVARSLVDATO$2, 0);
}
}
/**
* Gets the "InnvligetGodkjFritak" element
*/
public boolean getInnvligetGodkjFritak()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INNVLIGETGODKJFRITAK$4, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "InnvligetGodkjFritak" element
*/
public org.apache.xmlbeans.XmlBoolean xgetInnvligetGodkjFritak()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(INNVLIGETGODKJFRITAK$4, 0);
return target;
}
}
/**
* True if has "InnvligetGodkjFritak" element
*/
public boolean isSetInnvligetGodkjFritak()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(INNVLIGETGODKJFRITAK$4) != 0;
}
}
/**
* Sets the "InnvligetGodkjFritak" element
*/
public void setInnvligetGodkjFritak(boolean innvligetGodkjFritak)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INNVLIGETGODKJFRITAK$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INNVLIGETGODKJFRITAK$4);
}
target.setBooleanValue(innvligetGodkjFritak);
}
}
/**
* Sets (as xml) the "InnvligetGodkjFritak" element
*/
public void xsetInnvligetGodkjFritak(org.apache.xmlbeans.XmlBoolean innvligetGodkjFritak)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(INNVLIGETGODKJFRITAK$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(INNVLIGETGODKJFRITAK$4);
}
target.set(innvligetGodkjFritak);
}
}
/**
* Unsets the "InnvligetGodkjFritak" element
*/
public void unsetInnvligetGodkjFritak()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(INNVLIGETGODKJFRITAK$4, 0);
}
}
/**
* Gets the "Status" element
*/
public no.kith.xmlstds.CS getStatus()
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.CS target = null;
target = (no.kith.xmlstds.CS)get_store().find_element_user(STATUS$6, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "Status" element
*/
public void setStatus(no.kith.xmlstds.CS status)
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.CS target = null;
target = (no.kith.xmlstds.CS)get_store().find_element_user(STATUS$6, 0);
if (target == null)
{
target = (no.kith.xmlstds.CS)get_store().add_element_user(STATUS$6);
}
target.set(status);
}
}
/**
* Appends and returns a new empty "Status" element
*/
public no.kith.xmlstds.CS addNewStatus()
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.CS target = null;
target = (no.kith.xmlstds.CS)get_store().add_element_user(STATUS$6);
return target;
}
}
/**
* Gets the "StatusSoknadSlv" element
*/
public no.kith.xmlstds.CS getStatusSoknadSlv()
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.CS target = null;
target = (no.kith.xmlstds.CS)get_store().find_element_user(STATUSSOKNADSLV$8, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "StatusSoknadSlv" element
*/
public boolean isSetStatusSoknadSlv()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(STATUSSOKNADSLV$8) != 0;
}
}
/**
* Sets the "StatusSoknadSlv" element
*/
public void setStatusSoknadSlv(no.kith.xmlstds.CS statusSoknadSlv)
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.CS target = null;
target = (no.kith.xmlstds.CS)get_store().find_element_user(STATUSSOKNADSLV$8, 0);
if (target == null)
{
target = (no.kith.xmlstds.CS)get_store().add_element_user(STATUSSOKNADSLV$8);
}
target.set(statusSoknadSlv);
}
}
/**
* Appends and returns a new empty "StatusSoknadSlv" element
*/
public no.kith.xmlstds.CS addNewStatusSoknadSlv()
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.CS target = null;
target = (no.kith.xmlstds.CS)get_store().add_element_user(STATUSSOKNADSLV$8);
return target;
}
}
/**
* Unsets the "StatusSoknadSlv" element
*/
public void unsetStatusSoknadSlv()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(STATUSSOKNADSLV$8, 0);
}
}
/**
* Gets array of all "Egenandel" elements
*/
public no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel[] getEgenandelArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(EGENANDEL$10, targetList);
no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel[] result = new no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "Egenandel" element
*/
public no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel getEgenandelArray(int i)
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel target = null;
target = (no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel)get_store().find_element_user(EGENANDEL$10, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "Egenandel" element
*/
public int sizeOfEgenandelArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EGENANDEL$10);
}
}
/**
* Sets array of all "Egenandel" element
*/
public void setEgenandelArray(no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel[] egenandelArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(egenandelArray, EGENANDEL$10);
}
}
/**
* Sets ith "Egenandel" element
*/
public void setEgenandelArray(int i, no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel egenandel)
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel target = null;
target = (no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel)get_store().find_element_user(EGENANDEL$10, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(egenandel);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "Egenandel" element
*/
public no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel insertNewEgenandel(int i)
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel target = null;
target = (no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel)get_store().insert_element_user(EGENANDEL$10, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "Egenandel" element
*/
public no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel addNewEgenandel()
{
synchronized (monitor())
{
check_orphaned();
no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel target = null;
target = (no.kith.xmlstds.eresept.m94.x20100701.EgenandelDocument.Egenandel)get_store().add_element_user(EGENANDEL$10);
return target;
}
}
/**
* Removes the ith "Egenandel" element
*/
public void removeEgenandel(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EGENANDEL$10, i);
}
}
}
}