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