net.opengis.swe.x10.impl.AbstractDataComponentTypeImpl Maven / Gradle / Ivy
/*
* XML Type: AbstractDataComponentType
* Namespace: http://www.opengis.net/swe/1.0
* Java type: net.opengis.swe.x10.AbstractDataComponentType
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x10.impl;
/**
* An XML AbstractDataComponentType(@http://www.opengis.net/swe/1.0).
*
* This is a complex type.
*/
public class AbstractDataComponentTypeImpl extends net.opengis.gml.impl.AbstractGMLTypeImpl implements net.opengis.swe.x10.AbstractDataComponentType
{
private static final long serialVersionUID = 1L;
public AbstractDataComponentTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName FIXED$0 =
new javax.xml.namespace.QName("", "fixed");
private static final javax.xml.namespace.QName DEFINITION$2 =
new javax.xml.namespace.QName("", "definition");
/**
* Gets the "fixed" attribute
*/
public boolean getFixed()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FIXED$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FIXED$0);
}
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "fixed" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetFixed()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(FIXED$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(FIXED$0);
}
return target;
}
}
/**
* True if has "fixed" attribute
*/
public boolean isSetFixed()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(FIXED$0) != null;
}
}
/**
* Sets the "fixed" attribute
*/
public void setFixed(boolean fixed)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FIXED$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FIXED$0);
}
target.setBooleanValue(fixed);
}
}
/**
* Sets (as xml) the "fixed" attribute
*/
public void xsetFixed(org.apache.xmlbeans.XmlBoolean fixed)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(FIXED$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(FIXED$0);
}
target.set(fixed);
}
}
/**
* Unsets the "fixed" attribute
*/
public void unsetFixed()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(FIXED$0);
}
}
/**
* Gets the "definition" attribute
*/
public java.lang.String getDefinition()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEFINITION$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "definition" attribute
*/
public org.apache.xmlbeans.XmlAnyURI xgetDefinition()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(DEFINITION$2);
return target;
}
}
/**
* True if has "definition" attribute
*/
public boolean isSetDefinition()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(DEFINITION$2) != null;
}
}
/**
* Sets the "definition" attribute
*/
public void setDefinition(java.lang.String definition)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEFINITION$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DEFINITION$2);
}
target.setStringValue(definition);
}
}
/**
* Sets (as xml) the "definition" attribute
*/
public void xsetDefinition(org.apache.xmlbeans.XmlAnyURI definition)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(DEFINITION$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(DEFINITION$2);
}
target.set(definition);
}
}
/**
* Unsets the "definition" attribute
*/
public void unsetDefinition()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(DEFINITION$2);
}
}
}