Namespace: Consultingwerk
Class 
GuidType Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:GuidType
Purpose:Provides helper functions for GUID types
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue May 20 14:07:46 CEST 2014



Top Method Summary
Options Name Purpose
+ CHARACTER NewGuid () Returns a new 36 character GUID value
+ CHARACTER NewUuid () Returns the 22 character BASE64 representation of a new UUID value

Top Constructor Summary
Options Name Purpose
- GuidType () Private constructor for the GuidType class


Method Detail
Top

PUBLIC CHARACTER NewGuid ()

Purpose: Returns a new 36 character GUID value
Notes:

Returns CHARACTER
The 36 character GUID value
Top

PUBLIC CHARACTER NewUuid ()

Purpose: Returns the 22 character BASE64 representation of a new UUID value
Notes: The BASE64 encoded UUID representation is shorter compared to the
original GUID value. However, it can only be used for unique keys,
when the comparison is may case-sensitive. BASE64 may return the
same value (only distinguished by the case) for two different UUID
values!

Returns CHARACTER
The 22 character BASE64 representation of a new UUID value


Constructor Detail
Top

PRIVATE GuidType ()

Purpose: Private constructor for the GuidType class
Notes: Disallow instance creation



©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:29:16