Home > Class Reference > ENSLIB namespace > %xsd.byte
Private  Storage   

%xsd.byte


datatype class %xsd.byte extends %Integer

ODBC Type: VARCHAR

This data type represents a tiny integer value.

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

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
4


Summary


Methods
DisplayToLogical IsValid LogicalToDisplay Normalize
XSDToLogical


Parameters


• parameter MAXVAL = 127;
The maximum allowed logical value for the data type.
• parameter MINVAL = -128;
The minimum allowed logical value for the data type.
• parameter STRICT = 1;
If '1' then IsValid will return false for numbers that are not integers e.g. 1.2, -0.01 rather than the default behavior which is to allow these an normalize them to an integer. This validation is done by $number using "I" format, so the rules associated with this function apply.
• parameter XSDTYPE = "byte";
Declares the XSD type used when projecting XML schemas.