public class ParameterInfo extends Object
Modifier and Type | Field and Description |
---|---|
private String |
description |
private String |
label |
private boolean |
masked |
private List<?> |
values |
private Type |
valueType |
Constructor and Description |
---|
ParameterInfo(DbControl dc,
ParameterValueData<?> parameter) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getLabel() |
List<?> |
getValues() |
List<?> |
getValuesOrMask()
Utility method for getting the values or a mask (*****)
if the
isMasked() flag is set. |
List<?> |
getValuesOrMask(String mask)
Utility method for getting the values or a mask
if the
isMasked() flag is set. |
Type |
getValueType()
Get the matching
Type for the values stored in
this parameter. |
boolean |
isMasked()
Should this parameter be masked in the GUI?
|
private final String label
private final String description
private final boolean masked
private final List<?> values
private final Type valueType
ParameterInfo(DbControl dc, ParameterValueData<?> parameter)
public String getLabel()
public String getDescription()
public boolean isMasked()
public Type getValueType()
Type
for the values stored in
this parameter. Can be null since not all parameter types have
a matching value type.public List<?> getValues()
public List<?> getValuesOrMask()
isMasked()
flag is set.public List<?> getValuesOrMask(String mask)
isMasked()
flag is set.