All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.grants.apply.forms.sf424V10.impl.CityDocumentImpl Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy