net.opengis.swe.x20.impl.AbstractDataComponentDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: AbstractDataComponent
* Namespace: http://www.opengis.net/swe/2.0
* Java type: net.opengis.swe.x20.AbstractDataComponentDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x20.impl;
/**
* A document containing one AbstractDataComponent(@http://www.opengis.net/swe/2.0) element.
*
* This is a complex type.
*/
public class AbstractDataComponentDocumentImpl extends net.opengis.swe.x20.impl.AbstractSWEIdentifiableDocumentImpl implements net.opengis.swe.x20.AbstractDataComponentDocument
{
private static final long serialVersionUID = 1L;
public AbstractDataComponentDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ABSTRACTDATACOMPONENT$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractDataComponent");
private static final org.apache.xmlbeans.QNameSet ABSTRACTDATACOMPONENT$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Vector"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "DataChoice"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Boolean"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractSimpleComponent"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "DataRecord"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractDataComponent"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "TimeRange"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "CountRange"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Matrix"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "CategoryRange"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "DataArray"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Quantity"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Count"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "QuantityRange"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Time"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Text"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Category"),
});
/**
* Gets the "AbstractDataComponent" element
*/
public net.opengis.swe.x20.AbstractDataComponentType getAbstractDataComponent()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.AbstractDataComponentType target = null;
target = (net.opengis.swe.x20.AbstractDataComponentType)get_store().find_element_user(ABSTRACTDATACOMPONENT$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "AbstractDataComponent" element
*/
public void setAbstractDataComponent(net.opengis.swe.x20.AbstractDataComponentType abstractDataComponent)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.AbstractDataComponentType target = null;
target = (net.opengis.swe.x20.AbstractDataComponentType)get_store().find_element_user(ABSTRACTDATACOMPONENT$1, 0);
if (target == null)
{
target = (net.opengis.swe.x20.AbstractDataComponentType)get_store().add_element_user(ABSTRACTDATACOMPONENT$0);
}
target.set(abstractDataComponent);
}
}
/**
* Appends and returns a new empty "AbstractDataComponent" element
*/
public net.opengis.swe.x20.AbstractDataComponentType addNewAbstractDataComponent()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.AbstractDataComponentType target = null;
target = (net.opengis.swe.x20.AbstractDataComponentType)get_store().add_element_user(ABSTRACTDATACOMPONENT$0);
return target;
}
}
}