⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getcapabilitiestypeimpl.java

📁 电子地图服务器,搭建自己的地图服务
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
	/**
     * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
     * @generated
     */
	public AcceptFormatsType getAcceptFormats() {
        return acceptFormats;
    }

	/**
     * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
     * @generated
     */
	public NotificationChain basicSetAcceptFormats(AcceptFormatsType newAcceptFormats, NotificationChain msgs) {
        AcceptFormatsType oldAcceptFormats = acceptFormats;
        acceptFormats = newAcceptFormats;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_FORMATS, oldAcceptFormats, newAcceptFormats);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
        return msgs;
    }

	/**
     * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
     * @generated
     */
	public void setAcceptFormats(AcceptFormatsType newAcceptFormats) {
        if (newAcceptFormats != acceptFormats) {
            NotificationChain msgs = null;
            if (acceptFormats != null)
                msgs = ((InternalEObject)acceptFormats).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_FORMATS, null, msgs);
            if (newAcceptFormats != null)
                msgs = ((InternalEObject)newAcceptFormats).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_FORMATS, null, msgs);
            msgs = basicSetAcceptFormats(newAcceptFormats, msgs);
            if (msgs != null) msgs.dispatch();
        }
        else if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.SET, OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_FORMATS, newAcceptFormats, newAcceptFormats));
    }

	/**
     * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
     * @generated
     */
	public String getUpdateSequence() {
        return updateSequence;
    }

	/**
     * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
     * @generated
     */
	public void setUpdateSequence(String newUpdateSequence) {
        String oldUpdateSequence = updateSequence;
        updateSequence = newUpdateSequence;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.SET, OwsPackage.GET_CAPABILITIES_TYPE__UPDATE_SEQUENCE, oldUpdateSequence, updateSequence));
    }

	/**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public String getBaseUrl() {
        return baseUrl;
    }

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void setBaseUrl(String newBaseUrl) {
        String oldBaseUrl = baseUrl;
        baseUrl = newBaseUrl;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.SET, OwsPackage.GET_CAPABILITIES_TYPE__BASE_URL, oldBaseUrl, baseUrl));
    }

    /**
     * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
     * @generated
     */
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
        switch (featureID) {
            case OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_VERSIONS:
                return basicSetAcceptVersions(null, msgs);
            case OwsPackage.GET_CAPABILITIES_TYPE__SECTIONS:
                return basicSetSections(null, msgs);
            case OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_FORMATS:
                return basicSetAcceptFormats(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 OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_VERSIONS:
                return getAcceptVersions();
            case OwsPackage.GET_CAPABILITIES_TYPE__SECTIONS:
                return getSections();
            case OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_FORMATS:
                return getAcceptFormats();
            case OwsPackage.GET_CAPABILITIES_TYPE__UPDATE_SEQUENCE:
                return getUpdateSequence();
            case OwsPackage.GET_CAPABILITIES_TYPE__BASE_URL:
                return getBaseUrl();
        }
        return super.eGet(featureID, resolve, coreType);
    }

	/**
     * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
     * @generated
     */
	public void eSet(int featureID, Object newValue) {
        switch (featureID) {
            case OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_VERSIONS:
                setAcceptVersions((AcceptVersionsType)newValue);
                return;
            case OwsPackage.GET_CAPABILITIES_TYPE__SECTIONS:
                setSections((SectionsType)newValue);
                return;
            case OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_FORMATS:
                setAcceptFormats((AcceptFormatsType)newValue);
                return;
            case OwsPackage.GET_CAPABILITIES_TYPE__UPDATE_SEQUENCE:
                setUpdateSequence((String)newValue);
                return;
            case OwsPackage.GET_CAPABILITIES_TYPE__BASE_URL:
                setBaseUrl((String)newValue);
                return;
        }
        super.eSet(featureID, newValue);
    }

	/**
     * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
     * @generated
     */
	public void eUnset(int featureID) {
        switch (featureID) {
            case OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_VERSIONS:
                setAcceptVersions((AcceptVersionsType)null);
                return;
            case OwsPackage.GET_CAPABILITIES_TYPE__SECTIONS:
                setSections((SectionsType)null);
                return;
            case OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_FORMATS:
                setAcceptFormats((AcceptFormatsType)null);
                return;
            case OwsPackage.GET_CAPABILITIES_TYPE__UPDATE_SEQUENCE:
                setUpdateSequence(UPDATE_SEQUENCE_EDEFAULT);
                return;
            case OwsPackage.GET_CAPABILITIES_TYPE__BASE_URL:
                setBaseUrl(BASE_URL_EDEFAULT);
                return;
        }
        super.eUnset(featureID);
    }

	/**
     * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
     * @generated
     */
	public boolean eIsSet(int featureID) {
        switch (featureID) {
            case OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_VERSIONS:
                return acceptVersions != null;
            case OwsPackage.GET_CAPABILITIES_TYPE__SECTIONS:
                return sections != null;
            case OwsPackage.GET_CAPABILITIES_TYPE__ACCEPT_FORMATS:
                return acceptFormats != null;
            case OwsPackage.GET_CAPABILITIES_TYPE__UPDATE_SEQUENCE:
                return UPDATE_SEQUENCE_EDEFAULT == null ? updateSequence != null : !UPDATE_SEQUENCE_EDEFAULT.equals(updateSequence);
            case OwsPackage.GET_CAPABILITIES_TYPE__BASE_URL:
                return BASE_URL_EDEFAULT == null ? baseUrl != null : !BASE_URL_EDEFAULT.equals(baseUrl);
        }
        return super.eIsSet(featureID);
    }

	/**
     * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
     * @generated
     */
	public String toString() {
        if (eIsProxy()) return super.toString();

        StringBuffer result = new StringBuffer(super.toString());
        result.append(" (updateSequence: ");
        result.append(updateSequence);
        result.append(", baseUrl: ");
        result.append(baseUrl);
        result.append(')');
        return result.toString();
    }

} //GetCapabilitiesTypeImpl

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -