Class Reference
Cache for UNIX 2018.1.2
InterSystems: The power behind what matters   
Documentation  Search
Private  Storage  

datatype class SYS.DataCheck.RangeState extends %Integer

ODBC Type: VARCHAR

Defines the possible states for global ranges recorded in the RangeList objects. The logical value is one of the following constants, defined for convenience in %syDataCheck.inc:

  • 0 - $$$RangeStateUnknown - system has not checked this range yet
  • 1 - $$$RangeStateMatched - system has found this range to be matched
  • 2 - $$$RangeStateExcluded - this range is excluded from the check
  • 3 - $$$RangeStateIncluded - used only by the global selection set of RangeLists, this range is to be included in the check
  • -1 - $$$RangeStateUnmatched - system has found a discrepancy in this range
  • -2 - $$$RangeStateColDis - system has found a collation discrepancy
  • Inventory

    Parameters Properties Methods Queries Indices ForeignKeys Triggers
    2


    Summary

    Methods
    DisplayToLogical IsValid LogicalToDisplay Normalize
    XSDToLogical


    Methods

    • classmethod DisplayToLogical(%val As %String) as %Integer
    Converts the input value %val, which is a string representing an integer, into a logical integer value.

    Returns the logical integer value of the input string %val.

    • classmethod LogicalToDisplay(%val As %Integer) as %String
    Converts the value of %val, which is in logical integer format, into a display string. The formatting is based on the value of the FORMAT parameter.

    Returns the formatted value of %val.



    Copyright © 1997-2019, InterSystems Corporation