Difference between revisions of "Artefact:Model/de/gtools/gaertner/sandbox/trans01/Transaction01"

From OOModels
< Artefact:Model‎ | de‎ | gtools‎ | gaertner‎ | sandbox‎ | trans01
Jump to navigationJump to search
Line 11: Line 11:


<wiml>
<wiml>
# Transaction StateMachine
# Transaction01 StateMachine
~ state1,state2,state3,state4,state5,state6,state7,finished[Finished]
~ state1,state2,state3,state4,state5,state6,state7,finished[Finished]
   An example transaction
   An example transaction
Line 21: Line 21:
+ XMLogicImplementation
+ XMLogicImplementation
   - OnCreateInitialisation = JavaCodeTemplate=« ==>> state1; »
   - OnCreateInitialisation = JavaCodeTemplate=« ==>> state1; »
** Attribute1 de/gtools/gaertner/sandbox/trans/Person
** Attribute1 de/gtools/gaertner/sandbox/trans01/Person
   + XMLogic
   + XMLogic
     - DefaultValue = JavaCode=« Class_Factory_Person.construct(context, "", "") »
     - DefaultValue = JavaCode=« Class_Factory_Person.construct(context, "", "") »
Line 28: Line 28:
   + XMVUI
   + XMVUI
     - Mode = Literal="transactionreadwrite"
     - Mode = Literal="transactionreadwrite"
** Attribute2 de/gtools/gaertner/sandbox/trans/Produkt
** Attribute2 de/gtools/gaertner/sandbox/trans01/Produkt
   + XMLogic
   + XMLogic
     - DefaultValue = JavaCode=« Class_Factory_Produkt.construct(context, "", "") »
     - DefaultValue = JavaCode=« Class_Factory_Produkt.construct(context, "", "") »
Line 35: Line 35:
   + XMVUI
   + XMVUI
     - Mode = Literal="transactionreadwrite"
     - Mode = Literal="transactionreadwrite"
** Attribute3 de/gtools/gaertner/sandbox/trans/Person
** Attribute3 de/gtools/gaertner/sandbox/trans01/Person
   + XMLogic
   + XMLogic
     - DefaultValue = JavaCode=« Class_Factory_Person.construct(context, "", "") »
     - DefaultValue = JavaCode=« Class_Factory_Person.construct(context, "", "") »

Revision as of 13:37, 11 May 2010

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

private name space of Manfred

create new pages

Code[edit]

Transaction01
«StateMachine»
state1state2state3state4state5state6state7finished[Finished]

An example transaction
...
XMPresentation NameBeautiful
IconName"transaction.png"
XMAssembly ObjectEditorSpaceOperationIconName"transaction.png"
XMLogicImplementation OnCreateInitialisationJavaCodeTemplate = « ==>> state1; »
Attribute1Person«»
...
XMLogic DefaultValueJavaCode = « Class_Factory_Person.construct(context, "", "") »
XMPresentation VisibilityStates[
    state1,
    state2
]
XMVUI ModeLiteral = "transactionreadwrite"
Attribute2Produkt«»
...
XMLogic DefaultValueJavaCode = « Class_Factory_Produkt.construct(context, "", "") »
XMPresentation VisibilityStates[
    state1,
    state3
]
XMVUI ModeLiteral = "transactionreadwrite"
Attribute3Person«»
...
XMLogic DefaultValueJavaCode = « Class_Factory_Person.construct(context, "", "") »
XMPresentation VisibilityStates[
    state4,
    state5
]
XMVUI ModeMapmm1 = {
    State = "state4",
    Mode = {
        Literal = "transactionreadwrite_eins"
    }
},
mm2 = {
    State = "state5",
    Mode = {
        Literal = "transactionreadwrite_zwei"
    }
}
Attribute4Person«»
...
XMLogic DefaultValueJavaCode = « Class_Factory_Person.construct(context, "", "") »
XMPresentation VisibilityStates[
    state6,
    state7
]
XMVUI ModeMapmm1 = {
    State = "state6",
    Mode = {
        Literal = "transactionreadwrite"
    },
    VisibilityFeatureIncludeRegExp = {
        Literal = "vorname"
    }
},
mm2 = {
    State = "state7",
    Mode = {
        Literal = "transactionreadwrite"
    },
    VisibilityFeatureIncludeRegExp = {
        Literal = "nachname"
    }
}
state1──► next1void () «»
...
XMPresentation Namenext
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state2; »
state2──► next2void () «»
...
XMPresentation Namenext
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state3; »
state3──► next3void () «»
...
XMPresentation Namenext
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state4; »
state4──► next4void () «»
...
XMPresentation Namenext
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state5; »
state5──► next5void () «»
...
XMPresentation Namenext
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state6; »
state6──► next6void () «»
...
XMPresentation Namenext
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state7; »
state2──► back2void () «»
...
XMPresentation Nameback
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state1; »
state3──► back3void () «»
...
XMPresentation Nameback
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state2; »
state4──► back4void () «»
...
XMPresentation Nameback
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state3; »
state5──► back5void () «»
...
XMPresentation Nameback
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state4; »
state6──► back6void () «»
...
XMPresentation Nameback
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state5; »
state7──► back7void () «»
...
XMPresentation Nameback
ImpactProceed
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> state6; »
state1state2state3state4state5state6state7──► cancelvoid () «»
...
XMPresentation Name"Stop Transaction"
ImpactAbort
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> finished; »