KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jetspeed > om > registry > MetaInfo


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 at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * 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 and
14  * limitations under the License.
15  */

16
17 package org.apache.jetspeed.om.registry;
18
19 /**
20  * Interface for storing meta-info on a registry entry
21  *
22  * @author <a HREF="mailto:raphael@apache.org">Raphaël Luta</a>
23  * @version $Id: MetaInfo.java,v 1.2 2004/02/23 03:11:39 jford Exp $
24  */

25 public interface MetaInfo
26 {
27
28     /** @return the title for this entry */
29     public String JavaDoc getTitle();
30
31     /** Sets the title for this entry
32      * @param title the new title for this entry
33      */

34     public void setTitle( String JavaDoc title );
35
36     /** @return the description for this entry */
37     public String JavaDoc getDescription();
38
39     /** Sets the description for this entry
40      * @param description the new description for this entry
41      */

42     public void setDescription( String JavaDoc description );
43
44     /** @return the image link for this entry */
45     public String JavaDoc getImage();
46
47     /** Sets the image URL attached to this entry
48      * @param image the image URL to link to this entry
49      */

50     public void setImage( String JavaDoc image );
51 }
52
Popular Tags