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

gov.grants.apply.system.globalLibraryV10.impl.OrganizationNameDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: OrganizationName
 * Namespace: http://apply.grants.gov/system/GlobalLibrary-V1.0
 * Java type: gov.grants.apply.system.globalLibraryV10.OrganizationNameDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.system.globalLibraryV10.impl;
/**
 * A document containing one OrganizationName(@http://apply.grants.gov/system/GlobalLibrary-V1.0) element.
 *
 * This is a complex type.
 */
public class OrganizationNameDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.globalLibraryV10.OrganizationNameDocument
{
    private static final long serialVersionUID = 1L;
    
    public OrganizationNameDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ORGANIZATIONNAME$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/system/GlobalLibrary-V1.0", "OrganizationName");
    
    
    /**
     * Gets the "OrganizationName" element
     */
    public java.lang.String getOrganizationName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORGANIZATIONNAME$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "OrganizationName" element
     */
    public gov.grants.apply.system.globalV10.StringMin1Max120Type xgetOrganizationName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.system.globalV10.StringMin1Max120Type target = null;
            target = (gov.grants.apply.system.globalV10.StringMin1Max120Type)get_store().find_element_user(ORGANIZATIONNAME$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "OrganizationName" element
     */
    public void setOrganizationName(java.lang.String organizationName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORGANIZATIONNAME$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ORGANIZATIONNAME$0);
            }
            target.setStringValue(organizationName);
        }
    }
    
    /**
     * Sets (as xml) the "OrganizationName" element
     */
    public void xsetOrganizationName(gov.grants.apply.system.globalV10.StringMin1Max120Type organizationName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.system.globalV10.StringMin1Max120Type target = null;
            target = (gov.grants.apply.system.globalV10.StringMin1Max120Type)get_store().find_element_user(ORGANIZATIONNAME$0, 0);
            if (target == null)
            {
                target = (gov.grants.apply.system.globalV10.StringMin1Max120Type)get_store().add_element_user(ORGANIZATIONNAME$0);
            }
            target.set(organizationName);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy