- Code: Select all
<packagedElement xmi:type='uml:Class' xmi:id='BOUML_0x27182_4' name='EXTRACT_CHAPTER' visibility='package'>
<ownedComment xmi:type='uml:Comment' xmi:id='COMMENT_506' body='One content chapter of an Extract; contains information relating to only one entity.'/>
<generalization xmi:type='uml:Generalization' xmi:id='BOUML_0x2bb02_0' general='BOUML_0x1f682_4'/>
<ownedAttribute xmi:type='uml:Property' xmi:id='BOUML_0x29b82_0' name='items' visibility='public' type='BOUML_0x27302_4' association='BOUML_ASSOC_0x29b82_0'>
<ownedComment xmi:type='uml:Comment' xmi:id='COMMENT_507' body='The information content of this chapter.'/>
<lowerValue xmi:type='uml:LiteralString' xmi:id='BOUML_MULTIPLICITY_L_0x29b82_0' value='*'/>
<upperValue xmi:type='uml:LiteralString' xmi:id='BOUML_MULTIPLICITY_U_0x29b82_0' value='*'/>
</ownedAttribute>
</packagedElement>
In the corrected case below, class has inner comment and inner comment sets class as annotatedElement.
- Code: Select all
<packagedElement xmi:type='uml:Class' xmi:id='BOUML_0x1ff02_4' name='PARTY_SELF' visibility='package'>
<ownedComment xmi:type='uml:Comment' xmi:id='_18_1_83e026d_1424861995349_946692_4495' body='Party proxy representing the subject of the record. Used to indicate that the party is the owner of the record. May or may not have external_ref set. '>
<annotatedElement xmi:idref='BOUML_0x1ff02_4'/>
</ownedComment>
<generalization xmi:type='uml:Generalization' xmi:id='BOUML_0x1f682_0' general='BOUML_0x1fe02_4'/>
</packagedElement>