Liferay 7.0-ga1 portal-impl

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)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, 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

clone

public Object clone()
Overrides:
clone in class Object

getName

public String getName()

getReadOnly

public boolean getReadOnly()

getValues

public String[] getValues()

isReadOnly

public boolean isReadOnly()

setValues

public void setValues(String[] values)

toString

public String toString()
Overrides:
toString in class Object

Liferay 7.0-ga1 portal-impl