/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public GMLObjectTypeType createGMLObjectTypeType() { GMLObjectTypeTypeImpl gmlObjectTypeType = new GMLObjectTypeTypeImpl(); return gmlObjectTypeType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case WfsPackage.GML_OBJECT_TYPE_TYPE__KEYWORDS: return ((InternalEList)getKeywords()).basicRemove(otherEnd, msgs); case WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS: return basicSetOutputFormats(null, 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.GML_OBJECT_TYPE_TYPE__NAME: return getName(); case WfsPackage.GML_OBJECT_TYPE_TYPE__TITLE: return getTitle(); case WfsPackage.GML_OBJECT_TYPE_TYPE__ABSTRACT: return getAbstract(); case WfsPackage.GML_OBJECT_TYPE_TYPE__KEYWORDS: return getKeywords(); case WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS: return getOutputFormats(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eUnset(int featureID) { switch (featureID) { case WfsPackage.GML_OBJECT_TYPE_TYPE__NAME: setName(NAME_EDEFAULT); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__TITLE: setTitle(TITLE_EDEFAULT); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__ABSTRACT: setAbstract(ABSTRACT_EDEFAULT); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__KEYWORDS: getKeywords().clear(); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS: setOutputFormats((OutputFormatListType)null); return; } super.eUnset(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setOutputFormats(OutputFormatListType newOutputFormats) { if (newOutputFormats != outputFormats) { NotificationChain msgs = null; if (outputFormats != null) msgs = ((InternalEObject)outputFormats).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS, null, msgs); if (newOutputFormats != null) msgs = ((InternalEObject)newOutputFormats).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS, null, msgs); msgs = basicSetOutputFormats(newOutputFormats, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS, newOutputFormats, newOutputFormats)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setOutputFormats(OutputFormatListType newOutputFormats) { if (newOutputFormats != outputFormats) { NotificationChain msgs = null; if (outputFormats != null) msgs = ((InternalEObject)outputFormats).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS, null, msgs); if (newOutputFormats != null) msgs = ((InternalEObject)newOutputFormats).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS, null, msgs); msgs = basicSetOutputFormats(newOutputFormats, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS, newOutputFormats, newOutputFormats)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case WfsPackage.GML_OBJECT_TYPE_TYPE__NAME: setName((QName)newValue); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__TITLE: setTitle((String)newValue); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__ABSTRACT: setAbstract((String)newValue); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__KEYWORDS: getKeywords().clear(); getKeywords().addAll((Collection)newValue); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS: setOutputFormats((OutputFormatListType)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eUnset(int featureID) { switch (featureID) { case WfsPackage.GML_OBJECT_TYPE_TYPE__NAME: setName(NAME_EDEFAULT); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__TITLE: setTitle(TITLE_EDEFAULT); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__ABSTRACT: setAbstract(ABSTRACT_EDEFAULT); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__KEYWORDS: getKeywords().clear(); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS: setOutputFormats((OutputFormatListType)null); return; } super.eUnset(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case WfsPackage.GML_OBJECT_TYPE_TYPE__NAME: return getName(); case WfsPackage.GML_OBJECT_TYPE_TYPE__TITLE: return getTitle(); case WfsPackage.GML_OBJECT_TYPE_TYPE__ABSTRACT: return getAbstract(); case WfsPackage.GML_OBJECT_TYPE_TYPE__KEYWORDS: return getKeywords(); case WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS: return getOutputFormats(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case WfsPackage.GML_OBJECT_TYPE_TYPE__KEYWORDS: return ((InternalEList)getKeywords()).basicRemove(otherEnd, msgs); case WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS: return basicSetOutputFormats(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public GMLObjectTypeType createGMLObjectTypeType() { GMLObjectTypeTypeImpl gmlObjectTypeType = new GMLObjectTypeTypeImpl(); return gmlObjectTypeType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case WfsPackage.GML_OBJECT_TYPE_TYPE__NAME: setName((QName)newValue); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__TITLE: setTitle((String)newValue); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__ABSTRACT: setAbstract((String)newValue); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__KEYWORDS: getKeywords().clear(); getKeywords().addAll((Collection)newValue); return; case WfsPackage.GML_OBJECT_TYPE_TYPE__OUTPUT_FORMATS: setOutputFormats((OutputFormatListType)newValue); return; } super.eSet(featureID, newValue); }