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
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Metabox
{{Metabox
| Meta_Type    = Type:org/ooem/UMLClass/1.0
| Meta_Type    = Type:org/ooem/UMLClass/1.0
| Meta_Encoding = Type:org/XOCP/2.0
| Meta_Encoding = Type:org/xocp/OCP/xml/2.0
| Meta_Domain  = Domain:it/test
| Meta_Domain  = Domain:it/test
| Meta_Category = Type:org/oomodels/wiki/Model
| Meta_Category = Type:org/oomodels/wiki/Model
Line 7: Line 7:
}}
}}


<pre>
== Code ==
<?xml version="1.0" encoding="UTF-8"?>
 
<UMLClass Name="SimpleClass" xmlns="http://ooem.org">
<div class="code">
  <Attribute Name="MyAttribute" Type="String"/>
<?xml version="1.0" encoding="UTF-8"?>
</UMLClass>
<Class Name="SimpleClass" xmlns="http://www.ooem.org/1.0">
</pre>
  <ExternalImport>java.lang.String</ExternalImport>
<div class="attribute">
  <Attribute Name="MyAttribute" Type="String"/>
</div>
</Class>
</div>
 
== {{Type:org/oomodels/wiki/doclet/Description}} ==
 
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.