org.vfny.geoserver.global.MetaDataLink Maven / Gradle / Ivy
/* 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 ([email protected]) $ (last modification)
* @author $Author: Simone Giannecchini ([email protected]) $ (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();
}
}