blob: 7c51193df69724fad023dc0dcdb1bd02add51c5f [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wtp.releng.tools.component.internal;
public class Description extends ComponentObject
{
private String url;
public String getUrl()
{
return url;
}
public void setUrl(String url)
{
this.url = url;
}
public String toString()
{
StringBuffer sb = new StringBuffer();
sb.append("<description");
sb.append(toAttribute("url", url));
sb.append(">");
sb.append("</description>");
return sb.toString();
}
public Object clone()
{
Description clone = new Description();
clone.setUrl(getUrl());
return clone;
}
}