AnsweredAssumed Answered

association child multiplicity has been violated

Question asked by pmarreddy on Dec 24, 2005
Latest reply on Jan 7, 2006 by pmarreddy
hi,

i have defined my xml
<child-association name="cube:contains1">
               <source>
                  <mandatory>true</mandatory>
                  <many>false</many>
               </source>
           
               <target>
                  <class>cube:exam</class>
                  <mandatory>true</mandatory>
                  <many>false</many>
               </target>
</child-association>


i have a child for both source and target still i get this warning. any one has nay idea.



The association child multiplicity has been violated:
   Association: Association[ class=ClassDef [ name={cube.com}exam], name={cube.com}contains1, target class={cube.com}exam, source role=null, target role=null]
   Required child Multiplicity: 1..1
   Actual child Multiplicity: 0

i have one more question,

what is source target relationship and when we say target mandatory what does it mean.
<target>
        <class>cube:exam</class>
         <mandatory>true</mandatory>
          <many>false</many>
</target>


prasanth

Outcomes