Difference between revisions of "Type:org/oomodels/WIML/1.0"

From OOModels
< Type:org‎ | oomodels‎ | WIML
Jump to navigationJump to search
Line 16: Line 16:
  &lt;wiml&gt;
  &lt;wiml&gt;
   * ClassName Stereotype
   * ClassName Stereotype
    &gt; BaseClass
     Single line class description
     Single line class description
   ** Attribute1Name Type Stereotype
   ** Attribute1Name Type Stereotype
Line 37: Line 38:
       - Property222Name = Property222Value
       - Property222Name = Property222Value
       - ...
       - ...
  ** ...
  ** Association1Name Type(1:n) Stereotype
    Single line association description
  ** Association2Name Type(0..1:5) Stereotype
    Single line association description
   ** ...
   ** ...
  &lt;/wiml&gt;
  &lt;/wiml&gt;
Line 46: Line 52:
<wiml>
<wiml>
* ClassName Stereotype
* ClassName Stereotype
  > BaseClass
   Single line class description
   Single line class description
** Attribute1Name Type Stereotype
** Attribute1Name Type Stereotype
Line 63: Line 70:
     - Property221Name = Property221Value
     - Property221Name = Property221Value
     - Property222Name = Property222Value
     - Property222Name = Property222Value
** Association1Name Type(1:n) Stereotype
  Single line association description
** Association2Name Type(0..1:5) Stereotype
  Single line association description
</wiml>
</wiml>

Revision as of 16:04, 23 July 2008

Classification
MIME Type text/plain
FileExtension wiml
Domain Domain:it/development/modelling
Category Type:org/oomodels/wiki/Version
Namespace (more)

OOModels main namespace

create new pages

Description[edit]

This is version 1.0 of Type:org/oomodels/WIML


Syntax[edit]

<wiml>
 * ClassName Stereotype
   > BaseClass
   Single line class description
 ** Attribute1Name Type Stereotype
    Single line attribute description
    + Extension11Name
      - Property111Name = Property111Value
      - Property112Name = Property112Value
      - ...
    + Extension12Name
      - Property121Name = Property121Value
      - Property122Name = Property122Value
      - ...
 ** Attribute2Name Type Stereotype
    Single line attribute description
    + Extension21Name
      - Property211Name = Property211Value
      - Property212Name = Property212Value
      - ...
    + Extension22Name
      - Property221Name = Property221Value
      - Property222Name = Property222Value
      - ...
 ** ...
 ** Association1Name Type(1:n) Stereotype
    Single line association description
 ** Association2Name Type(0..1:5) Stereotype
    Single line association description
 ** ...
</wiml>

The above code (except the "..." parts) is rendered as follows:


BaseClass
ClassName
«Stereotype»
Single line class description
Attribute1NameType«Stereotype»
...
Extension11Name Property111NameProperty111Value
Property112NameProperty112Value
Extension12Name Property121NameProperty121Value
Property122NameProperty122Value
Single line attribute description
Attribute2NameType«Stereotype»
...
Extension21Name Property211NameProperty211Value
Property212NameProperty212Value
Extension22Name Property221NameProperty221Value
Property222NameProperty222Value
Single line attribute description
Association1Name──1:n──► Type«Stereotype»
Single line association description
Association2Name──0..1:5──► Type«Stereotype»
Single line association description