com.microstrategy.web.transform.FormalParameter |
![]() |
The FormalParameter interface defines the structure of a single formal parameter.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | PARAM_TYPE_BOOLEAN | Specifies that the formal parameter type is boolean. | |||||||||
int | PARAM_TYPE_FLOAT | Specifies that the formal parameter type is float. | |||||||||
int | PARAM_TYPE_INTEGER | Specifies that the formal parameter type is integer. | |||||||||
int | PARAM_TYPE_STRING | Specifies that the formal parameter type is string. | |||||||||
int | PARAM_TYPE_UNKNOWN | Specifies that the formal parameter type is unkown. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
checkValue(Object value)
Checks if the value corresponds to the type of the formal parameter.
| ||||||||||
abstract Object |
getDefaultValue()
Returns the default value used in the abscence of an explicit value.
| ||||||||||
abstract String |
getDescription()
Returns the description of the FormalParameter object.
| ||||||||||
abstract String |
getName()
Returns the FormalParameter object name.
| ||||||||||
abstract int |
getType()
Returns the value type of the FormalParameter object.
| ||||||||||
abstract Object |
getValue()
Returns the actual value of the FormalParameter object..
| ||||||||||
abstract boolean |
isRequired()
Indicates if a parameter value is required for the execution of the transform.
| ||||||||||
abstract String |
paramTypeToString(int paramType)
Returns the value type converted into a string form.
| ||||||||||
abstract void |
setValue(Object value)
Sets an actual value of a formal parameter.
|
Specifies that the formal parameter type is boolean.
Specifies that the formal parameter type is float.
Specifies that the formal parameter type is integer.
Specifies that the formal parameter type is string.
Specifies that the formal parameter type is unkown.
Checks if the value corresponds to the type of the formal parameter.
value | the value wanted to be checked. |
---|
IllegalArgumentException | thrown if the value supplied is malformed. |
---|
Returns the default value used in the abscence of an explicit value.
Returns the description of the FormalParameter object.
Returns the FormalParameter object name.
Returns the value type of the FormalParameter object.
Returns the actual value of the FormalParameter object..
Indicates if a parameter value is required for the execution of the transform.
Returns the value type converted into a string form.
paramType | the type of the FormalParameter object. |
---|
Sets an actual value of a formal parameter.
value | the actual value of the FormalParameter |
---|
IllegalArgumentException | thrown if the value supplied is malformed. |
---|