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