Difference between revisions of "Artefact:Model/net/leue/andreas/sandbox/model08/Transaction08"

From OOModels
< Artefact:Model‎ | net‎ | leue‎ | andreas‎ | sandbox‎ | model08
Jump to navigationJump to search
(New page: {{Metabox | Meta_Type = Type:org/oomodels/WIML/1.0 | Meta_Domain = Domain:it/test | Meta_Category = Type:org/oomodels/wiki/Model | Meta_Downloa...)
 
Line 12: Line 12:
<wiml>
<wiml>
# Transaction08 InteractionClass
# Transaction08 InteractionClass
~ state1,state2,state3
~ state1,state2,state3,state4,state5
   An example transaction
   An example transaction
** Attribute1 Model08
** Attribute1 Model08a
   + XMLogic
   + XMLogic
     - DefaultValue = "value1-1";
     - DefaultValue = Class_Factory_Model08a.construct(context);
   + XMPresentation
   + XMPresentation
     - VisibilityStates = [state1,state2,state3]
     - VisibilityStates = [state1,state2]
   + XMVUI
   + XMVUI
     - Mode = "transactionreadwrite"
     - Mode = "transactionreadwrite"
** Attribute2 Model08b
  + XMLogic
    - DefaultValue = Class_Factory_Model08b.construct(context);
  + XMPresentation
    - VisibilityStates = [state1,state3]
  + XMVUI
    - Mode = "transactionreadwrite"
** Attribute3 Model08a
  + XMLogic
    - DefaultValue = Class_Factory_Model08a.construct(context);
  + XMPresentation
    - VisibilityStates = [state4,state5]
  + XMVUI
    - ModeMap = mm1={ State="state4", Mode="transactionreadwrite_eins" },\nmm2={ State="state5", Mode="transactionreadwrite_zwei" }
!! next1 void()
!! next1 void()
   ~~ state1
   ~~ state1
Line 26: Line 40:
     - Name = next
     - Name = next
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ attribute1="value1-2";\nattribute2="value2-2";\n==>> state2;
     - OperationBody = ~ ==>> state2;
!! next2 void()
!! next2 void()
   ~~ state2
   ~~ state2
Line 32: Line 46:
     - Name = next
     - Name = next
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ attribute1="value1-3";\nattribute1="value2-3";\n==>> state3;
     - OperationBody = ~ ==>> state3;
!! next3 void()
  ~~ state3
  + XMPresentation
    - Name = next
  + XMLogicImplementation
    - OperationBody = ~ ==>> state4;
!! next4 void()
  ~~ state4
  + XMPresentation
    - Name = next
  + XMLogicImplementation
    - OperationBody = ~ ==>> state5;
!! back2 void()
!! back2 void()
   ~~ state2
   ~~ state2
Line 38: Line 64:
     - Name = back
     - Name = back
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ attribute1="value1-1";\nattribute2="value2-1";\n==>> state1;
     - OperationBody = ~ ==>> state1;
!! back3 void()
!! back3 void()
   ~~ state3
   ~~ state3
Line 44: Line 70:
     - Name = back
     - Name = back
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ attribute1="value1-2";\nattribute2="value2-2";\n==>> state2;
     - OperationBody = ~ ==>> state2;
!! back4 void()
  ~~ state4
  + XMPresentation
    - Name = back
  + XMLogicImplementation
    - OperationBody = ~ ==>> state3;
!! back5 void()
  ~~ state5
  + XMPresentation
    - Name = back
  + XMLogicImplementation
    - OperationBody = ~ ==>> state4;
</wiml>
</wiml>

Revision as of 15:14, 7 August 2009

Classification
Type Type:org/oomodels/WIML/1.0
Domain Domain:it/test
Category Type:org/oomodels/wiki/Model
More
Download Code
Namespace (more)

Private namespace of Andreas Leue.

create new pages

Code[edit]

Transaction08
«InteractionClass»
state1state2state3state4state5

An example transaction
Attribute1Model08a«»
...
XMLogic DefaultValueClass_Factory_Model08aconstructcontext
XMPresentation VisibilityStates[
    state1,
    state2
]
XMVUI Mode"transactionreadwrite"
Attribute2Model08b«»
...
XMLogic DefaultValueClass_Factory_Model08bconstructcontext
XMPresentation VisibilityStates[
    state1,
    state3
]
XMVUI Mode"transactionreadwrite"
Attribute3Model08a«»
...
XMLogic DefaultValueClass_Factory_Model08aconstructcontext
XMPresentation VisibilityStates[
    state4,
    state5
]
XMVUI ModeMapmm1 = {
    State = "state4",
    Mode = "transactionreadwrite_eins"
},
nmm2 = {
    State = "state5",
    Mode = "transactionreadwrite_zwei"
}
state1──► next1void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBody =  = state2
state2──► next2void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBody =  = state3
state3──► next3void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBody =  = state4
state4──► next4void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBody =  = state5
state2──► back2void () «»
...
XMPresentation Nameback
XMLogicImplementation OperationBody =  = state1
state3──► back3void () «»
...
XMPresentation Nameback
XMLogicImplementation OperationBody =  = state2
state4──► back4void () «»
...
XMPresentation Nameback
XMLogicImplementation OperationBody =  = state3
state5──► back5void () «»
...
XMPresentation Nameback
XMLogicImplementation OperationBody =  = state4