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

net.opengis.watermlDr.x20.impl.AnnotationCoverageDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: AnnotationCoverage
 * Namespace: http://www.opengis.net/waterml-dr/2.0
 * Java type: net.opengis.watermlDr.x20.AnnotationCoverageDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.watermlDr.x20.impl;
/**
 * A document containing one AnnotationCoverage(@http://www.opengis.net/waterml-dr/2.0) element.
 *
 * This is a complex type.
 */
public class AnnotationCoverageDocumentImpl extends net.opengis.gmlcov.x10.impl.AbstractDiscreteCoverageDocumentImpl implements net.opengis.watermlDr.x20.AnnotationCoverageDocument
{
    private static final long serialVersionUID = 1L;
    
    public AnnotationCoverageDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ANNOTATIONCOVERAGE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/waterml-dr/2.0", "AnnotationCoverage");
    
    
    /**
     * Gets the "AnnotationCoverage" element
     */
    public net.opengis.watermlDr.x20.AnnotationCoverageType getAnnotationCoverage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.watermlDr.x20.AnnotationCoverageType target = null;
            target = (net.opengis.watermlDr.x20.AnnotationCoverageType)get_store().find_element_user(ANNOTATIONCOVERAGE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AnnotationCoverage" element
     */
    public void setAnnotationCoverage(net.opengis.watermlDr.x20.AnnotationCoverageType annotationCoverage)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.watermlDr.x20.AnnotationCoverageType target = null;
            target = (net.opengis.watermlDr.x20.AnnotationCoverageType)get_store().find_element_user(ANNOTATIONCOVERAGE$0, 0);
            if (target == null)
            {
                target = (net.opengis.watermlDr.x20.AnnotationCoverageType)get_store().add_element_user(ANNOTATIONCOVERAGE$0);
            }
            target.set(annotationCoverage);
        }
    }
    
    /**
     * Appends and returns a new empty "AnnotationCoverage" element
     */
    public net.opengis.watermlDr.x20.AnnotationCoverageType addNewAnnotationCoverage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.watermlDr.x20.AnnotationCoverageType target = null;
            target = (net.opengis.watermlDr.x20.AnnotationCoverageType)get_store().add_element_user(ANNOTATIONCOVERAGE$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy