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