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

From OOModels
< Type:org‎ | oomodels‎ | WIML
Jump to navigationJump to search
Line 96: Line 96:
     - Property521Name = Property521Value
     - Property521Name = Property521Value
     - Property522Name = Property522Value
     - Property522Name = Property522Value
!! Operation6Name ReturnType(Argument61Name:Argument61Type,Argument62Name:Argument62Type) Stereotype
  Single line operation description
  + Extension61Name
    - Property611Name = Property611Value
    - Property612Name = Property612Value
  + Extension62Name
    - Property621Name = Property621Value
    - Property622Name = Property622Value
</wiml>
</wiml>


{{Browse}}
{{Browse}}

Revision as of 10:28, 10 November 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
 ** ...
 !! Operation1Name ReturnType(Argument11Name:Argument11Type,Argument12Name:Argument12Type) Stereotype
    Single line operation description
    + ...
 !! ...
</wiml>

The above code (except the "..." parts) is rendered as follows. Please note: all types (Type, Stereotype, Base) are rendered automatically as links. If the typename contains no "/", it is assumed it is a primitive model type defined in Artefact:Model/org/oomodels/primitives. If it does contain a "/", it is linked to the respective subpage in Artefact:Model.

BaseClass
ClassName≦Arg1≧≦Arg2≧≤Arg3≥≤Arg4≥<Arg5><Arg6>
«Stereotype»
Single line class description
...
Extension1Name Property11NameProperty11Value
Property12NameProperty12Value
Extension2Name Property21NameProperty21Value
Property22NameProperty22Value
Attribute1NameType«Stereotype»
...
Extension11Name Property111NameProperty111Value
Property112NameProperty112Value
Extension12Name Property121NameProperty121Value
Property122NameProperty122Value
Single line attribute description
Attribute2NameType«Stereotype»
...
Extension21Name Property211NameProperty211Value
Property212NameProperty212Value
Extension22Name Property221NameProperty221Value
Property222NameProperty222Value
Single line attribute description
Association3Name──1:+──► Type«Stereotype»
Single line association description
Association4Name──0..1:5──► Type«Stereotype»
Single line association description
Operation5NameReturnType (Argument51Name: Argument51Type, Argument52Name: Argument52Type) «Stereotype»
...
Extension51Name Property511NameProperty511Value
Property512NameProperty512Value
Extension52Name Property521NameProperty521Value
Property522NameProperty522Value
Single line operation description
Operation6NameReturnType (Argument61Name: Argument61Type, Argument62Name: Argument62Type) «Stereotype»
...
Extension61Name Property611NameProperty611Value
Property612NameProperty612Value
Extension62Name Property621NameProperty621Value
Property622NameProperty622Value
Single line operation description


Browse[edit]