net.opengis.ogc.impl.TMDuringDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: TM_During
* Namespace: http://www.opengis.net/ogc
* Java type: net.opengis.ogc.TMDuringDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.ogc.impl;
/**
* A document containing one TM_During(@http://www.opengis.net/ogc) element.
*
* This is a complex type.
*/
public class TMDuringDocumentImpl extends net.opengis.ogc.impl.TemporalOpsDocumentImpl implements net.opengis.ogc.TMDuringDocument
{
private static final long serialVersionUID = 1L;
public TMDuringDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TMDURING$0 =
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_During");
/**
* Gets the "TM_During" element
*/
public net.opengis.ogc.BinaryTemporalOpType getTMDuring()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.BinaryTemporalOpType target = null;
target = (net.opengis.ogc.BinaryTemporalOpType)get_store().find_element_user(TMDURING$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "TM_During" element
*/
public void setTMDuring(net.opengis.ogc.BinaryTemporalOpType tmDuring)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.BinaryTemporalOpType target = null;
target = (net.opengis.ogc.BinaryTemporalOpType)get_store().find_element_user(TMDURING$0, 0);
if (target == null)
{
target = (net.opengis.ogc.BinaryTemporalOpType)get_store().add_element_user(TMDURING$0);
}
target.set(tmDuring);
}
}
/**
* Appends and returns a new empty "TM_During" element
*/
public net.opengis.ogc.BinaryTemporalOpType addNewTMDuring()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.BinaryTemporalOpType target = null;
target = (net.opengis.ogc.BinaryTemporalOpType)get_store().add_element_user(TMDURING$0);
return target;
}
}
}