Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * An XML document type.
  * Localname: SurveyProcedure
  * Namespace: http://www.opengis.net/sampling/1.0
  * Java type: net.opengis.sampling.x10.SurveyProcedureDocument
  *
  * Automatically generated - do not modify.
  */
 package net.opengis.sampling.x10.impl;
A document containing one SurveyProcedure(@http://www.opengis.net/sampling/1.0) element. This is a complex type.
public class SurveyProcedureDocumentImpl extends net.opengis.gml.impl.FeatureDocumentImpl implements net.opengis.sampling.x10.SurveyProcedureDocument
    private static final long serialVersionUID = 1L;
    
    public SurveyProcedureDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SURVEYPROCEDURE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""SurveyProcedure");
    
    
    
Gets the "SurveyProcedure" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x10.SurveyProcedureType target = null;
            target = (net.opengis.sampling.x10.SurveyProcedureType)get_store().find_element_user(SURVEYPROCEDURE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    
Sets the "SurveyProcedure" element
    public void setSurveyProcedure(net.opengis.sampling.x10.SurveyProcedureType surveyProcedure)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x10.SurveyProcedureType target = null;
            target = (net.opengis.sampling.x10.SurveyProcedureType)get_store().find_element_user(SURVEYPROCEDURE$0, 0);
            if (target == null)
            {
                target = (net.opengis.sampling.x10.SurveyProcedureType)get_store().add_element_user(SURVEYPROCEDURE$0);
            }
            target.set(surveyProcedure);
        }
    }
    
    
Appends and returns a new empty "SurveyProcedure" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x10.SurveyProcedureType target = null;
            target = (net.opengis.sampling.x10.SurveyProcedureType)get_store().add_element_user(SURVEYPROCEDURE$0);
            return target;
        }
    }
New to GrepCode? Check out our FAQ X