All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.opengis.ogc.impl.TMEqualsDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: TM_Equals
 * Namespace: http://www.opengis.net/ogc
 * Java type: net.opengis.ogc.TMEqualsDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.ogc.impl;
/**
 * A document containing one TM_Equals(@http://www.opengis.net/ogc) element.
 *
 * This is a complex type.
 */
public class TMEqualsDocumentImpl extends net.opengis.ogc.impl.TemporalOpsDocumentImpl implements net.opengis.ogc.TMEqualsDocument
{
    private static final long serialVersionUID = 1L;
    
    public TMEqualsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TMEQUALS$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Equals");
    
    
    /**
     * Gets the "TM_Equals" element
     */
    public net.opengis.ogc.BinaryTemporalOpType getTMEquals()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ogc.BinaryTemporalOpType target = null;
            target = (net.opengis.ogc.BinaryTemporalOpType)get_store().find_element_user(TMEQUALS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "TM_Equals" element
     */
    public void setTMEquals(net.opengis.ogc.BinaryTemporalOpType tmEquals)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ogc.BinaryTemporalOpType target = null;
            target = (net.opengis.ogc.BinaryTemporalOpType)get_store().find_element_user(TMEQUALS$0, 0);
            if (target == null)
            {
                target = (net.opengis.ogc.BinaryTemporalOpType)get_store().add_element_user(TMEQUALS$0);
            }
            target.set(tmEquals);
        }
    }
    
    /**
     * Appends and returns a new empty "TM_Equals" element
     */
    public net.opengis.ogc.BinaryTemporalOpType addNewTMEquals()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ogc.BinaryTemporalOpType target = null;
            target = (net.opengis.ogc.BinaryTemporalOpType)get_store().add_element_user(TMEQUALS$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy