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