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