IRISLIB database
Boolean Class Reference

The Boolean data type class represents a boolean value. More...

Inheritance diagram for Boolean:
Collaboration diagram for Boolean:

Static Public Member Functions

_.Library.Boolean DisplayToLogical (_, _.Library.String val)
 Converts the input value val, which is a string representing. More...
 
_.Library.Status IsValid (_, _.Library.RawString val)
 Tests if the boolean value val is valid.
 
_.Library.String LogicalToDisplay (_, _.Library.Boolean val)
 Converts the value of val, which is in boolean format, into a display string. More...
 
_.Library.String LogicalToXSD (_, _.Library.Boolean val)
 Converts the Boolean value to the canonical SOAP encoded value.
 
_.Library.Integer Normalize (_, _.Library.RawString val)
 Converts val to a normalized value.
 
_.Library.Boolean XSDToLogical (_, _.Library.String val)
 Converts the SOAP encoded input value, which is true, false 1 or 0,. More...
 
- Static Public Member Functions inherited from Integer
_.Library.String LogicalToDisplay (_, _.Library.Integer val)
 Converts the value of val, which is in logical integer format, into a display string. More...
 

Static Public Attributes

 JSONTYPE = None
 The Boolean data type class represents a boolean value. More...
 
 XSDTYPE = None
 Declares the XSD type used when projecting XML Schemas.
 
- Static Public Attributes inherited from Integer
 DISPLAYLIST = None
 The Integer data type class represents an integer value. More...
 
 FORMAT = None
 The format specification for the data type's display value. More...
 
 MAXVAL = None
 The maximum allowed logical value for the data type.
 
 MINVAL = None
 The minimum allowed logical value for the data type.
 
 STRICT = None
 If '1' then <method>IsValid</method> will return false for numbers that are not integers e.g. More...
 
 VALUELIST = None
 Used for enumerated (multiple-choice) attributes. More...
 
 XMLTotalDigits = None
 The total number of digits for XML verification as defined by http://www.w3.org/TR/xmlschema-2/#rf-totalDigits.
 
 XSDTYPE = None
 Declares the XSD type used when projecting XML Schemas.
 
- Static Public Attributes inherited from DataType
 INDEXNULLMARKER = None
 Override this parameter value to specify what value should be used as a null marker when a property of the type is used in a subscript of an index map. More...
 

Detailed Description

The Boolean data type class represents a boolean value.

The logical value of the Boolean data type is an integer with value of 0 (false) and 1 (true).

Member Function Documentation

◆ DisplayToLogical()

_.Library.Boolean DisplayToLogical (   _,
_.Library.String  val 
)
static

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.

Reimplemented from Integer.

◆ LogicalToDisplay()

_.Library.String LogicalToDisplay (   _,
_.Library.Boolean  val 
)
static

Converts the value of val, which is in boolean format, into a display string.

Returns the formatted value of val.

◆ XSDToLogical()

_.Library.Boolean XSDToLogical (   _,
_.Library.String  val 
)
static

Converts the SOAP encoded input value, which is true, false 1 or 0,.

into a Boolean value.

Reimplemented from Integer.

Member Data Documentation

◆ JSONTYPE

JSONTYPE = None
static

The Boolean data type class represents a boolean value.

The logical value of the Boolean data type is an integer with value of 0 (false) and 1 (true).