public static interface Connector.IntegerArgument extends Connector.Argument
Connector.Argument
Connector.Argument
Modifier and Type | Method and Description |
---|---|
int |
intValue()
Returns the integer value of the
Connector.Argument |
boolean |
isValid(int intValue)
If the integer value is valid with-respect-to this argument.
|
boolean |
isValid(java.lang.String value)
Returns if the given value is valid with-respect-to this
Connector.Argument |
int |
max()
Returns the maximum value that this
Connector.Argument will accept as being valid. |
int |
min()
Returns the minimum value that this
Connector.Argument will accept as being valid. |
void |
setValue(int intValue)
Sets the integer value of this
Connector.Argument . |
description, label, mustSpecify, name, setValue, value
int intValue()
Connector.Argument
boolean isValid(int intValue)
intValue
- the value to testtrue
if the given value if valid false
otherwiseboolean isValid(java.lang.String value)
Connector.Argument
Connector.Argument
isValid
in interface Connector.Argument
value
- the value to test for validity, null
is acceptedtrue
if the Connector.Argument
is valid false
otherwiseint max()
Connector.Argument
will accept as being valid.int min()
Connector.Argument
will accept as being valid.void setValue(int intValue)
Connector.Argument
.intValue
- the new value to setCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.