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