Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * XML Type:  SurveyProcedureType
   * Namespace: http://www.opengis.net/sampling/1.0
   * Java type: net.opengis.sampling.x10.SurveyProcedureType
   *
   * Automatically generated - do not modify.
   */
  package net.opengis.sampling.x10.impl;
An XML SurveyProcedureType(@http://www.opengis.net/sampling/1.0). This is a complex type.
 
 public class SurveyProcedureTypeImpl extends net.opengis.gml.impl.AbstractFeatureTypeImpl implements net.opengis.sampling.x10.SurveyProcedureType
 {
     private static final long serialVersionUID = 1L;
     
     public SurveyProcedureTypeImpl(org.apache.xmlbeans.SchemaType sType)
     {
         super(sType);
     }
     
     private static final javax.xml.namespace.QName OPERATOR$0 = 
         new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""operator");
     private static final javax.xml.namespace.QName ELEVATIONDATUM$2 = 
         new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""elevationDatum");
     private static final javax.xml.namespace.QName ELEVATIONMETHOD$4 = 
         new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""elevationMethod");
     private static final javax.xml.namespace.QName ELEVATIONACCURACY$6 = 
         new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""elevationAccuracy");
     private static final javax.xml.namespace.QName GEODETICDATUM$8 = 
         new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""geodeticDatum");
     private static final javax.xml.namespace.QName POSITIONMETHOD$10 = 
         new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""positionMethod");
     private static final javax.xml.namespace.QName POSITIONACCURACY$12 = 
         new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""positionAccuracy");
     private static final javax.xml.namespace.QName PROJECTION$14 = 
         new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""projection");
     private static final javax.xml.namespace.QName SURVEYTIME$16 = 
         new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""surveyTime");
    
    
    
Gets the "operator" element
 
     {
         synchronized (monitor())
         {
             check_orphaned();
             net.opengis.sampling.x10.AnyOrReferenceType target = null;
             target = (net.opengis.sampling.x10.AnyOrReferenceType)get_store().find_element_user(OPERATOR$0, 0);
             if (target == null)
             {
                 return null;
             }
             return target;
         }
     }
    
    
True if has "operator" element
 
     public boolean isSetOperator()
     {
         synchronized (monitor())
         {
             check_orphaned();
             return get_store().count_elements(OPERATOR$0) != 0;
         }
     }
    
    
Sets the "operator" element
 
     public void setOperator(net.opengis.sampling.x10.AnyOrReferenceType operator)
     {
         synchronized (monitor())
         {
             check_orphaned();
             net.opengis.sampling.x10.AnyOrReferenceType target = null;
             target = (net.opengis.sampling.x10.AnyOrReferenceType)get_store().find_element_user(OPERATOR$0, 0);
             if (target == null)
             {
                 target = (net.opengis.sampling.x10.AnyOrReferenceType)get_store().add_element_user(OPERATOR$0);
             }
             target.set(operator);
         }
     }
    
    
Appends and returns a new empty "operator" element
 
     {
         synchronized (monitor())
         {
             check_orphaned();
             net.opengis.sampling.x10.AnyOrReferenceType target = null;
            target = (net.opengis.sampling.x10.AnyOrReferenceType)get_store().add_element_user(OPERATOR$0);
            return target;
        }
    }
    
    
Unsets the "operator" element
    public void unsetOperator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(OPERATOR$0, 0);
        }
    }
    
    
Gets the "elevationDatum" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.ReferenceType target = null;
            target = (net.opengis.gml.ReferenceType)get_store().find_element_user(ELEVATIONDATUM$2, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    
True if has "elevationDatum" element
    public boolean isSetElevationDatum()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ELEVATIONDATUM$2) != 0;
        }
    }
    
    
Sets the "elevationDatum" element
    public void setElevationDatum(net.opengis.gml.ReferenceType elevationDatum)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.ReferenceType target = null;
            target = (net.opengis.gml.ReferenceType)get_store().find_element_user(ELEVATIONDATUM$2, 0);
            if (target == null)
            {
                target = (net.opengis.gml.ReferenceType)get_store().add_element_user(ELEVATIONDATUM$2);
            }
            target.set(elevationDatum);
        }
    }
    
    
