Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%xsd] >  [nonPositiveInteger]
Private  Storage   

datatype class %xsd.nonPositiveInteger extends %Integer

ODBC Type: VARCHAR

This data type represents a non-positive integer value.

This is identical to the %xsd.integer data type except that it has a default MAXVAL parameter of 0.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3


Summary

Methods
DisplayToLogical IsValid LogicalToDisplay Normalize
XSDToLogical


Parameters

• parameter MAXVAL = 0;
The maximum 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 = "nonPositiveInteger";
Declares the XSD type used when projecting XML schemas.


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