Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [EnsLib] >  [RecordMap] >  [Model] >  [DataType] >  [Boolean]
Private  Storage   

datatype class EnsLib.RecordMap.Model.DataType.Boolean extends %Boolean

ODBC Type: VARCHAR

Force values of 0 and 1 for boolean values instead of "true" and "false".

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2


Summary

Methods
DisplayToLogical IsValid LogicalToDisplay LogicalToXSD
Normalize XSDToLogical


Methods

• classmethod LogicalToXSD(%val As %Boolean) as %String
Converts the %Boolean value to the canonical SOAP encoded value.
• classmethod XSDToLogical(%val As %String) as %Boolean
Converts the SOAP encoded input value, which is true, false 1 or 0, into a %Boolean value.


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