gov.grants.apply.forms.sf424V10.impl.StateReviewCodeDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: StateReviewCode
* Namespace: http://apply.grants.gov/forms/SF424-V1.0
* Java type: gov.grants.apply.forms.sf424V10.StateReviewCodeDocument
*
* Automatically generated - do not modify.
*/
package gov.grants.apply.forms.sf424V10.impl;
/**
* A document containing one StateReviewCode(@http://apply.grants.gov/forms/SF424-V1.0) element.
*
* This is a complex type.
*/
public class StateReviewCodeDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.StateReviewCodeDocument
{
private static final long serialVersionUID = 1L;
public StateReviewCodeDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName STATEREVIEWCODE$0 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "StateReviewCode");
/**
* Gets the "StateReviewCode" element
*/
public gov.grants.apply.forms.sf424V10.StateReviewCodeType.Enum getStateReviewCode()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATEREVIEWCODE$0, 0);
if (target == null)
{
return null;
}
return (gov.grants.apply.forms.sf424V10.StateReviewCodeType.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "StateReviewCode" element
*/
public gov.grants.apply.forms.sf424V10.StateReviewCodeType xgetStateReviewCode()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424V10.StateReviewCodeType target = null;
target = (gov.grants.apply.forms.sf424V10.StateReviewCodeType)get_store().find_element_user(STATEREVIEWCODE$0, 0);
return target;
}
}
/**
* Sets the "StateReviewCode" element
*/
public void setStateReviewCode(gov.grants.apply.forms.sf424V10.StateReviewCodeType.Enum stateReviewCode)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATEREVIEWCODE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATEREVIEWCODE$0);
}
target.setEnumValue(stateReviewCode);
}
}
/**
* Sets (as xml) the "StateReviewCode" element
*/
public void xsetStateReviewCode(gov.grants.apply.forms.sf424V10.StateReviewCodeType stateReviewCode)
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424V10.StateReviewCodeType target = null;
target = (gov.grants.apply.forms.sf424V10.StateReviewCodeType)get_store().find_element_user(STATEREVIEWCODE$0, 0);
if (target == null)
{
target = (gov.grants.apply.forms.sf424V10.StateReviewCodeType)get_store().add_element_user(STATEREVIEWCODE$0);
}
target.set(stateReviewCode);
}
}
}