Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * XML Type:  SamplingFeatureCollectionType
   * Namespace: http://www.opengis.net/sampling/1.0
   * Java type: net.opengis.sampling.x10.SamplingFeatureCollectionType
   *
   * Automatically generated - do not modify.
   */
  package net.opengis.sampling.x10.impl;
An XML SamplingFeatureCollectionType(@http://www.opengis.net/sampling/1.0). This is a complex type.
 
 {
     private static final long serialVersionUID = 1L;
     
     public SamplingFeatureCollectionTypeImpl(org.apache.xmlbeans.SchemaType sType)
     {
         super(sType);
     }
     
     private static final javax.xml.namespace.QName MEMBER$0 = 
         new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""member");
    
    
    
Gets array of all "member" elements
 
     {
         synchronized (monitor())
         {
             check_orphaned();
             java.util.List targetList = new java.util.ArrayList();
             get_store().find_all_element_users(MEMBER$0, targetList);
             net.opengis.sampling.x10.SamplingFeaturePropertyType[] result = new net.opengis.sampling.x10.SamplingFeaturePropertyType[targetList.size()];
             targetList.toArray(result);
             return result;
         }
     }
    
    
Gets ith "member" element
 
     {
         synchronized (monitor())
         {
             check_orphaned();
             net.opengis.sampling.x10.SamplingFeaturePropertyType target = null;
             target = (net.opengis.sampling.x10.SamplingFeaturePropertyType)get_store().find_element_user(MEMBER$0, i);
             if (target == null)
             {
                 throw new IndexOutOfBoundsException();
             }
             return target;
         }
     }
    
    
Returns number of "member" element
 
     public int sizeOfMemberArray()
     {
         synchronized (monitor())
         {
             check_orphaned();
             return get_store().count_elements(MEMBER$0);
         }
     }
    
    
Sets array of all "member" element
 
     public void setMemberArray(net.opengis.sampling.x10.SamplingFeaturePropertyType[] memberArray)
     {
         synchronized (monitor())
         {
             check_orphaned();
             arraySetterHelper(memberArray, MEMBER$0);
         }
     }
    
    
Sets ith "member" element
 
     public void setMemberArray(int inet.opengis.sampling.x10.SamplingFeaturePropertyType member)
     {
         synchronized (monitor())
         {
             check_orphaned();
             net.opengis.sampling.x10.SamplingFeaturePropertyType target = null;
             target = (net.opengis.sampling.x10.SamplingFeaturePropertyType)get_store().find_element_user(MEMBER$0, i);
             if (target == null)
             {
                 throw new IndexOutOfBoundsException();
             }
             target.set(member);
        }
    }
    
    
Inserts and returns a new empty value (as xml) as the ith "member" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x10.SamplingFeaturePropertyType target = null;
            target = (net.opengis.sampling.x10.SamplingFeaturePropertyType)get_store().insert_element_user(MEMBER$0, i);
            return target;
        }
    }
    
    
Appends and returns a new empty value (as xml) as the last "member" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x10.SamplingFeaturePropertyType target = null;
            target = (net.opengis.sampling.x10.SamplingFeaturePropertyType)get_store().add_element_user(MEMBER$0);
            return target;
        }
    }
    
    
Removes the ith "member" element
    public void removeMember(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(MEMBER$0, i);
        }
    }
New to GrepCode? Check out our FAQ X