Difference between revisions of "Artefact:Model/org/oomodels/tests/models/basic/SimpleClass"

From OOModels
< Artefact:Model‎ | org‎ | oomodels‎ | tests‎ | models‎ | basic
Jump to navigationJump to search
 
(4 intermediate revisions by 2 users not shown)
Line 7: Line 7:
}}
}}


== XML Code ==
== Code ==


<pre>
<div class="code">
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<UMLClass Name="SimpleClass" xmlns="http://www.ooem.org/1.0">
<Class Name="SimpleClass" xmlns="http://www.ooem.org/1.0">
  <Attribute Name="MyAttribute" Type="String"/>
  <ExternalImport>java.lang.String</ExternalImport>
</UMLClass>
<div class="attribute">
</pre>
  <Attribute Name="MyAttribute" Type="String"/>
</div>
</Class>
</div>


== {{Type:org/oomodels/wiki/doclet/Description}} ==
== {{Type:org/oomodels/wiki/doclet/Description}} ==


Basic Model Unit Test: plain class with one string attribute.
Basic Model Unit Test: plain class with one string attribute.

Latest revision as of 18:18, 8 September 2008

Classification
Type Type:org/ooem/UMLClass/1.0
Domain Domain:it/test
Encoding Type:org/xocp/OCP/xml/2.0
Category Type:org/oomodels/wiki/Model
More
Download Code
Namespace (more)

OOModels main namespace

create new pages

Code[edit]

<?xml version="1.0" encoding="UTF-8"?>
<Class Name="SimpleClass" xmlns="http://www.ooem.org/1.0">
  <ExternalImport>java.lang.String</ExternalImport>
  <Attribute Name="MyAttribute" Type="String"/>
</Class>

Description[edit]

Basic Model Unit Test: plain class with one string attribute.