net.opengis.sensorml.x20.impl.AbstractAlgorithmDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: AbstractAlgorithm
* Namespace: http://www.opengis.net/sensorml/2.0
* Java type: net.opengis.sensorml.x20.AbstractAlgorithmDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sensorml.x20.impl;
/**
* A document containing one AbstractAlgorithm(@http://www.opengis.net/sensorml/2.0) element.
*
* This is a complex type.
*/
public class AbstractAlgorithmDocumentImpl extends net.opengis.gml.x32.impl.AbstractObjectDocumentImpl implements net.opengis.sensorml.x20.AbstractAlgorithmDocument
{
private static final long serialVersionUID = 1L;
public AbstractAlgorithmDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ABSTRACTALGORITHM$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractAlgorithm");
/**
* Gets the "AbstractAlgorithm" element
*/
public net.opengis.sensorml.x20.AbstractAlgorithmType getAbstractAlgorithm()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.AbstractAlgorithmType target = null;
target = (net.opengis.sensorml.x20.AbstractAlgorithmType)get_store().find_element_user(ABSTRACTALGORITHM$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "AbstractAlgorithm" element
*/
public void setAbstractAlgorithm(net.opengis.sensorml.x20.AbstractAlgorithmType abstractAlgorithm)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.AbstractAlgorithmType target = null;
target = (net.opengis.sensorml.x20.AbstractAlgorithmType)get_store().find_element_user(ABSTRACTALGORITHM$0, 0);
if (target == null)
{
target = (net.opengis.sensorml.x20.AbstractAlgorithmType)get_store().add_element_user(ABSTRACTALGORITHM$0);
}
target.set(abstractAlgorithm);
}
}
/**
* Appends and returns a new empty "AbstractAlgorithm" element
*/
public net.opengis.sensorml.x20.AbstractAlgorithmType addNewAbstractAlgorithm()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.AbstractAlgorithmType target = null;
target = (net.opengis.sensorml.x20.AbstractAlgorithmType)get_store().add_element_user(ABSTRACTALGORITHM$0);
return target;
}
}
}