/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public FeatureTypeListType createFeatureTypeListType() { FeatureTypeListTypeImpl featureTypeListType = new FeatureTypeListTypeImpl(); return featureTypeListType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS: return basicSetOperations(null, msgs); case WfsPackage.FEATURE_TYPE_LIST_TYPE__FEATURE_TYPE: return ((InternalEList)getFeatureType()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS: return getOperations(); case WfsPackage.FEATURE_TYPE_LIST_TYPE__FEATURE_TYPE: return getFeatureType(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS: setOperations((OperationsType)newValue); return; case WfsPackage.FEATURE_TYPE_LIST_TYPE__FEATURE_TYPE: getFeatureType().clear(); getFeatureType().addAll((Collection)newValue); return; } super.eSet(featureID, newValue); }
/** * True if has "Operations" element */ public boolean isSetOperations() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(OPERATIONS$0) != 0; } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setOperations(OperationsType newOperations) { if (newOperations != operations) { NotificationChain msgs = null; if (operations != null) msgs = ((InternalEObject)operations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS, null, msgs); if (newOperations != null) msgs = ((InternalEObject)newOperations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS, null, msgs); msgs = basicSetOperations(newOperations, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS, newOperations, newOperations)); }
/** * Sets array of all "FeatureType" element */ public void setFeatureTypeArray(net.opengis.wfs.FeatureTypeType[] featureTypeArray) { synchronized (monitor()) { check_orphaned(); arraySetterHelper(featureTypeArray, FEATURETYPE$2); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setOperations(OperationsType newOperations) { if (newOperations != operations) { NotificationChain msgs = null; if (operations != null) msgs = ((InternalEObject)operations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS, null, msgs); if (newOperations != null) msgs = ((InternalEObject)newOperations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS, null, msgs); msgs = basicSetOperations(newOperations, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS, newOperations, newOperations)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetOperations(OperationsType newOperations, NotificationChain msgs) { OperationsType oldOperations = operations; operations = newOperations; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS, oldOperations, newOperations); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
/** * Removes the ith "FeatureType" element */ public void removeFeatureType(int i) { synchronized (monitor()) { check_orphaned(); get_store().remove_element(FEATURETYPE$2, i); } } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eUnset(int featureID) { switch (featureID) { case WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS: setOperations((OperationsType)null); return; case WfsPackage.FEATURE_TYPE_LIST_TYPE__FEATURE_TYPE: getFeatureType().clear(); return; } super.eUnset(featureID); }
/** * Unsets the "Operations" element */ public void unsetOperations() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(OPERATIONS$0, 0); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS: setOperations((OperationsType)newValue); return; case WfsPackage.FEATURE_TYPE_LIST_TYPE__FEATURE_TYPE: getFeatureType().clear(); getFeatureType().addAll((Collection)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS: return basicSetOperations(null, msgs); case WfsPackage.FEATURE_TYPE_LIST_TYPE__FEATURE_TYPE: return ((InternalEList)getFeatureType()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS: return getOperations(); case WfsPackage.FEATURE_TYPE_LIST_TYPE__FEATURE_TYPE: return getFeatureType(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public FeatureTypeListType createFeatureTypeListType() { FeatureTypeListTypeImpl featureTypeListType = new FeatureTypeListTypeImpl(); return featureTypeListType; }
/** * Returns number of "FeatureType" element */ public int sizeOfFeatureTypeArray() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(FEATURETYPE$2); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eUnset(int featureID) { switch (featureID) { case WfsPackage.FEATURE_TYPE_LIST_TYPE__OPERATIONS: setOperations((OperationsType)null); return; case WfsPackage.FEATURE_TYPE_LIST_TYPE__FEATURE_TYPE: getFeatureType().clear(); return; } super.eUnset(featureID); }
/** * Appends and returns a new empty "Operations" element */ public net.opengis.wfs.OperationsType addNewOperations() { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.OperationsType target = null; target = (net.opengis.wfs.OperationsType)get_store().add_element_user(OPERATIONS$0); return target; } }
/** * Appends and returns a new empty value (as xml) as the last "FeatureType" element */ public net.opengis.wfs.FeatureTypeType addNewFeatureType() { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.FeatureTypeType target = null; target = (net.opengis.wfs.FeatureTypeType)get_store().add_element_user(FEATURETYPE$2); return target; } }