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
Line 16: Line 16:
** Attribute1 Model08a
** Attribute1 Model08a
   + XMLogic
   + XMLogic
     - DefaultValue = Class_Factory_Model08a.construct(context);
     - DefaultValue = JavaCode=« Class_Factory_Model08a.construct(context); »
   + XMPresentation
   + XMPresentation
     - VisibilityStates = [state1,state2]
     - VisibilityStates = [state1,state2]
Line 23: Line 23:
** Attribute2 Model08b
** Attribute2 Model08b
   + XMLogic
   + XMLogic
     - DefaultValue = Class_Factory_Model08b.construct(context);
     - DefaultValue = JavaCode=« Class_Factory_Model08b.construct(context); »
   + XMPresentation
   + XMPresentation
     - VisibilityStates = [state1,state3]
     - VisibilityStates = [state1,state3]
Line 30: Line 30:
** Attribute3 Model08a
** Attribute3 Model08a
   + XMLogic
   + XMLogic
     - DefaultValue = Class_Factory_Model08a.construct(context);
     - DefaultValue = JavaCode=« Class_Factory_Model08a.construct(context); »
   + XMPresentation
   + XMPresentation
     - VisibilityStates = [state4,state5]
     - VisibilityStates = [state4,state5]
   + XMVUI
   + XMVUI
     - ModeMap = mm1={ State="state4", Mode="transactionreadwrite_eins" },\nmm2={ State="state5", Mode="transactionreadwrite_zwei" }
     - ModeMap = mm1={ State="state4", Mode="transactionreadwrite_eins" }, mm2={ State="state5", Mode="transactionreadwrite_zwei" }
!! next1 void()
!! next1 void()
   ~~ state1
   ~~ state1
Line 40: Line 40:
     - Name = next
     - Name = next
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ ==>> state2;
     - OperationBody = JavaCodeTemplate=« ==>> state2; »
!! next2 void()
!! next2 void()
   ~~ state2
   ~~ state2
Line 46: Line 46:
     - Name = next
     - Name = next
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ ==>> state3;
     - OperationBody = JavaCodeTemplate=« ==>> state3; »
!! next3 void()
!! next3 void()
   ~~ state3
   ~~ state3
Line 52: Line 52:
     - Name = next
     - Name = next
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ ==>> state4;
     - OperationBody = JavaCodeTemplate=« ==>> state4; »
!! next4 void()
!! next4 void()
   ~~ state4
   ~~ state4
Line 58: Line 58:
     - Name = next
     - Name = next
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ ==>> state5;
     - OperationBody = JavaCodeTemplate=« ==>> state5; »
!! back2 void()
!! back2 void()
   ~~ state2
   ~~ state2
Line 64: Line 64:
     - Name = back
     - Name = back
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ ==>> state1;
     - OperationBody = JavaCodeTemplate=« ==>> state1; »
!! back3 void()
!! back3 void()
   ~~ state3
   ~~ state3
Line 70: Line 70:
     - Name = back
     - Name = back
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ ==>> state2;
     - OperationBody = JavaCodeTemplate=« ==>> state2; »
!! back4 void()
!! back4 void()
   ~~ state4
   ~~ state4
Line 76: Line 76:
     - Name = back
     - Name = back
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ ==>> state3;
     - OperationBody = JavaCodeTemplate=« ==>> state3; »
!! back5 void()
!! back5 void()
   ~~ state5
   ~~ state5
Line 82: Line 82:
     - Name = back
     - Name = back
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = ~ ==>> state4;
     - OperationBody = JavaCodeTemplate=« ==>> state4; »
</wiml>
</wiml>

Revision as of 07:27, 8 September 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 DefaultValueJavaCode = « Class_Factory_Model08a.construct(context); »
XMPresentation VisibilityStates[
    state1,
    state2
]
XMVUI Mode"transactionreadwrite"
Attribute2Model08b«»
...
XMLogic DefaultValueJavaCode = « Class_Factory_Model08b.construct(context); »
XMPresentation VisibilityStates[
    state1,
    state3
]
XMVUI Mode"transactionreadwrite"
Attribute3Model08a«»
...
XMLogic DefaultValueJavaCode = « Class_Factory_Model08a.construct(context); »
XMPresentation VisibilityStates[
    state4,
    state5
]
XMVUI ModeMapmm1 = {
    State = "state4",
    Mode = "transactionreadwrite_eins"
},
mm2 = {
    State = "state5",
    Mode = "transactionreadwrite_zwei"
}
state1──► next1void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state2; »
state2──► next2void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state3; »
state3──► next3void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state4; »
state4──► next4void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state5; »
state2──► back2void () «»
...
XMPresentation Nameback
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state1; »
state3──► back3void () «»
...
XMPresentation Nameback
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state2; »
state4──► back4void () «»
...
XMPresentation Nameback
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state3; »
state5──► back5void () «»
...
XMPresentation Nameback
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state4; »