Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%SYS] >  [PTools] >  [ModuleName]
Private  Storage   

datatype class %SYS.PTools.ModuleName extends %String

ODBC Type: VARCHAR

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 5


Summary

Methods
DisplayToLogical IsValid JSONToLogical LogicalToDisplay
LogicalToJSON LogicalToOdbc LogicalToXSD Normalize
OdbcToLogical XSDToLogical


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.



Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.