Appends and returns a new empty "elevationDatum" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.ReferenceType target = null;
            target = (net.opengis.gml.ReferenceType)get_store().add_element_user(ELEVATIONDATUM$2);
            return target;
        }
    }
    
    
Unsets the "elevationDatum" element
    public void unsetElevationDatum()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ELEVATIONDATUM$2, 0);
        }
    }
    
    
Gets the "elevationMethod" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.om.x10.ProcessPropertyType target = null;
            target = (net.opengis.om.x10.ProcessPropertyType)get_store().find_element_user(ELEVATIONMETHOD$4, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    
True if has "elevationMethod" element
    public boolean isSetElevationMethod()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ELEVATIONMETHOD$4) != 0;
        }
    }
    
    
Sets the "elevationMethod" element
    public void setElevationMethod(net.opengis.om.x10.ProcessPropertyType elevationMethod)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.om.x10.ProcessPropertyType target = null;
            target = (net.opengis.om.x10.ProcessPropertyType)get_store().find_element_user(ELEVATIONMETHOD$4, 0);
            if (target == null)
            {
                target = (net.opengis.om.x10.ProcessPropertyType)get_store().add_element_user(ELEVATIONMETHOD$4);
            }
            target.set(elevationMethod);
        }
    }
    
    
Appends and returns a new empty "elevationMethod" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.om.x10.ProcessPropertyType target = null;
            target = (net.opengis.om.x10.ProcessPropertyType)get_store().add_element_user(ELEVATIONMETHOD$4);
            return target;
        }
    }
    
    
Unsets the "elevationMethod" element
    public void unsetElevationMethod()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ELEVATIONMETHOD$4, 0);
        }
    }
    
    
Gets the "elevationAccuracy" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.MeasureType target = null;
            target = (net.opengis.gml.MeasureType)get_store().find_element_user(ELEVATIONACCURACY$6, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    
True if has "elevationAccuracy" element
    public boolean isSetElevationAccuracy()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ELEVATIONACCURACY$6) != 0;
        }
    }
    
    
Sets the "elevationAccuracy" element
    public void setElevationAccuracy(net.opengis.gml.MeasureType elevationAccuracy)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.MeasureType target = null;
            target = (net.opengis.gml.MeasureType)get_store().find_element_user(ELEVATIONACCURACY$6, 0);
            if (target == null)
            {
                target = (net.opengis.gml.MeasureType)get_store().add_element_user(ELEVATIONACCURACY$6);
            }
            target.set(elevationAccuracy);
        }
    }
    
    
Appends and returns a new empty "elevationAccuracy" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.MeasureType target = null;
            target = (net.opengis.gml.MeasureType)get_store().add_element_user(ELEVATIONACCURACY$6);
            return target;
        }
    }
    
    
Unsets the "elevationAccuracy" element
    public void unsetElevationAccuracy()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ELEVATIONACCURACY$6, 0);
        }
    }
    
    
Gets the "geodeticDatum" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.ReferenceType target = null;
            target = (net.opengis.gml.ReferenceType)get_store().find_element_user(GEODETICDATUM$8, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    
True if has "geodeticDatum" element
    public boolean isSetGeodeticDatum()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(GEODETICDATUM$8) != 0;
        }
    }
    
    
Sets the "geodeticDatum" element
    public void setGeodeticDatum(net.opengis.gml.ReferenceType geodeticDatum)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.ReferenceType target = null;
            target = (net.opengis.gml.ReferenceType)get_store().find_element_user(GEODETICDATUM$8, 0);
            if (target == null)
            {
                target = (net.opengis.gml.ReferenceType)get_store().add_element_user(GEODETICDATUM$8);
            }
            target.set(geodeticDatum);
        }
    }
    
    
Appends and returns a new empty "geodeticDatum" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.ReferenceType target = null;
            target = (net.opengis.gml.ReferenceType)get_store().add_element_user(GEODETICDATUM$8);
            return target;
        }
    }
    
    
Unsets the "geodeticDatum" element
    public void unsetGeodeticDatum()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(GEODETICDATUM$8, 0);
        }
    }
    
    
