net.opengis.sensorml.x20.impl.AbstractPhysicalProcessDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: AbstractPhysicalProcess
* Namespace: http://www.opengis.net/sensorml/2.0
* Java type: net.opengis.sensorml.x20.AbstractPhysicalProcessDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sensorml.x20.impl;
/**
* A document containing one AbstractPhysicalProcess(@http://www.opengis.net/sensorml/2.0) element.
*
* This is a complex type.
*/
public class AbstractPhysicalProcessDocumentImpl extends net.opengis.sensorml.x20.impl.AbstractProcessDocumentImpl implements net.opengis.sensorml.x20.AbstractPhysicalProcessDocument
{
private static final long serialVersionUID = 1L;
public AbstractPhysicalProcessDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ABSTRACTPHYSICALPROCESS$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractPhysicalProcess");
private static final org.apache.xmlbeans.QNameSet ABSTRACTPHYSICALPROCESS$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "PhysicalComponent"),
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "PhysicalSystem"),
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractPhysicalProcess"),
});
/**
* Gets the "AbstractPhysicalProcess" element
*/
public net.opengis.sensorml.x20.AbstractPhysicalProcessType getAbstractPhysicalProcess()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.AbstractPhysicalProcessType target = null;
target = (net.opengis.sensorml.x20.AbstractPhysicalProcessType)get_store().find_element_user(ABSTRACTPHYSICALPROCESS$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "AbstractPhysicalProcess" element
*/
public void setAbstractPhysicalProcess(net.opengis.sensorml.x20.AbstractPhysicalProcessType abstractPhysicalProcess)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.AbstractPhysicalProcessType target = null;
target = (net.opengis.sensorml.x20.AbstractPhysicalProcessType)get_store().find_element_user(ABSTRACTPHYSICALPROCESS$1, 0);
if (target == null)
{
target = (net.opengis.sensorml.x20.AbstractPhysicalProcessType)get_store().add_element_user(ABSTRACTPHYSICALPROCESS$0);
}
target.set(abstractPhysicalProcess);
}
}
/**
* Appends and returns a new empty "AbstractPhysicalProcess" element
*/
public net.opengis.sensorml.x20.AbstractPhysicalProcessType addNewAbstractPhysicalProcess()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.AbstractPhysicalProcessType target = null;
target = (net.opengis.sensorml.x20.AbstractPhysicalProcessType)get_store().add_element_user(ABSTRACTPHYSICALPROCESS$0);
return target;
}
}
}