ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | modfact-dev List | May 2004 Index

    Date Index         Thread Index    

Re: modfact, question. (Export instances d'associations)


Bonjour   Merci d'avoir remarqué ce problem.   En fait, le package "TagAnnotModel" est assez spécial: il contient aucune classe mais il contient des associations reliant les classes des autres package.   Le fichier est vide parce que XmiWriterImpl cherche à exporter les instances de classes. Les instances d'associations (i.e. liens) sont ainsi exportées avec (comme effet secondaire).   Pour résoudre le problème. J'ai ajouté du code dans la méthode "org.objectweb.modfact.jmi.xmi.Writer.writePackage(..)". Ce code sert à chercher tous les liens (instances d'associations) et les exporter. Donc même s'il y a accune instances de classes, les liens resteront tenus en compte.     it = extent.refAllAssociations().iterator(); while(it.hasNext()) { RefAssociation a = (RefAssociation) it.next(); Iterator it2 = a.refAllLinks().iterator(); while(it2.hasNext()) {      RefAssociationLink al = (RefAssociationLink) it2.next();      writeOuterMostCompositeOf(al.refFirstEnd());      writeOuterMostCompositeOf(al.refSecondEnd());    } }     Ci-joint le résultat (annontedapplimodel.xml). Le fichier n'est pas vide!

Je vais faire  la mise a jour sur le JmiRepositoryProject. Vous pouvez récupérer la nouvelle version. 

Cordialement

--------------------------------------------------------------------
Prawee SRIPLAKICH
LIP6 - thème SRC - Bureau C1133
8, rue du Capitaine Scott, 75015 Paris - FRANCE
Tel:   +33 (0) 1 44 27 88 61
Fax : +33 (0) 1 44 27 87 71
------------------------------------------------------------------------



-----Message d'origine-----
De : BONNET Stephane [mailto:Stephane.BONNET@xxxxxxxxxxx]
Envoyé : jeudi 29 avril 2004 17:46
À : Xavier Blanc
Objet : modfact, question.


Bonjour,

j'utilise le JMI Repository Maker de Modfact régulièrement, et j'aurais une
question relative au dumping d'un modèle instance de l'union de 2
méta-modèles. Je ne sais pas si vous aurez le temps de me répondre, mais
bon, j'essaie ;)

Dans le zip attaché à ce mail (à renommer pour des raisons de firewalls,
spams, etc...) je donne un petit exemple très basique de mon problème.

En résumé :
- j'ai un MM AppliModel qui me permet de spécifier une application
- j'ai un MM TagModel qui introduit la notion de tags
- j'ai un MM TagAnnotModel qui définit comment les tags de TagModel peuvent
être reliés aux élémenents de AppliModel.

(ces MM sont définis dans metamodels.mdl, et exportés dans metamodels.xml)

J'ai un petit projet Java / Eclipse qui utlise les API générées par Modfact
pour créér des instances de ces meta-modèles. Dans une classe Java,
- je créé mon le modèle de mon appli
- je créé mes tags
- je les relie.

