addExternalKey(keyType: PrimType; keyLength: Integer; scaleFactor: Integer; descending: Boolean; caseInsensitive: Boolean; sortOrder: Integer) updating;
The addExternalKey method of the JadeUserCollClass class adds an external key specification to a user collection that is a subclass of
Use the keyType to specify the primitive type for the key. (For more details, see "
For
Set the descending parameter to true if you want keys sorted in descending order and the caseInsensitive parameter to true if case-sensitivity is not required.
For
If you require multiple keys, call the addExternalKey method to define each key in sequence. To signify that all keys have been defined, call the endKeys method.
The following preconditions apply when adding keys to a dynamic dictionary.
The collection is empty
The member type has been specified by using the setMembership method
The dictionary contains external key definitions only
The total concatenated key size does not exceed the current key size limit (512 character units)
The appropriate system exception is raised if any of these preconditions are violated.