%ZEN.Datatype.boolean

datatype class %ZEN.Datatype.boolean extends datatype

ODBC Type: VARCHAR

This datatype represents a boolean value.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 3

Summary

Methods
DisplayToLogical IsValid JSONToLogical LogicalToDisplay
LogicalToJSON LogicalToOdbc LogicalToXSD Normalize
XSDToLogical

Parameters

parameter MAXLEN;
The maximum number of characters the string can contain.
parameter XMLPROJECTION = "attribute";

Methods

classmethod DisplayToLogical(%val As %String = "") as %String
Converts the input value %val, which is a string representing a boolean value, into a boolean value.

Returns the boolean value of the input string %val.

classmethod LogicalToXSD(%val As %String) as %String
Converts the %Boolean value to the canonical SOAP encoded value.
classmethod XSDToLogical(%val As %String) as %String
Converts the SOAP encoded input value, which is true, false 1 or 0, into a %Boolean value.
Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA