1
Suggestions and Requests / Re: generate tables from classes
« on: August 18, 2004, 06:49:11 am »
Did you try the "table" stereotype for your classes? Perhaps the behaviour of EA in this case is the one your looking for...
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
MyClass::MyClass()
: myAttribute(InitialValue)
{
// code...
}
MyClass::MyClass()
{
// code...
}
<XMI.documentation>
<XMI.exporter>Enterprise Architect</XMI.exporter>
<XMI.exporterVersion>2.5</XMI.exporterVersion>
</XMI.documentation>
<?xml version="1.0"?>
<XMI xmi.version="1.1" xmlns:UML="omg.org/UML1.3">
<XMI.header>
<XMI.header>
<XMI.metamodel name="UML" version="1.3" href="UML.xml"/>
<XMI.model name="example" version="1" href="example.xml"/>
</XMI.header>
</XMI.header>
<XMI.content>
<UML:Model name="EA Model" xmi.id="MX_EAID_F0F1B9A0_3F79_4a82_8D1A_205E33BCB323">
<UML:Namespace.ownedElement>
<UML:Class name="EARootClass" isLeaf="false" xmi.id="EAID_11111111_5487_4080_A7F4_41526CB0AA00" isRoot="true" isAbstract="false"/>
<UML:Package name="AssocConstraintTest" visibility="public" isLeaf="false" isRoot="true" isAbstract="false" namespace="idD387F10">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="created" value="2004-06-14 00:00:00"/>
<UML:TaggedValue tag="modified" value="2004-06-14 00:00:00"/>
<UML:TaggedValue tag="iscontrolled" value="FALSE"/>
<UML:TaggedValue tag="version" value="1.0"/>
<UML:TaggedValue tag="isprotected" value="FALSE"/>
<UML:TaggedValue tag="usedtd" value="FALSE"/>
<UML:TaggedValue tag="logxml" value="FALSE"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="ea_stype" value="Public"/>
</UML:ModelElement.taggedValue>
<UML:Namespace.ownedElement>
<UML:Class name="Class1" visibility="public" isLeaf="false" xmi.id="idD35DCA0" isRoot="false" isAbstract="false" namespace="idD387F10" isActive="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Class"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="1.0"/>
<UML:TaggedValue tag="package" value="idD387F10"/>
<UML:TaggedValue tag="gentype" value="BDS"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package_name" value="AssocConstraintTest"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
</UML:ModelElement.taggedValue>
</UML:Class>
<UML:Class name="Class2" visibility="public" isLeaf="false" xmi.id="idD3AE7E0" isRoot="false" isAbstract="false" namespace="idD387F10" isActive="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Class"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="1.0"/>
<UML:TaggedValue tag="package" value="idD387F10"/>
<UML:TaggedValue tag="gentype" value="BDS"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package_name" value="AssocConstraintTest"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
</UML:ModelElement.taggedValue>
</UML:Class>
<UML:Association visibility="public" isLeaf="false" xmi.id="idD3A2610" isRoot="false" isAbstract="false">
<UML:ModelElement.constraint>
<UML:Constraint name="indexed">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="type" value="Invariant"/>
<UML:TaggedValue tag="description" value="true"/>
</UML:ModelElement.taggedValue>
</UML:Constraint>
</UML:ModelElement.constraint>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="style" value="3"/>
<UML:TaggedValue tag="ea_type" value="Association"/>
<UML:TaggedValue tag="direction" value="Unspecified"/>
<UML:TaggedValue tag="linemode" value="3"/>
<UML:TaggedValue tag="seqno" value="0"/>
<UML:TaggedValue tag="headStyle" value="0"/>
<UML:TaggedValue tag="lineStyle" value="0"/>
<UML:TaggedValue tag="virtualInheritance" value="0"/>
</UML:ModelElement.taggedValue>
<UML:Association.connection>
<UML:AssociationEnd multiplicity="" isNavigable="true" name="the1_" visibility="public" isOrdered="false" aggregation="none" type="idD35DCA0">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="containment" value="Unspecified"/>
</UML:ModelElement.taggedValue>
</UML:AssociationEnd>
<UML:AssociationEnd multiplicity="*" isNavigable="true" name="the2_" visibility="public" isOrdered="false" aggregation="none" type="idD3AE7E0">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="containment" value="Unspecified"/>
</UML:ModelElement.taggedValue>
</UML:AssociationEnd>
</UML:Association.connection>
</UML:Association>
</UML:Namespace.ownedElement>
</UML:Package>
</UML:Namespace.ownedElement>
</UML:Model>
</XMI.content>
</XMI>