org.exoplatform.services.portletcontainer.pci.model
Class Preference
java.lang.Object
org.exoplatform.services.portletcontainer.pci.model.Preference
- All Implemented Interfaces:
- Serializable
public class Preference
- extends Object
- implements Serializable
Created by The eXo Platform SAS Author : Mestrallet Benjamin .
benjmestrallet@users.sourceforge.net Date: Jul 27, 2003 Time: 9:21:41 PM
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Preference
public Preference()
getName
public final String getName()
- Returns:
- name
setName
public final void setName(String name)
- Parameters:
name - name
getValue
public final String getValue(String defaultValue)
- Parameters:
defaultValue - default value
- Returns:
- value
getValues
public final String[] getValues(String key,
String[] def)
- Parameters:
key - keydef - default values
- Returns:
- values
getValues
public final List<String> getValues()
- Returns:
- value list
setValues
public final void setValues(List<String> values)
- Parameters:
values - value list
addValue
public final void addValue(String value)
- Parameters:
value - value
isReadOnly
public final boolean isReadOnly()
- Returns:
- either readonly
setReadOnly
public final void setReadOnly(boolean readOnly)
- Parameters:
readOnly - either readonly
setReadOnly
public final void setReadOnly(String readOnly)
- Parameters:
readOnly - either readonly
clear
public final void clear()
- Clear values.
getId
public final String getId()
- Returns:
- id
setId
public final void setId(String value)
- Parameters:
value - id
Copyright © 2009 eXo Platform SAS. All Rights Reserved.