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:
+ XMLogicImplementation
+ XMLogicImplementation
   - OnCreateInitialisation = JavaCodeTemplate=« ==>> state1; »
   - OnCreateInitialisation = JavaCodeTemplate=« ==>> state1; »
** Attribute1 Model08a
** Attribute1 net/leue/andreas/sandbox/model08/Model08a
   + XMLogic
   + XMLogic
     - DefaultValue = JavaCode=« Class_Factory_Model08a.construct(context) »
     - DefaultValue = JavaCode=« Class_Factory_Model08a.construct(context) »
Line 23: Line 23:
   + XMVUI
   + XMVUI
     - Mode = Literal="transactionreadwrite"
     - Mode = Literal="transactionreadwrite"
** Attribute2 Model08b
** Attribute2 net/leue/andreas/sandbox/model08/Model08b
   + XMLogic
   + XMLogic
     - DefaultValue = JavaCode=« Class_Factory_Model08b.construct(context) »
     - DefaultValue = JavaCode=« Class_Factory_Model08b.construct(context) »
Line 30: Line 30:
   + XMVUI
   + XMVUI
     - Mode = Literal="transactionreadwrite"
     - Mode = Literal="transactionreadwrite"
** Attribute3 Model08a
** Attribute3 net/leue/andreas/sandbox/model08/Model08a
   + XMLogic
   + XMLogic
     - DefaultValue = JavaCode=« Class_Factory_Model08a.construct(context) »
     - DefaultValue = JavaCode=« Class_Factory_Model08a.construct(context) »

Revision as of 16:28, 15 December 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
«StateMachine»
state1state2state3state4state5

An example transaction
...
XMLogicImplementation OnCreateInitialisationJavaCodeTemplate = « ==>> state1; »
Attribute1Model08a«»
...
XMLogic DefaultValueJavaCode = « Class_Factory_Model08a.construct(context) »
XMPresentation VisibilityStates[
    state1,
    state2
]
XMVUI ModeLiteral = "transactionreadwrite"
Attribute2Model08b«»
...
XMLogic DefaultValueJavaCode = « Class_Factory_Model08b.construct(context) »
XMPresentation VisibilityStates[
    state1,
    state3
]
XMVUI ModeLiteral = "transactionreadwrite"
Attribute3Model08a«»
...
XMLogic DefaultValueJavaCode = « Class_Factory_Model08a.construct(context) »
XMPresentation VisibilityStates[
    state4,
    state5
]
XMVUI ModeMapmm1 = {
    State = "state4",
    Mode = {
        Literal = "transactionreadwrite_eins"
    }
},
mm2 = {
    State = "state5",
    Mode = {
        Literal = "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; »