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