1/*2 * Copyright 2000-2001,2004 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */1617packageorg.apache.jetspeed.om.profile.psml;
1819importorg.apache.jetspeed.om.profile.*;
2021/***22 * Bean like implementation of a meta-info repository23 * 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 */27publicclassPsmlMetaInfo implements MetaInfo28 {
29private String title = null;
3031private String description = null;
3233private String image = null;
3435/*** @return the title for this entry */36public String getTitle()
37 {
38returnthis.title;
39 }
4041/*** Sets the title for this entry42 * @param title the new title for this entry43 */44publicvoid setTitle( String title )
45 {
46this.title = title;
47 }
4849/*** @return the description for this entry */50public String getDescription()
51 {
52returnthis.description;
53 }
5455/*** Sets the description for this entry56 * @param description the new description for this entry57 */58publicvoid setDescription( String description )
59 {
60this.description = description;
61 }
6263/*** @return the image link for this entry */64public String getImage()
65 {
66returnthis.image;
67 }
6869/*** Sets the image URL attached to this entry70 * @param image the image URL to link to this entry71 */72publicvoid setImage( String image )
73 {
74this.image = image;
75 }
7677/***78 * Create a clone of this object79 */80public Object clone()
81 throws java.lang.CloneNotSupportedException
82 {
83 Object cloned = super.clone();
84return cloned;
8586 } // clone87 }