Package Modeling :: Package interfaces :: Module GlobalID
[show private | hide private]
[frames | no frames]

Module Modeling.interfaces.GlobalID

GlobalID API

This interface defines the API of classes GlobalID and TemporaryGlobalID.

Notification:

'GlobalIDChangedNotification' -- Posted by objects which change 'TemporaryGlobalID' to 'KeyGlobalID' ; notification contains the following fileds: object: 'None', userInfo: a dictionary mapping temporary global ids to their corresponding 'KeyGlobalID'

CVS information

$Id: GlobalID.py,v 1.5 2004/07/20 06:21:41 sbigaret Exp $

Classes
Base  
GlobalIDInterface GlobalID
IKeyGlobalID KeyGlobalID
ITemporaryGlobalID TemporaryGlobalID

Function Summary
  globalIDWithEntityName(entityName, informations)
Returns a new GlobalID based on the supplied informations.

Function Details

globalIDWithEntityName(entityName, informations)

Returns a new GlobalID based on the supplied informations.

Parameter 'informations' can be either:

  • None, in which case a 'TemporaryGlobalID' is returned, or
  • an object implementing XXX,
  • a dictionary '{PK_name: value}', containing all entities' PKs

In the two latter cases a 'KeyGlobalID' is returned.


Generated by Epydoc 2.1 on Sat Mar 4 13:36:25 2006 http://epydoc.sf.net