Difference between revisions of "Artefact:Model/org/oomodels/tests/models/basic/SimpleClass"
From OOModels
Jump to navigationJump to search
AndreasLeue (talk | contribs) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
}} | }} | ||
== | == Code == | ||
<div class="code"> | |||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
< | <Class Name="SimpleClass" xmlns="http://www.ooem.org/1.0"> | ||
<ExternalImport>java.lang.String</ExternalImport> | |||
<div class="attribute"> | |||
<Attribute Name="MyAttribute" Type="String"/> | <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.