T
- the actual parameter type.@Deprecated public class Parameter<T extends Enum<T>> extends Object
Modifier and Type | Field and Description |
---|---|
private Object |
_defaultValue
Deprecated.
|
private I18nizableText |
_description
Deprecated.
|
private Enumerator |
_enumerator
Deprecated.
|
private String |
_id
Deprecated.
|
private I18nizableText |
_label
Deprecated.
|
private String |
_pluginName
Deprecated.
|
private T |
_type
Deprecated.
|
private Validator |
_validator
Deprecated.
|
private String |
_widget
Deprecated.
|
private Map<String,I18nizableText> |
_widgetParams
Deprecated.
|
Constructor and Description |
---|
Parameter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue()
Deprecated.
Retrieves the default value.
|
I18nizableText |
getDescription()
Deprecated.
Retrieves the description.
|
Enumerator |
getEnumerator()
Deprecated.
Retrieves the enumerator.
|
String |
getId()
Deprecated.
Get the id.
|
I18nizableText |
getLabel()
Deprecated.
Retrieves the label.
|
String |
getPluginName()
Deprecated.
Retrieves the name of the plugin declaring this parameter.
|
T |
getType()
Deprecated.
Retrieves the type.
|
Validator |
getValidator()
Deprecated.
Retrieves the validator.
|
String |
getWidget()
Deprecated.
Retrieves the widget to use for rendering.
|
Map<String,I18nizableText> |
getWidgetParameters()
Deprecated.
Get the widget's parameters
|
void |
setDefaultValue(Object defaultValue)
Deprecated.
Set the default value.
|
void |
setDescription(I18nizableText description)
Deprecated.
Set the description.
|
void |
setEnumerator(Enumerator enumerator)
Deprecated.
Set the enumerator.
|
void |
setId(String id)
Deprecated.
Set the id.
|
void |
setLabel(I18nizableText label)
Deprecated.
Set the label.
|
void |
setPluginName(String pluginName)
Deprecated.
Set the name of the plugin declaring this parameter.
|
void |
setType(T type)
Deprecated.
Set the type.
|
void |
setValidator(Validator validator)
Deprecated.
Set the validator.
|
void |
setWidget(String widget)
Deprecated.
Set the widget.
|
void |
setWidgetParameters(Map<String,I18nizableText> params)
Deprecated.
Set the widget's parameters
|
private String _pluginName
private I18nizableText _label
private I18nizableText _description
private Map<String,I18nizableText> _widgetParams
private Enumerator _enumerator
private Validator _validator
private Object _defaultValue
public Parameter()
public String getPluginName()
public void setPluginName(String pluginName)
pluginName
- the plugin name.public I18nizableText getLabel()
public void setLabel(I18nizableText label)
label
- the label.public I18nizableText getDescription()
public void setDescription(I18nizableText description)
description
- the description.public String getWidget()
null
if none is defined.public void setWidget(String widget)
widget
- the widget.public Map<String,I18nizableText> getWidgetParameters()
public void setWidgetParameters(Map<String,I18nizableText> params)
params
- the parameters to setpublic Enumerator getEnumerator()
null
if none is defined.public void setEnumerator(Enumerator enumerator)
enumerator
- the enumerator.public Validator getValidator()
null
if none is defined.public void setValidator(Validator validator)
validator
- the validator.public Object getDefaultValue()
null
if none is defined.public void setDefaultValue(Object defaultValue)
defaultValue
- the default value.