gov.grants.apply.forms.ad3031V10.impl.AD3031DocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: AD_3031
* Namespace: http://apply.grants.gov/forms/AD_3031-V1.0
* Java type: gov.grants.apply.forms.ad3031V10.AD3031Document
*
* Automatically generated - do not modify.
*/
package gov.grants.apply.forms.ad3031V10.impl;
/**
* A document containing one AD_3031(@http://apply.grants.gov/forms/AD_3031-V1.0) element.
*
* This is a complex type.
*/
public class AD3031DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ad3031V10.AD3031Document
{
private static final long serialVersionUID = 1L;
public AD3031DocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName AD3031$0 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "AD_3031");
/**
* Gets the "AD_3031" element
*/
public gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031 getAD3031()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031 target = null;
target = (gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031)get_store().find_element_user(AD3031$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "AD_3031" element
*/
public void setAD3031(gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031 ad3031)
{
generatedSetterHelperImpl(ad3031, AD3031$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "AD_3031" element
*/
public gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031 addNewAD3031()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031 target = null;
target = (gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031)get_store().add_element_user(AD3031$0);
return target;
}
}
/**
* An XML AD_3031(@http://apply.grants.gov/forms/AD_3031-V1.0).
*
* This is a complex type.
*/
public static class AD3031Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031
{
private static final long serialVersionUID = 1L;
public AD3031Impl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName AORSIGNATURE$0 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "AORSignature");
private static final javax.xml.namespace.QName TITLE$2 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "Title");
private static final javax.xml.namespace.QName BUSINESSNAME$4 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "BusinessName");
private static final javax.xml.namespace.QName DATESIGNED$6 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "DateSigned");
private static final javax.xml.namespace.QName FORMVERSION$8 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "FormVersion");
/**
* Gets the "AORSignature" element
*/
public java.lang.String getAORSignature()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AORSIGNATURE$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "AORSignature" element
*/
public gov.grants.apply.system.globalLibraryV20.SignatureDataType xgetAORSignature()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalLibraryV20.SignatureDataType target = null;
target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().find_element_user(AORSIGNATURE$0, 0);
return target;
}
}
/**
* Sets the "AORSignature" element
*/
public void setAORSignature(java.lang.String aorSignature)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AORSIGNATURE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AORSIGNATURE$0);
}
target.setStringValue(aorSignature);
}
}
/**
* Sets (as xml) the "AORSignature" element
*/
public void xsetAORSignature(gov.grants.apply.system.globalLibraryV20.SignatureDataType aorSignature)
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalLibraryV20.SignatureDataType target = null;
target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().find_element_user(AORSIGNATURE$0, 0);
if (target == null)
{
target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().add_element_user(AORSIGNATURE$0);
}
target.set(aorSignature);
}
}
/**
* Gets the "Title" element
*/
public java.lang.String getTitle()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TITLE$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Title" element
*/
public gov.grants.apply.system.globalLibraryV20.HumanTitleDataType xgetTitle()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(TITLE$2, 0);
return target;
}
}
/**
* Sets the "Title" element
*/
public void setTitle(java.lang.String title)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TITLE$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TITLE$2);
}
target.setStringValue(title);
}
}
/**
* Sets (as xml) the "Title" element
*/
public void xsetTitle(gov.grants.apply.system.globalLibraryV20.HumanTitleDataType title)
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(TITLE$2, 0);
if (target == null)
{
target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().add_element_user(TITLE$2);
}
target.set(title);
}
}
/**
* Gets the "BusinessName" element
*/
public java.lang.String getBusinessName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUSINESSNAME$4, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "BusinessName" element
*/
public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetBusinessName()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(BUSINESSNAME$4, 0);
return target;
}
}
/**
* Sets the "BusinessName" element
*/
public void setBusinessName(java.lang.String businessName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUSINESSNAME$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUSINESSNAME$4);
}
target.setStringValue(businessName);
}
}
/**
* Sets (as xml) the "BusinessName" element
*/
public void xsetBusinessName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType businessName)
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(BUSINESSNAME$4, 0);
if (target == null)
{
target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(BUSINESSNAME$4);
}
target.set(businessName);
}
}
/**
* Gets the "DateSigned" element
*/
public java.util.Calendar getDateSigned()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATESIGNED$6, 0);
if (target == null)
{
return null;
}
return target.getCalendarValue();
}
}
/**
* Gets (as xml) the "DateSigned" element
*/
public org.apache.xmlbeans.XmlDate xgetDateSigned()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDate target = null;
target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(DATESIGNED$6, 0);
return target;
}
}
/**
* Sets the "DateSigned" element
*/
public void setDateSigned(java.util.Calendar dateSigned)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATESIGNED$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATESIGNED$6);
}
target.setCalendarValue(dateSigned);
}
}
/**
* Sets (as xml) the "DateSigned" element
*/
public void xsetDateSigned(org.apache.xmlbeans.XmlDate dateSigned)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDate target = null;
target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(DATESIGNED$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(DATESIGNED$6);
}
target.set(dateSigned);
}
}
/**
* Gets the "FormVersion" attribute
*/
public java.lang.String getFormVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$8);
}
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "FormVersion" attribute
*/
public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$8);
if (target == null)
{
target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$8);
}
return target;
}
}
/**
* Sets the "FormVersion" attribute
*/
public void setFormVersion(java.lang.String formVersion)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$8);
}
target.setStringValue(formVersion);
}
}
/**
* Sets (as xml) the "FormVersion" attribute
*/
public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$8);
if (target == null)
{
target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$8);
}
target.set(formVersion);
}
}
}
}