1
2
3
4
5
6
7
8
9
10
11
12
13 from zope.interface import Interface, Attribute
14 from zope.component.interfaces import IObjectEvent
15
16
18 """
19 An object with a GUID.
20 """
22 """
23 The path under which the object can be found.
24 """
25
26
28 """
29 Adapter that manages GUID for objects.
30 """
32 """
33 Constructor
34 """
35
36 guid = Attribute("Globally unique identifier")
37
39 """
40 Gets the GUID associated with this object.
41 """
43 """
44 Sets the GUID for this object.
45 """
47 """
48 Creates a new GUID and applies it to this object.
49 """
50
52 """
53 A utility that can register objects as having guids and look up objects by
54 guid.
55 """
57 """
58 Return the path associated with a guid.
59 """
61 """
62 Return the object associated with a guid.
63 """
65 """
66 Store the guid-path mapping in the reference table.
67 """
68
71