| Home | Trees | Index | Help |
|
|---|
| Package Modeling :: Module PyModel :: Class Association |
|
BaseDescription --+
|
Association
Describes an Association between 2 entities
An Association binds two entities, 'src' and 'dst' (cf. __init__()), with two relationships:
- a toOne relationship src -> dst
- a toMany relationship dst -> src
| Method Summary | |
|---|---|
__init__(self,
src,
dst,
**kw)
| |
build(self,
model)
| |
Check the self.multiplicity is correct | |
| Inherited from BaseDescription | |
return an independant copy of object | |
| |
make test more useful | |
| |
| |
| Class Variable Summary | |
|---|---|
dict |
defaults = {'joinSemantic': [0, 0], 'displayLabel': ['',...
|
| Inherited from BaseDescription | |
str |
VERSION = '0.1'
|
| Method Details |
|---|
check_multiplicity(self)Check the self.multiplicity is correct Returns: (src->dst multiplicity, dst->src multiplicity) |
| Class Variable Details |
|---|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sat Mar 4 13:36:27 2006 | http://epydoc.sf.net |