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

 src
 dest
 relationship

Static Private Attributes

 __repr__ = __str__

Detailed Description

simple edge class 

Definition at line 46 of file ref_graph.py.


Constructor & Destructor Documentation

def Archetypes.ref_graph.Edge.__init__ (   self,
  src,
  dest,
  reference 
)

Definition at line 49 of file ref_graph.py.

00049 
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 ref_graph.py.

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

Definition at line 54 of file ref_graph.py.

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

Member Data Documentation

Definition at line 62 of file ref_graph.py.

Definition at line 51 of file ref_graph.py.

Definition at line 52 of file ref_graph.py.

Definition at line 50 of file ref_graph.py.


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