com.togethersoft.sca.core
Interface IParameterInteger
- All Superinterfaces:
- IParameter
- public interface IParameterInteger
- extends IParameter
Represents an integer parameter.
|
Method Summary |
long |
getDefaultValue()
Returns the default value of this parameter. |
long |
getMaxValue()
Returns the largest allowed value of this parameter. |
long |
getMinValue()
Returns the smallest allowed value of this parameter. |
long |
getValue()
Returns the integer value of this parameter. |
void |
setValue(long newValue)
Sets the value of this parameter. |
getDefaultValue
public long getDefaultValue()
- Returns the default value of this parameter.
- Returns:
- the default value of this parameter.
getMaxValue
public long getMaxValue()
- Returns the largest allowed value of this parameter. This will
return
Long.MAX_VALUE if the largest value of this
parameter is not defined.
- Returns:
- the largest allowed value of this parameter.
getMinValue
public long getMinValue()
- Returns the smallest allowed value of this parameter. This will
return
Long.MIN_VALUE if the smallest value of this
parameter is not defined.
- Returns:
- the smallest allowed value of this parameter.
getValue
public long getValue()
- Returns the integer value of this parameter.
- Returns:
- the integer value of this parameter.
setValue
public void setValue(long newValue)
- Sets the value of this parameter.
- Parameters:
value - specifies the new value.