public class IntegerParameterType extends ParameterType<Integer>
lower limit
and an upper limit
for the range of
allowed values.Constructor and Description |
---|
IntegerParameterType()
Create a new integer parameter type, without any limits and allowing null
values.
|
IntegerParameterType(Integer lowerLimit,
Integer upperLimit,
Integer defaultValue,
boolean notNull)
Create a new integer parameter type.
|
IntegerParameterType(Integer lowerLimit,
Integer upperLimit,
Integer defaultValue,
boolean notNull,
int multiplicity,
int width,
int height,
List<Integer> items) |
Modifier and Type | Method and Description |
---|---|
Integer |
getLowerLimit()
Get the lowest valid value of the parameter.
|
Integer |
getUpperLimit()
Get the highest valid value of the parameter.
|
String |
toString() |
getDefaultValue, getHeight, getItems, getMultiplicity, getNotNull, getParameterClass, getWidth, isEnumeration, validate, validate
public IntegerParameterType()
public IntegerParameterType(Integer lowerLimit, Integer upperLimit, Integer defaultValue, boolean notNull)
lowerLimit
- The lowest allowed value, or null to have no limitupperLimit
- The highest allowed value, or null to have no limitnotNull
- FALSE if nulls values are allowed, TRUE otherwisepublic Integer getLowerLimit()
public Integer getUpperLimit()