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