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

datatype class %XML.GUID extends %String

ODBC Type: VARCHAR

The %XML.GUID datatype class represents a GUID field in an XML enabled class and has the following behavior:
1) If the property has not been set, it's value will default to ..%GUID(). Thus opening and exporting a persistent object will result in including the ID.
2) It is possible to set the property value and then retrieve it. Thus the exported class can be imported and the imported GUID is available to the programmer. Note that it will still be the programmer's responsibility to deal with the imported GUID -- no automatic matching of records is done based on this GUID.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1


Summary

Methods
DisplayToLogical IsValid JSONToLogical LogicalToDisplay
LogicalToJSON LogicalToOdbc LogicalToXSD Normalize
XSDToLogical


Parameters

• parameter XSDTYPE = "string";
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.