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

📄 metadatalink.java

📁 电子地图服务器,搭建自己的地图服务
💻 JAVA
字号:
/* Copyright (c) 2001 - 2007 TOPP - www.openplans.org.  All rights reserved.
 * This code is licensed under the GPL 2.0 license, availible at the root
 * application directory.
 */
package org.vfny.geoserver.global;

import org.apache.commons.lang.builder.ToStringBuilder;


/**
 * Represents a MetadataLink Attribute.
 *
 * @author $Author: Alessio Fabiani (alessio.fabiani@gmail.com) $ (last modification)
 * @author $Author: Simone Giannecchini (simboss1@gmail.com) $ (last modification)
 * @version $Id: MetaDataLink.java 6326 2007-03-15 18:36:40Z jdeolive $
 */
public class MetaDataLink extends GlobalLayerSupertype {
    /**
     *
     * @uml.property name="type" multiplicity="(0 1)"
     */
    private String type;

    /**
     *
     * @uml.property name="about" multiplicity="(0 1)"
     */
    private String about;

    /**
     *
     * @uml.property name="metadataType" multiplicity="(0 1)"
     */
    private String metadataType;

    /**
     *
     * @uml.property name="content" multiplicity="(0 1)"
     */
    private String content;

    /**
     * Builds an empty metadata link
     */
    public MetaDataLink() {
    }

    public MetaDataLink(MetaDataLink other) {
        this.type = other.type;
        this.about = other.about;
        this.metadataType = other.metadataType;
        this.content = other.content;
    }

    /* (non-Javadoc)
     * @see org.vfny.geoserver.global.GlobalLayerSupertype#toDTO()
     */
    Object toDTO() {
        return null;
    }

    /**
     * @return Returns the about.
     *
     * @uml.property name="about"
     */
    public String getAbout() {
        return about;
    }

    /**
     * @param about The about to set.
     *
     * @uml.property name="about"
     */
    public void setAbout(String about) {
        this.about = about;
    }

    /**
     * @return Returns the metadataType.
     *
     * @uml.property name="metadataType"
     */
    public String getMetadataType() {
        return metadataType;
    }

    /**
     * @param metadataType The metadataType to set.
     *
     * @uml.property name="metadataType"
     */
    public void setMetadataType(String metadataType) {
        this.metadataType = metadataType;
    }

    /**
     * @return Returns the type.
     *
     * @uml.property name="type"
     */
    public String getType() {
        return type;
    }

    /**
     * @param type The type to set.
     *
     * @uml.property name="type"
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return Returns the content.
     *
     * @uml.property name="content"
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content The content to set.
     *
     * @uml.property name="content"
     */
    public void setContent(String content) {
        this.content = content;
    }

    public String toString() {
        return new ToStringBuilder(this).append(content).append(type).append(metadataType)
                                        .append(about).toString();
    }
}

⌨️ 快捷键说明

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