KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > server > plugins > preferences > Preference


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.server.plugins.preferences;
10
11 import org.jboss.portal.common.value.Value;
12
13 /**
14  * A preference.
15  *
16  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
17  * @version $Revision: 1.1.1.1 $
18  */

19 public interface Preference
20 {
21    /**
22     * Return the preference name.
23     *
24     * @return the preference name
25     */

26    public String JavaDoc getName();
27
28    /**
29     * Return the preference value.
30     *
31     * @return the preference value.
32     */

33    public Value getValue();
34
35    /**
36     * Return the preference read only value.
37     *
38     * @return the read only value
39     */

40    public boolean isReadOnly();
41 }
42
Popular Tags