Gets the "positionMethod" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.om.x10.ProcessPropertyType target = null;
            target = (net.opengis.om.x10.ProcessPropertyType)get_store().find_element_user(POSITIONMETHOD$10, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    
Sets the "positionMethod" element
    public void setPositionMethod(net.opengis.om.x10.ProcessPropertyType positionMethod)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.om.x10.ProcessPropertyType target = null;
            target = (net.opengis.om.x10.ProcessPropertyType)get_store().find_element_user(POSITIONMETHOD$10, 0);
            if (target == null)
            {
                target = (net.opengis.om.x10.ProcessPropertyType)get_store().add_element_user(POSITIONMETHOD$10);
            }
            target.set(positionMethod);
        }
    }
    
    
Appends and returns a new empty "positionMethod" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.om.x10.ProcessPropertyType target = null;
            target = (net.opengis.om.x10.ProcessPropertyType)get_store().add_element_user(POSITIONMETHOD$10);
            return target;
        }
    }
    
    
Gets the "positionAccuracy" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.MeasureType target = null;
            target = (net.opengis.gml.MeasureType)get_store().find_element_user(POSITIONACCURACY$12, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    
True if has "positionAccuracy" element
    public boolean isSetPositionAccuracy()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(POSITIONACCURACY$12) != 0;
        }
    }
    
    
Sets the "positionAccuracy" element
    public void setPositionAccuracy(net.opengis.gml.MeasureType positionAccuracy)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.MeasureType target = null;
            target = (net.opengis.gml.MeasureType)get_store().find_element_user(POSITIONACCURACY$12, 0);
            if (target == null)
            {
                target = (net.opengis.gml.MeasureType)get_store().add_element_user(POSITIONACCURACY$12);
            }
            target.set(positionAccuracy);
        }
    }
    
    
Appends and returns a new empty "positionAccuracy" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.MeasureType target = null;
            target = (net.opengis.gml.MeasureType)get_store().add_element_user(POSITIONACCURACY$12);
            return target;
        }
    }
    
    
Unsets the "positionAccuracy" element
    public void unsetPositionAccuracy()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(POSITIONACCURACY$12, 0);
        }
    }
    
    
Gets the "projection" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.ReferenceType target = null;
            target = (net.opengis.gml.ReferenceType)get_store().find_element_user(PROJECTION$14, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    
True if has "projection" element
    public boolean isSetProjection()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PROJECTION$14) != 0;
        }
    }
    
    
Sets the "projection" element
    public void setProjection(net.opengis.gml.ReferenceType projection)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.ReferenceType target = null;
            target = (net.opengis.gml.ReferenceType)get_store().find_element_user(PROJECTION$14, 0);
            if (target == null)
            {
                target = (net.opengis.gml.ReferenceType)get_store().add_element_user(PROJECTION$14);
            }
            target.set(projection);
        }
    }
    
    
Appends and returns a new empty "projection" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.ReferenceType target = null;
            target = (net.opengis.gml.ReferenceType)get_store().add_element_user(PROJECTION$14);
            return target;
        }
    }
    
    
Unsets the "projection" element
    public void unsetProjection()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PROJECTION$14, 0);
        }
    }
    
    
Gets the "surveyTime" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.TimePrimitivePropertyType target = null;
            target = (net.opengis.gml.TimePrimitivePropertyType)get_store().find_element_user(SURVEYTIME$16, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    
True if has "surveyTime" element
    public boolean isSetSurveyTime()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(SURVEYTIME$16) != 0;
        }
    }
    
    
Sets the "surveyTime" element
    public void setSurveyTime(net.opengis.gml.TimePrimitivePropertyType surveyTime)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.TimePrimitivePropertyType target = null;
            target = (net.opengis.gml.TimePrimitivePropertyType)get_store().find_element_user(SURVEYTIME$16, 0);
            if (target == null)
            {
                target = (net.opengis.gml.TimePrimitivePropertyType)get_store().add_element_user(SURVEYTIME$16);
            }
            target.set(surveyTime);
        }
    }
    
    
Appends and returns a new empty "surveyTime" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.TimePrimitivePropertyType target = null;
            target = (net.opengis.gml.TimePrimitivePropertyType)get_store().add_element_user(SURVEYTIME$16);
            return target;
        }
    }
    
    
Unsets the "surveyTime" element
    public void unsetSurveyTime()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(SURVEYTIME$16, 0);
        }
    }
New to GrepCode? Check out our FAQ X