DocBook|Search
Class Reference
%Library.SmallInt
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%Library] >  [SmallInt]
Private  Storage  

datatype class %Library.SmallInt extends %Integer

ODBC Type: SMALLINT

The %SmallInt represents a small integer value.

This is identical to the %Integer data type with the exception that it has odbctype of SMALLINT.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3


Summary

Methods
DisplayToLogical IsValid LogicalToDisplay Normalize
XSDToLogical


Parameters

• parameter XSDTYPE = "short";
Declares the XSD type used when projecting XML Schemas.

Methods

• 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 Normalize(%val As %CacheString) as %Integer
Converts %val to a normalized value.
• classmethod XSDToLogical(%val As %String) as %SmallInt
Converts the SOAP encoded input decimal value into a Cache %SmallInt value. Returns "" for error.