001: /******************************************************************************
002: * JBoss, a division of Red Hat *
003: * Copyright 2006, Red Hat Middleware, LLC, and individual *
004: * contributors as indicated by the @authors tag. See the *
005: * copyright.txt in the distribution for a full listing of *
006: * individual contributors. *
007: * *
008: * This is free software; you can redistribute it and/or modify it *
009: * under the terms of the GNU Lesser General Public License as *
010: * published by the Free Software Foundation; either version 2.1 of *
011: * the License, or (at your option) any later version. *
012: * *
013: * This software is distributed in the hope that it will be useful, *
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of *
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
016: * Lesser General Public License for more details. *
017: * *
018: * You should have received a copy of the GNU Lesser General Public *
019: * License along with this software; if not, write to the Free *
020: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
021: * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
022: ******************************************************************************/package org.jboss.portal.widget.netvibes;
023:
024: import org.jboss.portal.common.i18n.LocalizedString;
025:
026: /**
027: * @author <a href="mailto:emuckenh@redhat.com">Emanuel Muckenhuber</a>
028: * @version $Revision$
029: */
030: public class NetvibesMetaData {
031:
032: /** The author */
033: private String author;
034:
035: /** The website */
036: private String website;
037:
038: /** The description */
039: private LocalizedString description;
040:
041: /** The version */
042: private String version;
043:
044: /** The keywords */
045: private String keywords;
046:
047: /** The screenshot */
048: private String screenshot;
049:
050: /** The thumbnail */
051: private String thumbnail;
052:
053: /** The apiVersion */
054: private String apiVersion;
055:
056: /** The debug mode */
057: private boolean debugMode;
058:
059: /** autoRefresh */
060: private int autoRefresh;
061:
062: /** The inline (deprecated) */
063: private boolean inline;
064:
065: public NetvibesMetaData(String author, String website,
066: LocalizedString description, String version,
067: String keywords, String screenshot, String thumbnail,
068: String apiVersion, boolean debugMode, int autoRefresh,
069: boolean inline) {
070: this .author = author;
071: this .website = website;
072: this .description = description;
073: this .version = version;
074: this .keywords = keywords;
075: this .screenshot = screenshot;
076: this .thumbnail = thumbnail;
077: this .apiVersion = apiVersion;
078: this .debugMode = debugMode;
079: this .autoRefresh = autoRefresh;
080: this .inline = inline;
081: }
082:
083: public String getAuthor() {
084: return author;
085: }
086:
087: public String getWebsite() {
088: return website;
089: }
090:
091: public LocalizedString getDescription() {
092: return description;
093: }
094:
095: public String getVersion() {
096: return version;
097: }
098:
099: public String getKeywords() {
100: return keywords;
101: }
102:
103: public String getScreenshot() {
104: return screenshot;
105: }
106:
107: public String getThumbnail() {
108: return thumbnail;
109: }
110:
111: public String getApiVersion() {
112: return apiVersion;
113: }
114:
115: public boolean isDebugMode() {
116: return debugMode;
117: }
118:
119: public int getAutoRefresh() {
120: return autoRefresh;
121: }
122:
123: public boolean isInline() {
124: return inline;
125: }
126:
127: }
|