Je peux dumper sans problème les 2 premiers séparément. (voir le répertoire
"generatedmodelinstances"). Par contre, si j'essaie de dumper le modèle qui
contient les véritables liaisons, le fichier généré est vide :(

J'aurais aimé savoir si c'est un comportement "normal" / "prévisible" de
Modfact...

Merci beaucoup,


Stéphane Bonnet
(thésard Gemplus / LIFL)
<?xml version = '1.0' encoding = 'ISO-8859-1'?>
<!-- <!DOCTYPE XMI SYSTEM 'Model1311.DTD' > -->
<XMI xmi.version = '1.1' xmlns:Model='http://omg.org/mof.Model/1.3' timestamp = 'Thu Apr 29 16:27:22 2004' >
 <XMI.header>
  <XMI.documentation>
   <XMI.exporter>Unisys.JCR.1</XMI.exporter>
   <XMI.exporterVersion>1.3.6</XMI.exporterVersion>
  </XMI.documentation>
  <XMI.metamodel xmi.name = 'org.omg.mof.Model' xmi.version = '1.3'/>
 </XMI.header>
<XMI.content>
<!-- ==================== AppliModel    [Package] ==================== -->
<Model:Package xmi.id = 'a400D8CE50163' 
  name = 'AppliModel' annotation = '' 
  isRoot = 'false' isLeaf = 'false' isAbstract = 'false' visibility = 'public_vis' >
  <Model:Namespace.contents>
    <!-- ==================== AppliModel.M2Class    [Class] ==================== -->
    <Model:Class xmi.id = 'a400D8DDA00F7' 
      name = 'M2Class' annotation = '' 
      isRoot = 'false' isLeaf = 'false' isAbstract = 'false' visibility = 'public_vis' 
      isSingleton = 'false' >
      <Model:Namespace.contents>
        <!-- ==================== AppliModel.M2Class.attributes    [Reference] ==================== -->
        <Model:Reference xmi.id = 'ra400D8E640073' 
          name = 'attributes' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          type = 'a400D8DE1004D' 
          referencedEnd = 'a400D8E640073' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:StructuralFeature.multiplicity>
        </Model:Reference>
        <!-- ==================== AppliModel.M2Class.operations    [Reference] ==================== -->
        <Model:Reference xmi.id = 'ra400D8E670352' 
          name = 'operations' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          type = 'a400D8DEB01EB' 
          referencedEnd = 'a400D8E670352' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:StructuralFeature.multiplicity>
        </Model:Reference>
        <!-- ==================== AppliModel.M2Class.m2Application    [Reference] ==================== -->
        <Model:Reference xmi.id = 'ra400D9092008B' 
          name = 'm2Application' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          type = 'a400D90600150' 
          referencedEnd = 'a400D9092008B' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:StructuralFeature.multiplicity>
        </Model:Reference>
        <!-- ==================== AppliModel.M2Class.name    [Attribute] ==================== -->
        <Model:Attribute xmi.id = 'a400D8E0403AA' 
          name = 'name' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          isDerived = 'false' 
          type = 'a400D8DA40244' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:StructuralFeature.multiplicity>
        </Model:Attribute>
      </Model:Namespace.contents>
    </Model:Class>
    <!-- ==================== AppliModel.com.urep.jcr.transient=true    [Tag] ==================== -->
    <Model:Tag xmi.id = 'G.16' 
      name = 'com.urep.jcr.transient=true' annotation = '' 
      tagId = 'com.urep.jcr.transient' 
      elements = 'a400D8DDA00F7 a400D8DE1004D a400D8DEB01EB a400D90600150' >
      <Model:Tag.values>
        <XMI.any xmi.type = 'string' xmi.name = ''>true</XMI.any>
      </Model:Tag.values>
    </Model:Tag>
    <Model:Import xmi.id = 'G.17' 
      name = 'Types' annotation = '' 
      visibility = 'public_vis' isClustered = 'false' 
      importedNamespace = 'a400D8CEB0053' >
    </Model:Import>
    <!-- ==================== AppliModel.M2Attribute    [Class] ==================== -->
    <Model:Class xmi.id = 'a400D8DE1004D' 
      name = 'M2Attribute' annotation = '' 
      isRoot = 'false' isLeaf = 'false' isAbstract = 'false' visibility = 'public_vis' 
      isSingleton = 'false' >
      <Model:Namespace.contents>
        <!-- ==================== AppliModel.M2Attribute.m2Class    [Reference] ==================== -->
        <Model:Reference xmi.id = 'ra400D8E640075' 
          name = 'm2Class' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          type = 'a400D8DDA00F7' 
          referencedEnd = 'a400D8E640075' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:StructuralFeature.multiplicity>
        </Model:Reference>
        <!-- ==================== AppliModel.M2Attribute.name    [Attribute] ==================== -->
        <Model:Attribute xmi.id = 'a400D8E4F02A4' 
          name = 'name' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          isDerived = 'false' 
          type = 'a400D8DA40244' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:StructuralFeature.multiplicity>
        </Model:Attribute>
        <!-- ==================== AppliModel.M2Attribute.type    [Attribute] ==================== -->
        <Model:Attribute xmi.id = 'a4090C7C1036A' 
          name = 'type' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          isDerived = 'false' 
          type = 'a400D8DA40244' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:StructuralFeature.multiplicity>
        </Model:Attribute>
      </Model:Namespace.contents>
    </Model:Class>
    <!-- ==================== AppliModel.M2Operation    [Class] ==================== -->
    <Model:Class xmi.id = 'a400D8DEB01EB' 
      name = 'M2Operation' annotation = '' 
      isRoot = 'false' isLeaf = 'false' isAbstract = 'false' visibility = 'public_vis' 
      isSingleton = 'false' >
      <Model:Namespace.contents>
        <!-- ==================== AppliModel.M2Operation.m2Class    [Reference] ==================== -->
        <Model:Reference xmi.id = 'ra400D8E67035C' 
          name = 'm2Class' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          type = 'a400D8DDA00F7' 
          referencedEnd = 'a400D8E67035C' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:StructuralFeature.multiplicity>
        </Model:Reference>
        <!-- ==================== AppliModel.M2Operation.name    [Attribute] ==================== -->
        <Model:Attribute xmi.id = 'a400D8E2902D1' 
          name = 'name' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          isDerived = 'false' 
          type = 'a400D8DA40244' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:StructuralFeature.multiplicity>
        </Model:Attribute>
        <!-- ==================== AppliModel.M2Operation.type    [Attribute] ==================== -->
        <Model:Attribute xmi.id = 'a4090C7FA036C' 
          name = 'type' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          isDerived = 'false' 
          type = 'a400D8DA40244' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:StructuralFeature.multiplicity>
        </Model:Attribute>
      </Model:Namespace.contents>
    </Model:Class>
    <!-- ==================== AppliModel.M2Application    [Class] ==================== -->
    <Model:Class xmi.id = 'a400D90600150' 
      name = 'M2Application' annotation = '' 
      isRoot = 'false' isLeaf = 'false' isAbstract = 'false' visibility = 'public_vis' 
      isSingleton = 'false' >
      <Model:Namespace.contents>
        <!-- ==================== AppliModel.M2Application.classes    [Reference] ==================== -->
        <Model:Reference xmi.id = 'ra400D90920089' 
          name = 'classes' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          type = 'a400D8DDA00F7' 
          referencedEnd = 'a400D90920089' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:StructuralFeature.multiplicity>
        </Model:Reference>
        <!-- ==================== AppliModel.M2Application.name    [Attribute] ==================== -->
        <Model:Attribute xmi.id = 'a400D906F0300' 
          name = 'name' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          isDerived = 'false' 
          type = 'a400D8DA40244' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:StructuralFeature.multiplicity>
        </Model:Attribute>
      </Model:Namespace.contents>
    </Model:Class>
    <!-- ==================== AppliModel.hasAttributes    [Association] ==================== -->
    <Model:Association xmi.id = 'a400D8E630086' 
      name = 'hasAttributes' annotation = '' 
      isRoot = 'true' isLeaf = 'true' isAbstract = 'false' visibility = 'public_vis' 
      isDerived = 'false' >
      <Model:Namespace.contents>
        <Model:AssociationEnd xmi.id = 'a400D8E640073' 
          name = 'attributes' annotation = '' 
          isNavigable = 'true' aggregation = 'none' isChangeable = 'true' 
          type = 'a400D8DE1004D' >
          <Model:AssociationEnd.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:AssociationEnd.multiplicity>
        </Model:AssociationEnd>
        <Model:AssociationEnd xmi.id = 'a400D8E640075' 
          name = 'm2Class' annotation = '' 
          isNavigable = 'true' aggregation = 'none' isChangeable = 'true' 
          type = 'a400D8DDA00F7' >
          <Model:AssociationEnd.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:AssociationEnd.multiplicity>
        </Model:AssociationEnd>
      </Model:Namespace.contents>
    </Model:Association>
    <!-- ==================== AppliModel.hasOperations    [Association] ==================== -->
    <Model:Association xmi.id = 'a400D8E6602E3' 
      name = 'hasOperations' annotation = '' 
      isRoot = 'true' isLeaf = 'true' isAbstract = 'false' visibility = 'public_vis' 
      isDerived = 'false' >
      <Model:Namespace.contents>
        <Model:AssociationEnd xmi.id = 'a400D8E670352' 
          name = 'operations' annotation = '' 
          isNavigable = 'true' aggregation = 'none' isChangeable = 'true' 
          type = 'a400D8DEB01EB' >
          <Model:AssociationEnd.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:AssociationEnd.multiplicity>
        </Model:AssociationEnd>
        <Model:AssociationEnd xmi.id = 'a400D8E67035C' 
          name = 'm2Class' annotation = '' 
          isNavigable = 'true' aggregation = 'none' isChangeable = 'true' 
          type = 'a400D8DDA00F7' >
          <Model:AssociationEnd.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:AssociationEnd.multiplicity>
        </Model:AssociationEnd>
      </Model:Namespace.contents>
    </Model:Association>
    <!-- ==================== AppliModel.hasClasses    [Association] ==================== -->
    <Model:Association xmi.id = 'a400D908E00B6' 
      name = 'hasClasses' annotation = '' 
      isRoot = 'true' isLeaf = 'true' isAbstract = 'false' visibility = 'public_vis' 
      isDerived = 'false' >
      <Model:Namespace.contents>
        <Model:AssociationEnd xmi.id = 'a400D90920089' 
          name = 'classes' annotation = '' 
          isNavigable = 'true' aggregation = 'none' isChangeable = 'true' 
          type = 'a400D8DDA00F7' >
          <Model:AssociationEnd.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:AssociationEnd.multiplicity>
        </Model:AssociationEnd>
        <Model:AssociationEnd xmi.id = 'a400D9092008B' 
          name = 'm2Application' annotation = '' 
          isNavigable = 'true' aggregation = 'none' isChangeable = 'true' 
          type = 'a400D90600150' >
          <Model:AssociationEnd.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:AssociationEnd.multiplicity>
        </Model:AssociationEnd>
      </Model:Namespace.contents>
    </Model:Association>
  </Model:Namespace.contents>
</Model:Package>
<!-- ==================== TagModel    [Package] ==================== -->
<Model:Package xmi.id = 'a400D8CE90186' 
  name = 'TagModel' annotation = '' 
  isRoot = 'false' isLeaf = 'false' isAbstract = 'false' visibility = 'public_vis' >
  <Model:Namespace.contents>
    <!-- ==================== TagModel.M2Tag    [Class] ==================== -->
    <Model:Class xmi.id = 'a400D8EC20259' 
      name = 'M2Tag' annotation = '' 
      isRoot = 'false' isLeaf = 'false' isAbstract = 'false' visibility = 'public_vis' 
      isSingleton = 'false' >
      <Model:Namespace.contents>
        <!-- ==================== TagModel.M2Tag.name    [Attribute] ==================== -->
        <Model:Attribute xmi.id = 'a400D8F4D015E' 
          name = 'name' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          isDerived = 'false' 
          type = 'a400D8DA40244' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:StructuralFeature.multiplicity>
        </Model:Attribute>
      </Model:Namespace.contents>
    </Model:Class>
    <!-- ==================== TagModel.com.urep.jcr.transient=true    [Tag] ==================== -->
    <Model:Tag xmi.id = 'G.18' 
      name = 'com.urep.jcr.transient=true' annotation = '' 
      tagId = 'com.urep.jcr.transient' 
      elements = 'a400D8EC20259 a400D8EFF015C a400D8F010390' >
      <Model:Tag.values>
        <XMI.any xmi.type = 'string' xmi.name = ''>true</XMI.any>
      </Model:Tag.values>
    </Model:Tag>
    <Model:Import xmi.id = 'G.19' 
      name = 'Types' annotation = '' 
      visibility = 'public_vis' isClustered = 'false' 
      importedNamespace = 'a400D8CEB0053' >
    </Model:Import>
    <!-- ==================== TagModel.M2Tag4Attribute    [Class] ==================== -->
    <Model:Class xmi.id = 'a400D8EFF015C' 
      name = 'M2Tag4Attribute' annotation = '' 
      isRoot = 'false' isLeaf = 'false' isAbstract = 'false' visibility = 'public_vis' 
      isSingleton = 'false' 
      supertypes = 'a400D8EC20259' >
      <Model:Namespace.contents>
        <!-- ==================== TagModel.M2Tag4Attribute.TagOnValue    [Attribute] ==================== -->
        <Model:Attribute xmi.id = 'a400D8FA002BC' 
          name = 'TagOnValue' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          isDerived = 'false' 
          type = 'a400D8DA40244' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:StructuralFeature.multiplicity>
        </Model:Attribute>
      </Model:Namespace.contents>
    </Model:Class>
    <!-- ==================== TagModel.M2Tag4Operation    [Class] ==================== -->
    <Model:Class xmi.id = 'a400D8F010390' 
      name = 'M2Tag4Operation' annotation = '' 
      isRoot = 'false' isLeaf = 'false' isAbstract = 'false' visibility = 'public_vis' 
      isSingleton = 'false' 
      supertypes = 'a400D8EC20259' >
      <Model:Namespace.contents>
        <!-- ==================== TagModel.M2Tag4Operation.TagOnArguments    [Attribute] ==================== -->
        <Model:Attribute xmi.id = 'a400D8FE10356' 
          name = 'TagOnArguments' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          isDerived = 'false' 
          type = 'a400D8DA40244' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:StructuralFeature.multiplicity>
        </Model:Attribute>
        <!-- ==================== TagModel.M2Tag4Operation.TagOnResult    [Attribute] ==================== -->
        <Model:Attribute xmi.id = 'a4090CF1B021C' 
          name = 'TagOnResult' annotation = '' 
          scope = 'instance_level' visibility = 'public_vis' 
          isChangeable = 'true' 
          isDerived = 'false' 
          type = 'a400D8DA40244' >
          <Model:StructuralFeature.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:StructuralFeature.multiplicity>
        </Model:Attribute>
      </Model:Namespace.contents>
    </Model:Class>
  </Model:Namespace.contents>
</Model:Package>
<!-- ==================== Types    [Package] ==================== -->
<Model:Package xmi.id = 'a400D8CEB0053' 
  name = 'Types' annotation = '' 
  isRoot = 'false' isLeaf = 'false' isAbstract = 'false' visibility = 'public_vis' >
  <Model:Namespace.contents>
    <!-- ==================== Types.String    [DataType] ==================== -->
    <Model:DataType xmi.id = 'a400D8DA40244' 
      name = 'String' annotation = '' 
      isRoot = 'true' isLeaf = 'true' isAbstract = 'false' visibility = 'public_vis' >
      <Model:DataType.typeCode>
        <XMI.CorbaTypeCode>
          <XMI.CorbaTcString xmi.tcLength = '0'/>
        </XMI.CorbaTypeCode>
      </Model:DataType.typeCode>
    </Model:DataType>
    <!-- ==================== Types.com.urep.jcr.transient=true    [Tag] ==================== -->
    <Model:Tag xmi.id = 'G.20' 
      name = 'com.urep.jcr.transient=true' annotation = '' 
      tagId = 'com.urep.jcr.transient' 
      elements = 'a400D8DA40244' >
      <Model:Tag.values>
        <XMI.any xmi.type = 'string' xmi.name = ''>true</XMI.any>
      </Model:Tag.values>
    </Model:Tag>
  </Model:Namespace.contents>
</Model:Package>
<!-- ==================== TagAnnotModel    [Package] ==================== -->
<Model:Package xmi.id = 'a400D8CED00E2' 
  name = 'TagAnnotModel' annotation = '' 
  isRoot = 'false' isLeaf = 'false' isAbstract = 'false' visibility = 'public_vis' >
  <Model:Namespace.contents>
    <!-- ==================== TagAnnotModel.atttributeIsTagged    [Association] ==================== -->
    <Model:Association xmi.id = 'a400D90DD038A' 
      name = 'atttributeIsTagged' annotation = '' 
      isRoot = 'true' isLeaf = 'true' isAbstract = 'false' visibility = 'public_vis' 
      isDerived = 'false' >
      <Model:Namespace.contents>
        <Model:AssociationEnd xmi.id = 'a400D90E001A4' 
          name = 'tag' annotation = '' 
          isNavigable = 'true' aggregation = 'none' isChangeable = 'true' 
          type = 'a400D8EFF015C' >
          <Model:AssociationEnd.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:AssociationEnd.multiplicity>
        </Model:AssociationEnd>
        <Model:AssociationEnd xmi.id = 'a400D90E001A6' 
          name = 'm2Attribute' annotation = '' 
          isNavigable = 'true' aggregation = 'none' isChangeable = 'true' 
          type = 'a400D8DE1004D' >
          <Model:AssociationEnd.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:AssociationEnd.multiplicity>
        </Model:AssociationEnd>
      </Model:Namespace.contents>
    </Model:Association>
    <Model:Import xmi.id = 'G.21' 
      name = 'TagModel' annotation = '' 
      visibility = 'public_vis' isClustered = 'false' 
      importedNamespace = 'a400D8CE90186' >
    </Model:Import>
    <Model:Import xmi.id = 'G.22' 
      name = 'AppliModel' annotation = '' 
      visibility = 'public_vis' isClustered = 'false' 
      importedNamespace = 'a400D8CE50163' >
    </Model:Import>
    <!-- ==================== TagAnnotModel.operationIsTagged    [Association] ==================== -->
    <Model:Association xmi.id = 'a400D90E80282' 
      name = 'operationIsTagged' annotation = '' 
      isRoot = 'true' isLeaf = 'true' isAbstract = 'false' visibility = 'public_vis' 
      isDerived = 'false' >
      <Model:Namespace.contents>
        <Model:AssociationEnd xmi.id = 'a400D90E903B0' 
          name = 'tag' annotation = '' 
          isNavigable = 'true' aggregation = 'none' isChangeable = 'true' 
          type = 'a400D8F010390' >
          <Model:AssociationEnd.multiplicity>
            <Model:MultiplicityType lower = '1' upper = '1' is_ordered = 'false' is_unique = 'false' />
          </Model:AssociationEnd.multiplicity>
        </Model:AssociationEnd>
        <Model:AssociationEnd xmi.id = 'a400D90E903B2' 
          name = 'm2Operation' annotation = '' 
          isNavigable = 'true' aggregation = 'none' isChangeable = 'true' 
          type = 'a400D8DEB01EB' >
          <Model:AssociationEnd.multiplicity>
            <Model:MultiplicityType lower = '0' upper = '-1' is_ordered = 'false' is_unique = 'true' />
          </Model:AssociationEnd.multiplicity>
        </Model:AssociationEnd>
      </Model:Namespace.contents>
    </Model:Association>
  </Model:Namespace.contents>
</Model:Package>
</XMI.content>
</XMI>
<?xml version = '1.0' encoding = 'ISO-8859-1' ?>
<XMI xmi.version = '1.2'>
<XMI.header>
<XMI.documentation>
<XMI.exporter>ModFact</XMI.exporter>
<XMI.exporterVersion>1.0</XMI.exporterVersion>
</XMI.documentation>
</XMI.header>
<XMI.content>
<M2Tag4Attribute xmi.id='0' name='myTagName' TagOnValue='myTagOnValue'>
</M2Tag4Attribute>
<M2Attribute xmi.id='1' name='mySecondAttribute' type='SecondType'>
<M2Attribute.m2Class>
<M2Class xmi.idref='2'/>
</M2Attribute.m2Class>
</M2Attribute>
<M2Tag4Operation xmi.id='3' name='myTagName' TagOnArguments='myTagOnArgument' TagOnResult='myTagOnResult'>
</M2Tag4Operation>
<M2Operation xmi.id='4' name='myOperation' type='myTpe'>
<M2Operation.m2Class>
<M2Class xmi.idref='2'/>
</M2Operation.m2Class>
</M2Operation>
<M2Class xmi.id='2' name='myClass'>
<M2Class.attributes>
<M2Attribute xmi.idref='5'/>
<M2Attribute xmi.idref='1'/>
</M2Class.attributes>
<M2Class.operations>
<M2Operation xmi.idref='4'/>
</M2Class.operations>
<M2Class.m2Application>
<M2Application xmi.idref='6'/>
</M2Class.m2Application>
</M2Class>
<M2Application xmi.id='6' name='myApplication'>
<M2Application.classes>
<M2Class xmi.idref='2'/>
</M2Application.classes>
</M2Application>
<M2Attribute xmi.id='5' name='myFirstAttribute' type='FirstType'>
<M2Attribute.m2Class>
<M2Class xmi.idref='2'/>
</M2Attribute.m2Class>
</M2Attribute>
</XMI.content>
</XMI>


    Date Index         Thread Index    

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.