01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.jetspeed.layout.impl;
18:
19: /**
20: * Portlet Info populated into AJAX XML response per portlet
21: *
22: * @author <a>David Gurney</a>
23: * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
24: * @version $Id: $
25: */
26: public class PortletInfo {
27: private String name;
28: private String displayName;
29: private String description;
30: private String image;
31:
32: public PortletInfo(String name, String displayName,
33: String description, String image) {
34: this .name = name;
35: this .displayName = displayName;
36: this .description = description;
37: this .image = image;
38: }
39:
40: /**
41: * @return Returns the description.
42: */
43: public String getDescription() {
44: return description;
45: }
46:
47: /**
48: * @return Returns the displayName.
49: */
50: public String getDisplayName() {
51: return displayName;
52: }
53:
54: /**
55: * @return Returns the name.
56: */
57: public String getName() {
58: return name;
59: }
60:
61: /**
62: * @return Returns the image.
63: */
64: public String getImage() {
65: return image;
66: }
67:
68: /**
69: * @param image The image to set.
70: */
71: public void setImage(String image) {
72: this.image = image;
73: }
74: }
|