public class ServiceParameterRepeater extends Object implements ServiceParameterOrRepeater
Service
parameter repeater.Modifier and Type | Field and Description |
---|---|
private String |
_addIcon |
private I18nizableText |
_addLabel |
private String |
_delIcon |
private I18nizableText |
_delLabel |
private I18nizableText |
_description |
private String |
_editIcon |
private I18nizableText |
_editLabel |
private String |
_id |
private int |
_initialSize |
private I18nizableText |
_label |
private int |
_maxSize |
private int |
_minSize |
private Map<String,ServiceParameter> |
_parameters |
private String |
_pluginName |
Constructor and Description |
---|
ServiceParameterRepeater() |
Modifier and Type | Method and Description |
---|---|
String |
getAddIcon()
Set the add icon
|
I18nizableText |
getAddLabel()
Retrieves the add label.
|
Map<String,ServiceParameter> |
getChildrenParameters()
Get the children parameters.
|
String |
getDeleteIcon()
Set the delete icon
|
I18nizableText |
getDeleteLabel()
Retrieves the delete label.
|
I18nizableText |
getDescription()
Retrieves the description.
|
String |
getEditIcon()
Set the edit icon
|
I18nizableText |
getEditLabel()
Retrieves the edit label.
|
String |
getId()
Get the id.
|
int |
getInitialSize()
Retrieves the initial size.
|
I18nizableText |
getLabel()
Retrieves the label.
|
int |
getMaxSize()
Retrieves the maximum size.
|
int |
getMinSize()
Retrieves the minimum size.
|
String |
getPluginName()
Retrieves the name of the plugin declaring this parameter.
|
void |
setAddIcon(String addIcon)
Set the add label.
|
void |
setAddLabel(I18nizableText label)
Set the add label.
|
void |
setChildrenParameters(Map<String,ServiceParameter> parameters)
Set the children parameters.
|
void |
setDeleteIcon(String delIcon)
Set the delete label.
|
void |
setDeleteLabel(I18nizableText label)
Set the delete label.
|
void |
setDescription(I18nizableText description)
Set the description.
|
void |
setEditIcon(String editIcon)
Set the edit label.
|
void |
setEditLabel(I18nizableText label)
Set the edit label.
|
void |
setId(String id)
Set the id.
|
void |
setInitialSize(int size)
Set the initial size.
|
void |
setLabel(I18nizableText label)
Set the label.
|
void |
setMaxSize(int size)
Set the maximum size.
|
void |
setMinSize(int size)
Set the minimum size.
|
void |
setPluginName(String pluginName)
Set the name of the plugin declaring this parameter.
|
String |
toString() |
private String _pluginName
private I18nizableText _label
private I18nizableText _description
private int _initialSize
private int _minSize
private int _maxSize
private I18nizableText _addLabel
private I18nizableText _editLabel
private I18nizableText _delLabel
private Map<String,ServiceParameter> _parameters
public ServiceParameterRepeater()
public String getId()
getId
in interface ServiceParameterOrRepeater
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 int getInitialSize()
public void setInitialSize(int size)
size
- the initial size.public int getMinSize()
public void setMinSize(int size)
size
- the minimum size.public int getMaxSize()
-1
if unbounded.public void setMaxSize(int size)
size
- the maximum size or -1
if unbounded.public I18nizableText getAddLabel()
null
if none.public void setAddLabel(I18nizableText label)
label
- the add label or null
if none.public I18nizableText getEditLabel()
null
if none.public void setEditLabel(I18nizableText label)
label
- the edit label or null
if none.public I18nizableText getDeleteLabel()
null
if none.public void setDeleteLabel(I18nizableText label)
label
- the delete label or null
if none.public void setAddIcon(String addIcon)
addIcon
- the add iconpublic String getAddIcon()
public void setEditIcon(String editIcon)
editIcon
- the edit iconpublic String getEditIcon()
public void setDeleteIcon(String delIcon)
delIcon
- the delete iconpublic String getDeleteIcon()
public Map<String,ServiceParameter> getChildrenParameters()
public void setChildrenParameters(Map<String,ServiceParameter> parameters)
parameters
- the children parameters, indexed by parameter ID.