gov.grants.apply.forms.sf424V10.impl.EmployerIDDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: EmployerID
* Namespace: http://apply.grants.gov/forms/SF424-V1.0
* Java type: gov.grants.apply.forms.sf424V10.EmployerIDDocument
*
* Automatically generated - do not modify.
*/
package gov.grants.apply.forms.sf424V10.impl;
/**
* A document containing one EmployerID(@http://apply.grants.gov/forms/SF424-V1.0) element.
*
* This is a complex type.
*/
public class EmployerIDDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.EmployerIDDocument
{
private static final long serialVersionUID = 1L;
public EmployerIDDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName EMPLOYERID$0 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "EmployerID");
/**
* Gets the "EmployerID" element
*/
public java.lang.String getEmployerID()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EMPLOYERID$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "EmployerID" element
*/
public gov.grants.apply.system.globalV10.StringMin1Max30Type xgetEmployerID()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalV10.StringMin1Max30Type target = null;
target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().find_element_user(EMPLOYERID$0, 0);
return target;
}
}
/**
* Sets the "EmployerID" element
*/
public void setEmployerID(java.lang.String employerID)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EMPLOYERID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(EMPLOYERID$0);
}
target.setStringValue(employerID);
}
}
/**
* Sets (as xml) the "EmployerID" element
*/
public void xsetEmployerID(gov.grants.apply.system.globalV10.StringMin1Max30Type employerID)
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalV10.StringMin1Max30Type target = null;
target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().find_element_user(EMPLOYERID$0, 0);
if (target == null)
{
target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().add_element_user(EMPLOYERID$0);
}
target.set(employerID);
}
}
}