Difference between revisions of "Artefact:Model/net/leue/andreas/sandbox/model25/BaseMachine"

From OOModels
< Artefact:Model‎ | net‎ | leue‎ | andreas‎ | sandbox‎ | model25
Jump to navigationJump to search
Line 12: Line 12:
<wiml>
<wiml>
# BaseMachine StateMachine,Singleton
# BaseMachine StateMachine,Singleton
~ state1,state2
~ base:state1,base:state2
+ XMLogicImplementation
+ XMLogicImplementation
   - OnCreateInitialisation = JavaCodeTemplate=« ==>> state1; »
   - OnCreateInitialisation = JavaCodeTemplate=« ==>> base:state1; »
** Attribute1 String
** Attribute1 String
   + XMPresentation
   + XMPresentation
     - VisibilityStates = «state1»
     - VisibilityStates = «base==state1»
   + XMVUI
   + XMVUI
     - Mode = Literal="transactionreadwrite"
     - Mode = Literal="transactionreadwrite"
** Attribute2 String
** Attribute2 String
   + XMPresentation
   + XMPresentation
     - VisibilityStates = «state2»
     - VisibilityStates = «base==State2»
   + XMVUI
   + XMVUI
     - Mode = Literal="transactionreadwrite"
     - Mode = Literal="transactionreadwrite"
!! next1 void()
!! next1 void()
   ~~ state1
   ~~ base==state1
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = JavaCodeTemplate=« ==>> state2; »
     - OperationBody = JavaCodeTemplate=« ==>> base:state2; »
!! back2 void()
!! back2 void()
   ~~ state2
   ~~ base==state2
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = JavaCodeTemplate=« ==>> state1; »
     - OperationBody = JavaCodeTemplate=« ==>> base:state1; »
</wiml>
</wiml>

Revision as of 20:39, 8 June 2011

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]

BaseMachine
«StateMachine, Singleton»
base:state1base:state2
...
XMLogicImplementation OnCreateInitialisationJavaCodeTemplate = « ==>> base:state1; »
Attribute1String«»
...
XMPresentation VisibilityStates«base==state1»
XMVUI ModeLiteral = "transactionreadwrite"
Attribute2String«»
...
XMPresentation VisibilityStates«base==State2»
XMVUI ModeLiteral = "transactionreadwrite"
base==state1──► next1void () «»
...
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> base:state2; »
base==state2──► back2void () «»
...
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> base:state1; »