org.jboss.portal.server.plugins.preferences
Class AbstractPreference
java.lang.Object
org.jboss.portal.server.plugins.preferences.AbstractPreference
- All Implemented Interfaces:
- Preference, Serializable
- public class AbstractPreference
- extends Object
- implements Preference, Serializable
- Version:
- $Revision: 1.2 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
Method Summary |
String |
getName()
Return the preference name. |
org.jboss.portal.common.value.Value |
getValue()
Return the preference value. |
boolean |
isReadOnly()
Return the preference read only value. |
void |
setValue(org.jboss.portal.common.value.Value value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
value
protected org.jboss.portal.common.value.Value value
readOnly
protected boolean readOnly
AbstractPreference
public AbstractPreference(String name,
org.jboss.portal.common.value.Value value,
boolean readOnly)
getName
public String getName()
- Description copied from interface:
Preference
- Return the preference name.
- Specified by:
getName
in interface Preference
- Returns:
- the preference name
getValue
public org.jboss.portal.common.value.Value getValue()
- Description copied from interface:
Preference
- Return the preference value.
- Specified by:
getValue
in interface Preference
- Returns:
- the preference value.
setValue
public void setValue(org.jboss.portal.common.value.Value value)
isReadOnly
public boolean isReadOnly()
- Description copied from interface:
Preference
- Return the preference read only value.
- Specified by:
isReadOnly
in interface Preference
- Returns:
- the read only value
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.