
org.isotc211.x2005.gco.impl.NilReasonAttributeImpl Maven / Gradle / Ivy
/*
* An XML attribute type.
* Localname: nilReason
* Namespace: http://www.isotc211.org/2005/gco
* Java type: org.isotc211.x2005.gco.NilReasonAttribute
*
* Automatically generated - do not modify.
*/
package org.isotc211.x2005.gco.impl;
/**
* A document containing one nilReason(@http://www.isotc211.org/2005/gco) attribute.
*
* This is a complex type.
*/
public class NilReasonAttributeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.isotc211.x2005.gco.NilReasonAttribute
{
private static final long serialVersionUID = 1L;
public NilReasonAttributeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName NILREASON$0 =
new javax.xml.namespace.QName("http://www.isotc211.org/2005/gco", "nilReason");
/**
* Gets the "nilReason" attribute
*/
public java.lang.Object getNilReason()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NILREASON$0);
if (target == null)
{
return null;
}
return target.getObjectValue();
}
}
/**
* Gets (as xml) the "nilReason" attribute
*/
public net.opengis.gml.x32.NilReasonType xgetNilReason()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.NilReasonType target = null;
target = (net.opengis.gml.x32.NilReasonType)get_store().find_attribute_user(NILREASON$0);
return target;
}
}
/**
* True if has "nilReason" attribute
*/
public boolean isSetNilReason()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(NILREASON$0) != null;
}
}
/**
* Sets the "nilReason" attribute
*/
public void setNilReason(java.lang.Object nilReason)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NILREASON$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NILREASON$0);
}
target.setObjectValue(nilReason);
}
}
/**
* Sets (as xml) the "nilReason" attribute
*/
public void xsetNilReason(net.opengis.gml.x32.NilReasonType nilReason)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.NilReasonType target = null;
target = (net.opengis.gml.x32.NilReasonType)get_store().find_attribute_user(NILREASON$0);
if (target == null)
{
target = (net.opengis.gml.x32.NilReasonType)get_store().add_attribute_user(NILREASON$0);
}
target.set(nilReason);
}
}
/**
* Unsets the "nilReason" attribute
*/
public void unsetNilReason()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(NILREASON$0);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy