001: /*
002: * JBoss, a division of Red Hat
003: * Copyright 2006, Red Hat Middleware, LLC, and individual contributors as indicated
004: * by the @authors tag. See the copyright.txt in the distribution for a
005: * full listing of individual contributors.
006: *
007: * This is free software; you can redistribute it and/or modify it
008: * under the terms of the GNU Lesser General Public License as
009: * published by the Free Software Foundation; either version 2.1 of
010: * the License, or (at your option) any later version.
011: *
012: * This software is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of
014: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015: * Lesser General Public License for more details.
016: *
017: * You should have received a copy of the GNU Lesser General Public
018: * License along with this software; if not, write to the Free
019: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
020: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
021: */
022:
023: package org.jboss.portal.widget.google.metadata;
024:
025: /**
026: * @author <a href="mailto:boleslaw dot dawidowicz at redhat anotherdot com">Boleslaw Dawidowicz</a>
027: * @version $Revision: 8784 $
028: */
029: public class GGWidgetMetaData {
030: private String title;
031:
032: private String link;
033:
034: private String guid;
035:
036: private String description;
037:
038: private String author;
039:
040: private String authorEmail;
041:
042: private String screenshot;
043:
044: private String thumbnail;
045:
046: private String authorLocaltion;
047:
048: private String authorAffiliation;
049:
050: private String titleURL;
051:
052: private String directoryTitle;
053:
054: private String authorPhoto;
055:
056: private String authorAboutme;
057:
058: private String authorLink;
059:
060: private String authorQuote;
061:
062: private String width;
063:
064: private String height;
065:
066: public GGWidgetMetaData() {
067: }
068:
069: public String getTitle() {
070: return title;
071: }
072:
073: public void setTitle(String title) {
074: this .title = title;
075: }
076:
077: public String getLink() {
078: return link;
079: }
080:
081: public void setLink(String link) {
082: this .link = link;
083: }
084:
085: public String getGuid() {
086: return guid;
087: }
088:
089: public void setGuid(String guid) {
090: this .guid = guid;
091: }
092:
093: public String getDescription() {
094: return description;
095: }
096:
097: public void setDescription(String description) {
098: this .description = description;
099: }
100:
101: public String getAuthor() {
102: return author;
103: }
104:
105: public void setAuthor(String author) {
106: this .author = author;
107: }
108:
109: public String getAuthorEmail() {
110: return authorEmail;
111: }
112:
113: public void setAuthorEmail(String authorEmail) {
114: this .authorEmail = authorEmail;
115: }
116:
117: public String getScreenshot() {
118: return screenshot;
119: }
120:
121: public void setScreenshot(String screenshot) {
122: this .screenshot = screenshot;
123: }
124:
125: public String getThumbnail() {
126: return thumbnail;
127: }
128:
129: public void setThumbnail(String thumbnail) {
130: this .thumbnail = thumbnail;
131: }
132:
133: public String getAuthorLocaltion() {
134: return authorLocaltion;
135: }
136:
137: public void setAuthorLocaltion(String authorLocaltion) {
138: this .authorLocaltion = authorLocaltion;
139: }
140:
141: public String getAuthorAffiliation() {
142: return authorAffiliation;
143: }
144:
145: public void setAuthorAffiliation(String authorAffiliation) {
146: this .authorAffiliation = authorAffiliation;
147: }
148:
149: public String getTitleURL() {
150: return titleURL;
151: }
152:
153: public void setTitleURL(String titleURL) {
154: this .titleURL = titleURL;
155: }
156:
157: public String getDirectoryTitle() {
158: return directoryTitle;
159: }
160:
161: public void setDirectoryTitle(String directoryTitle) {
162: this .directoryTitle = directoryTitle;
163: }
164:
165: public String getAuthorPhoto() {
166: return authorPhoto;
167: }
168:
169: public void setAuthorPhoto(String authorPhoto) {
170: this .authorPhoto = authorPhoto;
171: }
172:
173: public String getAuthorAboutme() {
174: return authorAboutme;
175: }
176:
177: public void setAuthorAboutme(String authorAboutme) {
178: this .authorAboutme = authorAboutme;
179: }
180:
181: public String getAuthorLink() {
182: return authorLink;
183: }
184:
185: public void setAuthorLink(String authorLink) {
186: this .authorLink = authorLink;
187: }
188:
189: public String getAuthorQuote() {
190: return authorQuote;
191: }
192:
193: public void setAuthorQuote(String authorQuote) {
194: this .authorQuote = authorQuote;
195: }
196:
197: public String getWidth() {
198: return width;
199: }
200:
201: public void setWidth(String width) {
202: this .width = width;
203: }
204:
205: public String getHeight() {
206: return height;
207: }
208:
209: public void setHeight(String height) {
210: this .height = height;
211: }
212:
213: public String toString() {
214: StringBuffer buffer = new StringBuffer();
215: buffer.append("Title: ").append(getTitle());
216: buffer.append("Link: ").append(getLink());
217:
218: return buffer.toString();
219: }
220: }
|