/******************************************************************************* * Copyright (c) 2009, 2010 Tasktop Technologies 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: * Tasktop Technologies - initial API and implementation *******************************************************************************/ package org.eclipse.equinox.internal.p2.discovery.model; /** * @author David Green */ public class Overview { protected String summary; protected String url; protected String screenshot; protected CatalogItem item; protected CatalogCategory category; public Overview() { } /** * A description providing detailed information about the item. Newlines can be used to format the text into * multiple paragraphs if necessary. Text must fit into an area 320x240, otherwise it will be truncated in the UI. * More lengthy descriptions can be provided on a web page if required, see @url. */ public String getSummary() { return summary; } public void setSummary(String summary) { this.summary = summary; } /** * An URL that points to a web page with more information relevant to the connector or category. */ public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } /** * 320x240 PNG, JPEG or GIF */ public String getScreenshot() { return screenshot; } public void setScreenshot(String screenshot) { this.screenshot = screenshot; } public CatalogItem getItem() { return item; } public void setItem(CatalogItem item) { this.item = item; } public CatalogCategory getCategory() { return category; } public void setCategory(CatalogCategory category) { this.category = category; } public void validate() throws ValidationException { } }