gov.grants.apply.system.globalV10.impl.AgencySchemaVersionAttributeImpl Maven / Gradle / Ivy
/*
* An XML attribute type.
* Localname: agencySchemaVersion
* Namespace: http://apply.grants.gov/system/Global-V1.0
* Java type: gov.grants.apply.system.globalV10.AgencySchemaVersionAttribute
*
* Automatically generated - do not modify.
*/
package gov.grants.apply.system.globalV10.impl;
/**
* A document containing one agencySchemaVersion(@http://apply.grants.gov/system/Global-V1.0) attribute.
*
* This is a complex type.
*/
public class AgencySchemaVersionAttributeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.globalV10.AgencySchemaVersionAttribute
{
private static final long serialVersionUID = 1L;
public AgencySchemaVersionAttributeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName AGENCYSCHEMAVERSION$0 =
new javax.xml.namespace.QName("http://apply.grants.gov/system/Global-V1.0", "agencySchemaVersion");
/**
* Gets the "agencySchemaVersion" attribute
*/
public java.lang.String getAgencySchemaVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AGENCYSCHEMAVERSION$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "agencySchemaVersion" attribute
*/
public org.apache.xmlbeans.XmlString xgetAgencySchemaVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(AGENCYSCHEMAVERSION$0);
return target;
}
}
/**
* True if has "agencySchemaVersion" attribute
*/
public boolean isSetAgencySchemaVersion()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(AGENCYSCHEMAVERSION$0) != null;
}
}
/**
* Sets the "agencySchemaVersion" attribute
*/
public void setAgencySchemaVersion(java.lang.String agencySchemaVersion)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AGENCYSCHEMAVERSION$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(AGENCYSCHEMAVERSION$0);
}
target.setStringValue(agencySchemaVersion);
}
}
/**
* Sets (as xml) the "agencySchemaVersion" attribute
*/
public void xsetAgencySchemaVersion(org.apache.xmlbeans.XmlString agencySchemaVersion)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(AGENCYSCHEMAVERSION$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(AGENCYSCHEMAVERSION$0);
}
target.set(agencySchemaVersion);
}
}
/**
* Unsets the "agencySchemaVersion" attribute
*/
public void unsetAgencySchemaVersion()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(AGENCYSCHEMAVERSION$0);
}
}
}