Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Private Attributes
Archetypes.ref_graph.Edge Class Reference

List of all members.

Public Member Functions

def __init__
def __str__
def __hash__

Public Attributes


Static Private Attributes

 __repr__ = __str__

Detailed Description

simple edge class 

Definition at line 46 of file

Constructor & Destructor Documentation

def Archetypes.ref_graph.Edge.__init__ (   self,

Definition at line 49 of file

00050     def __init__(self, src, dest, reference):
00051         self.src = src
00052         self.dest = dest
00053         self.relationship = reference.relationship

Here is the caller graph for this function:

Member Function Documentation

Definition at line 59 of file

00060     def __hash__(self):
00061         return hash((self.src.uid,  self.dest.uid, self.relationship))

Definition at line 54 of file

00055     def __str__(self):
00056         return '%s -> %s [label="%s", href="%s/reference_graph"]' % (self.src,
00057                                                     self.dest,
00058                                                     self.relationship,

Member Data Documentation

Definition at line 62 of file

Definition at line 51 of file

Definition at line 52 of file

Definition at line 50 of file

The documentation for this class was generated from the following file: