com.esri.arcgis.geodatabase
Interface IGUIDGenerator

All Superinterfaces:
Serializable
All Known Implementing Classes:
IGUIDGeneratorProxy

public interface IGUIDGenerator
extends Serializable

Provides access to a GUID generator.

Remarks

Geodatabase workspaces can be cast to this interface to create and validate GUIDs.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 String createGUID()
          Create a Global Unique Identifier.
 boolean validateGUID(String gUID)
          Validates the format of a Global Unique Identifier.
 

Method Detail

createGUID

String createGUID()
                  throws IOException,
                         AutomationException
Create a Global Unique Identifier.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The gUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateGUID

boolean validateGUID(String gUID)
                     throws IOException,
                            AutomationException
Validates the format of a Global Unique Identifier.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
gUID - The gUID (in)
Returns:
The isValidFormat
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.