/* * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License, version 2 as published by the Free Software * Foundation. * * You should have received a copy of the GNU General Public License along with this * program; if not, you can obtain a copy at http://www.gnu.org/licenses/gpl-2.0.html * or from the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * * Copyright 2008 Pentaho Corporation. All rights reserved. * */ package org.pentaho.platform.engine.core.solution; import java.util.ArrayList; import java.util.List; import org.pentaho.platform.api.engine.IContentInfo; import org.pentaho.platform.api.engine.IPluginOperation; public class ContentInfo implements IContentInfo { private String description; private String extension; private String mimeType; private String title; private List<IPluginOperation> operations = new ArrayList<IPluginOperation>(); private String iconUrl; public void setIconUrl(String iconUrl) { this.iconUrl = iconUrl; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getExtension() { return extension; } public void setExtension(String extension) { this.extension = extension; } public String getMimeType() { return mimeType; } public void setMimeType(String mimeType) { this.mimeType = mimeType; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public List<IPluginOperation> getOperations() { return operations; } public String getIconUrl() { return iconUrl; } public void addOperation( IPluginOperation operation ) { operations.add( operation ); } }