Artefact:Model/net/leue/andreas/sandbox/model08/Transaction08

Code
~ state1,state2,state3,state4,state5,state6,state7,finished[Finished] An example transaction + XMPresentation - Name = Beautiful - IconName = "transaction.png" + XMAssembly - ObjectEditorSpaceOperationIconName = "transaction.png" + XMLogicImplementation - OnCreateInitialisation = JavaCodeTemplate=« setup(context); ==>> state1; » + XMPresentation - VisibilityStates = «state1||state2» + XMVUI - Mode = Literal="transactionreadwrite" + XMPresentation - VisibilityStates = «state1||state3» + XMVUI - Mode = Literal="transactionreadwrite" + XMPresentation - VisibilityStates = «state4||state5» + XMVUI - ModeMap = mm1={ State="state4", Mode={Literal="transactionreadwrite_eins"} }, mm2={ State="state5", Mode={Literal="transactionreadwrite_zwei"} } + XMPresentation - VisibilityStates = «state6||state7» + XMVUI - ModeMap = mm1={ State="state6", Mode={Literal="transactionreadwrite"}, VisibilityFeatureIncludeRegExp={Literal="vorname"} }, mm2={ State="state7", Mode={Literal="transactionreadwrite"}, VisibilityFeatureIncludeRegExp={Literal="nachname"} } !! setup void NoUI,Transactional + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state2; setAttribute1(context, Class_Factory_Model08a.construct(context, "", "")); setAttribute2(context, Class_Factory_Model08b.construct(context, "", "")); setAttribute3(context, Class_Factory_Model08a.construct(context, "", "")); setAttribute4(context, Class_Factory_Model08a.construct(context, "", "")); » + XMTransactional - PerCall = true - Independent = true - Final = false !! next1 void state1 + XMPresentation - Name = next - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state2; » !! next2 void state2 + XMPresentation - Name = next - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state3; » !! next3 void state3 + XMPresentation - Name = next - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state4; » !! next4 void state4 + XMPresentation - Name = next - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state5; » !! next5 void state5 + XMPresentation - Name = next - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state6; » !! next6 void state6 + XMPresentation - Name = next - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state7; » !! back2 void state2 + XMPresentation - Name = back - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state1; » !! back3 void state3 + XMPresentation - Name = back - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state2; » !! back4 void state4 + XMPresentation - Name = back - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state3; » !! back5 void state5 + XMPresentation - Name = back - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state4; » !! back6 void state6 + XMPresentation - Name = back - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state5; » !! back7 void state7 + XMPresentation - Name = back - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state6; » !! cancel void state1||state2||state3||state4||state5||state6||state7 + XMPresentation - Name = "Stop Transaction" - Impact = Abort + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> finished; »
 * 1) Transaction08 StateMachine
 * Attribute1 net/leue/andreas/sandbox/model08/Model08a TransactionInside,AllowNull
 * Attribute2 net/leue/andreas/sandbox/model08/Model08b TransactionInside,AllowNull
 * Attribute3 net/leue/andreas/sandbox/model08/Model08a TransactionInside,AllowNull
 * Attribute4 net/leue/andreas/sandbox/model08/Model08a TransactionInside,AllowNull