Synthesized methods and data members for relations

This section of the header file includes every relation of the class defined in the model. If appropriate, it includes a data member, as well as a set of accessor and mutator functions to manipulate the relation.

You can control this section by changing the relation properties and container properties.

For example:

   OMIterator<rclass1*> getrelation1()const;
   void addrelation1(rclass* p);
   void removerelation1(rclass* p);
   void clearrelation1();
protected :
   //
   OMCollection<rclass*> relation1;
   attrType1 getattr1()const;
   void setattrType1(attrType1 p);

Feedback