Please note: this project is inactive since early 2006
Subsections

 
2.4.7.2 RToOne

RToOne objects describe a to-one relationship from an Entity to another. It derives from Relationship and overrides the following defaults:

Prop.  Type  Default  Comment 
name string no default The name is the only mandatory arguments when instanciating a RToOne. Once set, it should not be changed
multiplicity sequence [0,1]  
joinSemantic int 0 see 2.4.7 for possible values

(All other defaults are BaseRelationship's ones, cf.2.4.7)

Minimally, a RToOne needs a name and a the name of the destination entity, destination.

2.4.7.2.1 Source and destination attributes

 

Attributes src and dst, identifying source and destination attributes, are automatically calculated if they are not supplied:

Of course, you can specify your own source and destination attributes. In this case, it is requires that both are supplied, and that they corrspond to attributes (resp. AForeignKey and APrimaryKey attributes) explicitly declared in the source/destination entities.

Comments are welcome: Sebastien Bigaret / Modeling Home Page
Hosted by:SourceForge.net Logo