public class UserPreference extends Parameter<ParameterHelper.ParameterType>
Modifier and Type | Field and Description |
---|---|
protected I18nizableText |
_displayGroup
The display group.
|
protected String |
_managerRole
The manager role.
|
protected boolean |
_multiple
Indicates if the user preference is multiple.
|
protected int |
_order
The preference order.
|
protected boolean |
_private
The private status.
|
Constructor and Description |
---|
UserPreference() |
Modifier and Type | Method and Description |
---|---|
I18nizableText |
getDisplayGroup()
Get the display group.
|
String |
getManagerRole()
Get the storage manager role.
|
int |
getOrder()
Get the preference order.
|
boolean |
isMultiple()
Test if the preference is multiple-valued.
|
boolean |
isPrivate()
Get whether the preference is private, i.e.
|
void |
setDisplayGroup(I18nizableText displayGroup)
Set the parameter display group.
|
void |
setManagerRole(String managerRole)
Set the storage manager role.
|
void |
setMultiple(boolean multiple)
Set if the preference is multiple-valued.
|
void |
setOrder(int order)
Set the preference order.
|
void |
setPrivate(boolean privateStatus)
Set the private status of the preference
|
String |
toString() |
getDefaultValue, getDescription, getEnumerator, getId, getLabel, getPluginName, getType, getValidator, getWidget, getWidgetParameters, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParameters
protected I18nizableText _displayGroup
protected boolean _multiple
protected String _managerRole
protected int _order
protected boolean _private
public UserPreference()
public I18nizableText getDisplayGroup()
public void setDisplayGroup(I18nizableText displayGroup)
displayGroup
- the display group to set.public String getManagerRole()
public void setManagerRole(String managerRole)
managerRole
- the manager role to set. Can be null to use the default storage manager.public boolean isMultiple()
public void setMultiple(boolean multiple)
multiple
- true if the preference is multiple-valued, false if the preference is single-valued.public int getOrder()
public void setOrder(int order)
order
- the preference order.public boolean isPrivate()
public void setPrivate(boolean privateStatus)
privateStatus
- true if the preference is private, false if it is public.