Skip to main content

%SYS.PTools.ModuleName

datatype class %SYS.PTools.ModuleName extends %Library.String

ODBC Type: VARCHAR

Method Inventory

Parameters

parameter MAXVAL;
The maximum allowed logical value for the data type.
parameter MINVAL;
The minimum allowed logical value for the data type.

Methods

classmethod DisplayToLogical(%val As %String) as %String
Converts the input value %val, which represents an SQL Module in display format (String), into an SQL Module # (logical format).

Returns the logical value of the input string %val.

classmethod IsValid(%val As %RawString) as %Status
Tests if the logical value %val, which represents an SQL Module is valid. The validation is based on the class parameter settings used for the class attribute this data type is associated with. In this case, MAXVAL and MINVAL.
classmethod LogicalToDisplay(%val As %String) as %String
Converts the value of %val, which represents an SQL Module in logical format (Integer), into an SQL Module Name (display string).

Returns the display value of input string %val.

classmethod LogicalToOdbc(%val As %String = "") as %String
Converts the value of %val, which represents an SQL Module in logical format (Integer), into an SQL Module Name (ODBC VARCHAR).

Returns the ODBC display value of input string %val.

classmethod OdbcToLogical(%val As %String = "") as %String
Converts the input value %val, which represents an SQL Module in ODBC format (String), into an SQL Module # (logical format).

Returns the ODBC logical value of the input string %val.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab