Liferay 6.0.5

com.liferay.portlet
Class Preference

java.lang.Object
  extended by com.liferay.portlet.Preference
All Implemented Interfaces:
Serializable, Cloneable

public class Preference
extends Object
implements Cloneable, Serializable

See Also:
Serialized Form

Constructor Summary
Preference(String name, String value)
           
Preference(String name, String[] values)
           
Preference(String name, String[] values, boolean readOnly)
           
Preference(String name, String value, boolean readOnly)
           
 
Method Summary
 Object clone()
           
 String getName()
           
 boolean getReadOnly()
           
 String[] getValues()
           
 boolean isReadOnly()
           
 void setValues(String[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Preference

public Preference(String name,
                  String value)

Preference

public Preference(String name,
                  String value,
                  boolean readOnly)

Preference

public Preference(String name,
                  String[] values)

Preference

public Preference(String name,
                  String[] values,
                  boolean readOnly)
Method Detail

getName

public String getName()

getValues

public String[] getValues()

setValues

public void setValues(String[] values)

getReadOnly

public boolean getReadOnly()

isReadOnly

public boolean isReadOnly()

clone

public Object clone()
Overrides:
clone in class Object

Liferay 6.0.5