/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public InsertResultsType createInsertResultsType() { InsertResultsTypeImpl insertResultsType = new InsertResultsTypeImpl(); return insertResultsType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case WfsPackage.INSERT_RESULTS_TYPE__FEATURE: getFeature().clear(); getFeature().addAll((Collection)newValue); return; } super.eSet(featureID, newValue); }
/** * Removes the ith "Feature" element */ public void removeFeature(int i) { synchronized (monitor()) { check_orphaned(); get_store().remove_element(FEATURE$0, i); } } }
/** * Sets array of all "Feature" element */ public void setFeatureArray(net.opengis.wfs.InsertedFeatureType[] featureArray) { synchronized (monitor()) { check_orphaned(); arraySetterHelper(featureArray, FEATURE$0); } }
/** * Returns number of "Feature" element */ public int sizeOfFeatureArray() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(FEATURE$0); } }
/** * Inserts and returns a new empty value (as xml) as the ith "Feature" element */ public net.opengis.wfs.InsertedFeatureType insertNewFeature(int i) { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.InsertedFeatureType target = null; target = (net.opengis.wfs.InsertedFeatureType)get_store().insert_element_user(FEATURE$0, i); return target; } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case WfsPackage.INSERT_RESULTS_TYPE__FEATURE: return getFeature(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public InsertResultsType createInsertResultsType() { InsertResultsTypeImpl insertResultsType = new InsertResultsTypeImpl(); return insertResultsType; }
/** * Appends and returns a new empty value (as xml) as the last "Feature" element */ public net.opengis.wfs.InsertedFeatureType addNewFeature() { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.InsertedFeatureType target = null; target = (net.opengis.wfs.InsertedFeatureType)get_store().add_element_user(FEATURE$0); return target; } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eUnset(int featureID) { switch (featureID) { case WfsPackage.INSERT_RESULTS_TYPE__FEATURE: getFeature().clear(); return; } super.eUnset(featureID); }
/** * Gets ith "Feature" element */ public net.opengis.wfs.InsertedFeatureType getFeatureArray(int i) { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.InsertedFeatureType target = null; target = (net.opengis.wfs.InsertedFeatureType)get_store().find_element_user(FEATURE$0, i); if (target == null) { throw new IndexOutOfBoundsException(); } return target; } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case WfsPackage.INSERT_RESULTS_TYPE__FEATURE: return ((InternalEList)getFeature()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * Gets array of all "Feature" elements */ public net.opengis.wfs.InsertedFeatureType[] getFeatureArray() { synchronized (monitor()) { check_orphaned(); java.util.List targetList = new java.util.ArrayList(); get_store().find_all_element_users(FEATURE$0, targetList); net.opengis.wfs.InsertedFeatureType[] result = new net.opengis.wfs.InsertedFeatureType[targetList.size()]; targetList.toArray(result); return result; } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case WfsPackage.INSERT_RESULTS_TYPE__FEATURE: getFeature().clear(); getFeature().addAll((Collection)newValue); return; } super.eSet(featureID, newValue); }
/** * Sets ith "Feature" element */ public void setFeatureArray(int i, net.opengis.wfs.InsertedFeatureType feature) { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.InsertedFeatureType target = null; target = (net.opengis.wfs.InsertedFeatureType)get_store().find_element_user(FEATURE$0, i); if (target == null) { throw new IndexOutOfBoundsException(); } target.set(feature); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case WfsPackage.INSERT_RESULTS_TYPE__FEATURE: return getFeature(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eUnset(int featureID) { switch (featureID) { case WfsPackage.INSERT_RESULTS_TYPE__FEATURE: getFeature().clear(); return; } super.eUnset(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case WfsPackage.INSERT_RESULTS_TYPE__FEATURE: return ((InternalEList)getFeature()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }