-
Notifications
You must be signed in to change notification settings - Fork 1
ParamInfo object
knutkj edited this page Oct 7, 2012
·
1 revision
NAME ParamInfo SYNOPSIS Initalizes a new ParamInfo instance with the specified parameter information. SYNTAX <cbc.parse.ParamInfo> ParamInfo(Object info) PARAMETERS -info <Object> An object with Parameter information. Valid properties are: • String name: The name of the parameter • [String type = null]: The type of the parameter • [Boolean mayBeNull = false]: True if the parameter may be null, or false otherwise • [Boolean optional = false]: True if it is optional to specify the parameter, or false otherwise • [String desc = null]: Parameter description OUTPUTS <cbc.parse.ParamInfo> The initialized ParamInfo object.
NAME ParamInfo SYNOPSIS Initalizes a new ParamInfo instance with the specified parameter information. SYNTAX <cbc.parse.ParamInfo> ParamInfo(Object info) PARAMETERS -info <Object> An object with Parameter information. Valid properties are: • String name: The name of the parameter • [String type = null]: The type of the parameter • [Boolean mayBeNull = false]: True if the parameter may be null, or false otherwise • [Boolean optional = false]: True if it is optional to specify the parameter, or false otherwise • [String desc = null]: Parameter description OUTPUTS <cbc.parse.ParamInfo> The initialized ParamInfo object.
NAME get_name SYNOPSIS Get the name of the parameter. SYNTAX <String> get_name() PARAMETERS OUTPUTS <String> The name of the parameter.
NAME get_type SYNOPSIS Get the type of the parameter. SYNTAX <String> get_type() PARAMETERS OUTPUTS <String> The type of the parameter.
NAME get_mayBeNull SYNOPSIS Get a boolean value indicating if the parameter may be null or not. SYNTAX <Boolean> get_mayBeNull() PARAMETERS OUTPUTS <Boolean> True if the parameter may be null or false.
NAME get_optional SYNOPSIS Get a boolean value indicating if the parameter is optional or not. SYNTAX <Boolean> get_optional() PARAMETERS OUTPUTS <Boolean> True if the parameter is optional or false.
NAME get_desc SYNOPSIS Get the parameter's description. SYNTAX <String> get_desc() PARAMETERS OUTPUTS <String> The parameter's description.
NAME toString SYNOPSIS Presents the ParamInfo in a PowerShell parameter help kind of way. SYNTAX <String> toString() PARAMETERS OUTPUTS <String> API help for the parameter.