Difference between revisions of "Artefact:Model/org/oomodels/sandbox/business/foundation/entities/RelationshipWizard"

From OOModels
Jump to navigationJump to search
Line 21: Line 21:
     - DefaultValue = JavaCode=« Class_Factory_Relationship.construct(context) »
     - DefaultValue = JavaCode=« Class_Factory_Relationship.construct(context) »
   + XMPresentation
   + XMPresentation
     - VisibilityStates = [selectperson,createperson]
     - VisibilityStates = [selectperson,createperson,result]
   + XMVUI
   + XMVUI
     - ModeMap = mm1={ State="selectperson", Mode={Literal="transactionreadwrite_eins"} }, mm2={ State="createperson", Mode={Literal="transactionreadwrite_zwei"} }, mm3={ State="result", Mode={Literal="transactionreadonly"} }
     - ModeMap = mm1={ State="selectperson", Mode={Literal="transactionreadwrite_eins"} }, mm2={ State="createperson", Mode={Literal="transactionreadwrite_zwei"} }, mm3={ State="result", Mode={Literal="transactionreadonly"} }

Revision as of 10:48, 10 November 2009

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

Provides a sandbox for modelling.

It is intended to develop generalised, sufficiently abstract artefacts that can serve as common ground for more specific models.

create new pages

Code[edit]

RelationshipWizard
«StateMachine»
selectpersoncreatepersonresult

This wizard creates a relationship in two steps
...
XMLogicImplementation OnCreateInitialisationJavaCodeTemplate = « ==>> selectperson; »
RelationshipRelationship«»
...
XMLogic DefaultValueJavaCode = « Class_Factory_Relationship.construct(context) »
XMPresentation VisibilityStates[
    selectperson,
    createperson,
    result
]
XMVUI ModeMapmm1 = {
    State = "selectperson",
    Mode = {
        Literal = "transactionreadwrite_eins"
    }
},
mm2 = {
    State = "createperson",
    Mode = {
        Literal = "transactionreadwrite_zwei"
    }
},
mm3 = {
    State = "result",
    Mode = {
        Literal = "transactionreadonly"
    }
}
selectperson──► next1void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> createperson; »
createperson──► next2void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> result; »