equal
deleted
inserted
replaced
293 cardinality = '1*' |
293 cardinality = '1*' |
294 |
294 |
295 class cw_support(RelationDefinition): |
295 class cw_support(RelationDefinition): |
296 subject = 'CWSource' |
296 subject = 'CWSource' |
297 object = ('CWEType', 'CWRType') |
297 object = ('CWEType', 'CWRType') |
|
298 constraints = [RQLConstraint('NOT O final TRUE')] |
298 |
299 |
299 class cw_dont_cross(RelationDefinition): |
300 class cw_dont_cross(RelationDefinition): |
300 subject = 'CWSource' |
301 subject = 'CWSource' |
301 object = 'CWRType' |
302 object = 'CWRType' |
|
303 constraints = [RQLConstraint('NOT O final TRUE'), |
|
304 RQLConstraint('NOT S cw_may_cross O')] |
302 |
305 |
303 class cw_may_cross(RelationDefinition): |
306 class cw_may_cross(RelationDefinition): |
304 subject = 'CWSource' |
307 subject = 'CWSource' |
305 object = 'CWRType' |
308 object = 'CWRType' |
|
309 constraints = [RQLConstraint('NOT O final TRUE'), |
|
310 RQLConstraint('NOT S cw_dont_cross O')] |
306 |
311 |
307 # "abtract" relation types, no definition in cubicweb itself ################### |
312 # "abtract" relation types, no definition in cubicweb itself ################### |
308 |
313 |
309 class identical_to(RelationType): |
314 class identical_to(RelationType): |
310 """identical to""" |
315 """identical to""" |