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