View Javadoc

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.profile;
18  
19  import java.io.Serializable;
20  /***
21   * Interface describing meta info for an entry. 
22   *
23   * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
24   * @version $Id: MetaInfo.java,v 1.4 2004/02/23 03:05:01 jford Exp $
25   */
26  public interface MetaInfo extends Serializable, Cloneable
27  {
28      
29      /*** @return the parameter's title */
30      public String getTitle();
31  
32      /*** Sets the descsription of this parameter.value.
33       * 
34       * @param description the new title
35       */
36      public void setTitle(String title);
37  
38      /*** @return the parameter's description */
39      public String getDescription();
40  
41      /*** Sets the descsription of this parameter.value.
42       * 
43       * @param description the new description
44       */
45      public void setDescription(String description);
46  
47      /*** @return the image name for this parameter */
48      public String getImage();
49  
50      /*** Sets the image name of this parameter.
51       * 
52       * @param image the new parameter value
53       */
54      public void setImage(String image);
55  
56      /***
57       * Create a clone of this object
58       */
59      public Object clone()
60          throws java.lang.CloneNotSupportedException;
61  }