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