IRISLIB database
Id Class Reference

The XML.Id datatype class represents an ID 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 ..Id(). More...

Inheritance diagram for Id:
Collaboration diagram for Id:

Additional Inherited Members

- Static Public Member Functions inherited from String
_.Library.String DisplayToLogical (_, _.Library.String val)
 Converts the input value val, which is a string, into the logical string format. More...
 
_.Library.Status IsValid (_, _.Library.RawString val)
 Tests if the logical value val, which is a string, is valid. More...
 
_.Library.String JSONToLogical (_, _.Library.String val)
 If JSONLISTPARAMETER is specified, XSDToLogical is generated which imports using the list specified by JSONLISTPARAMETER.
 
_.Library.String LogicalToDisplay (_, _.Library.String val)
 Converts the value of val, which is in logical format, into a display string. More...
 
_.Library.String LogicalToJSON (_, _.Library.String val)
 If JSONLISTPARAMETER is specified, XSDToLogical is generated which exports using the list specified by JSONLISTPARAMETER.
 
_.Library.String LogicalToXSD (_, _.Library.String val)
 If XMLLISTPARAMETER is specified, XSDToLogical is generated which exports using the list specified by XMLLISTPARAMETER.
 
_.Library.String Normalize (_, _.Library.RawString val)
 Truncates value val to MAXLEN, characters.
 
_.Library.String XSDToLogical (_, _.Library.String val)
 If XMLLISTPARAMETER is specified, XSDToLogical is generated which imports using the list specified by XMLLISTPARAMETER.
 
- Static Public Attributes inherited from String
 COLLATION = None
 The default collation value used for this data type. More...
 
 CONTENT = None
 XML element content "MIXED" for mixed="true" and "STRING" or "ESCAPE" for mixed="false". More...
 
 DISPLAYLIST = None
 Used for enumerated (multiple-choice) attributes. More...
 
 ESCAPE = None
 Controls the translate table used to escape content when CONTENT="MIXED" is specified.
 
 JSONLISTPARAMETER = None
 Used to specify the name of the parameter which contains the enumeration list for JSON values. More...
 
 JSONTYPE = None
 JSONTYPE is JSON type used for this datatype.
 
 MAXLEN = None
 The maximum number of characters the string can contain. More...
 
 MINLEN = None
 The minimum number of characters the string can contain.
 
 PATTERN = None
 A pattern which the string should match. More...
 
 TRUNCATE = None
 Determines whether to truncate the string to MAXLEN characters.
 
 VALUELIST = None
 Used for enumerated (multiple-choice) attributes. More...
 
 XMLLISTPARAMETER = None
 Used to specify the name of the parameter which contains the enumeration list for XML values. More...
 
 XSDTYPE = None
 Declares the XSD type used when projecting XML Schemas.
 
- Static Public Attributes inherited from DataType
 INDEXNULLMARKER = None
 Override this parameter value to specify what value should be used as a null marker when a property of the type is used in a subscript of an index map. More...
 

Detailed Description

The XML.Id datatype class represents an ID 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 ..Id().

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 Id is available to the programmer. Note that it will still be the programmer's responsibility to deal with the imported ID – no automatic matching of records is done based on this ID.