
net.opengis.tsml.x10.impl.ObservationProcessDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: ObservationProcess
* Namespace: http://www.opengis.net/tsml/1.0
* Java type: net.opengis.tsml.x10.ObservationProcessDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.tsml.x10.impl;
/**
* A document containing one ObservationProcess(@http://www.opengis.net/tsml/1.0) element.
*
* This is a complex type.
*/
public class ObservationProcessDocumentImpl extends net.opengis.gml.x32.impl.AbstractFeatureDocumentImpl implements net.opengis.tsml.x10.ObservationProcessDocument
{
private static final long serialVersionUID = 1L;
public ObservationProcessDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName OBSERVATIONPROCESS$0 =
new javax.xml.namespace.QName("http://www.opengis.net/tsml/1.0", "ObservationProcess");
/**
* Gets the "ObservationProcess" element
*/
public net.opengis.tsml.x10.ObservationProcessType getObservationProcess()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.tsml.x10.ObservationProcessType target = null;
target = (net.opengis.tsml.x10.ObservationProcessType)get_store().find_element_user(OBSERVATIONPROCESS$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "ObservationProcess" element
*/
public void setObservationProcess(net.opengis.tsml.x10.ObservationProcessType observationProcess)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.tsml.x10.ObservationProcessType target = null;
target = (net.opengis.tsml.x10.ObservationProcessType)get_store().find_element_user(OBSERVATIONPROCESS$0, 0);
if (target == null)
{
target = (net.opengis.tsml.x10.ObservationProcessType)get_store().add_element_user(OBSERVATIONPROCESS$0);
}
target.set(observationProcess);
}
}
/**
* Appends and returns a new empty "ObservationProcess" element
*/
public net.opengis.tsml.x10.ObservationProcessType addNewObservationProcess()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.tsml.x10.ObservationProcessType target = null;
target = (net.opengis.tsml.x10.ObservationProcessType)get_store().add_element_user(OBSERVATIONPROCESS$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy