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