This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > %ZEN.Datatype.boolean


datatype class %ZEN.Datatype.boolean extends %ZEN.Datatype.datatype


This datatype represents a boolean value.

Method Inventory (Including Private)


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

Methods (Including Private)

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 Cache %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 Cache %Boolean value.

Inherited Members

Inherited Methods (Including Private)