1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.om.profile.psml;
18
19 import org.apache.jetspeed.om.profile.*;
20
21 /***
22 * Bean like implementation of a meta-info repository
23 *
24 * @author <a href="mailto:raphael@apache.org">Raphaël Luta</a>
25 * @version $Id: PsmlMetaInfo.java,v 1.4 2004/02/23 03:02:54 jford Exp $
26 */
27 public class PsmlMetaInfo implements MetaInfo
28 {
29 private String title = null;
30
31 private String description = null;
32
33 private String image = null;
34
35 /*** @return the title for this entry */
36 public String getTitle()
37 {
38 return this.title;
39 }
40
41 /*** Sets the title for this entry
42 * @param title the new title for this entry
43 */
44 public void setTitle( String title )
45 {
46 this.title = title;
47 }
48
49 /*** @return the description for this entry */
50 public String getDescription()
51 {
52 return this.description;
53 }
54
55 /*** Sets the description for this entry
56 * @param description the new description for this entry
57 */
58 public void setDescription( String description )
59 {
60 this.description = description;
61 }
62
63 /*** @return the image link for this entry */
64 public String getImage()
65 {
66 return this.image;
67 }
68
69 /*** Sets the image URL attached to this entry
70 * @param image the image URL to link to this entry
71 */
72 public void setImage( String image )
73 {
74 this.image = image;
75 }
76
77 /***
78 * Create a clone of this object
79 */
80 public Object clone()
81 throws java.lang.CloneNotSupportedException
82 {
83 Object cloned = super.clone();
84 return cloned;
85
86 }
87 }