This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

%Library.TinyInt

datatype class %Library.TinyInt extends %Library.Integer

ODBC Type: TINYINT

The %TinyInt represents a tiny integer value.

This is identical to the %Integer data type with the exception that it has odbctype of TINYINT, a default MAXVAL parameter value of 127, and a default MINVAL parameter value of -128.

Method Inventory (Including Private)

Parameters

parameter XSDTYPE = byte;
Declares the XSD type used when projecting XML Schemas.

Methods (Including Private)

classmethod IsValid(%val As %CacheString) as %Status
Tests if the logical value %val, which is an integer value, 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 XSDToLogical(%val As %String) as %TinyInt
Converts the SOAP encoded input decimal value into a Cache %TinyInt value. Returns "" for error.

Inherited Members

Inherited Methods (Including Private)

FeedbackOpens in a new window