net.opengis.sensorml.x20.impl.AbstractMetadataListTypeImpl Maven / Gradle / Ivy
/*
* XML Type: AbstractMetadataListType
* Namespace: http://www.opengis.net/sensorml/2.0
* Java type: net.opengis.sensorml.x20.AbstractMetadataListType
*
* Automatically generated - do not modify.
*/
package net.opengis.sensorml.x20.impl;
/**
* An XML AbstractMetadataListType(@http://www.opengis.net/sensorml/2.0).
*
* This is a complex type.
*/
public class AbstractMetadataListTypeImpl extends net.opengis.swe.x20.impl.AbstractSWEIdentifiableTypeImpl implements net.opengis.sensorml.x20.AbstractMetadataListType
{
private static final long serialVersionUID = 1L;
public AbstractMetadataListTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DEFINITION$0 =
new javax.xml.namespace.QName("", "definition");
/**
* 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$0);
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$0);
return target;
}
}
/**
* True if has "definition" attribute
*/
public boolean isSetDefinition()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(DEFINITION$0) != 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$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DEFINITION$0);
}
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$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(DEFINITION$0);
}
target.set(definition);
}
}
/**
* Unsets the "definition" attribute
*/
public void unsetDefinition()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(DEFINITION$0);
}
}
}