Difference between revisions of "Artefact:Model/org/oomodels/sandbox/business/foundation/locations/LocatorURLWizard"

From OOModels
Jump to navigationJump to search
Line 56: Line 56:
     - Name = create
     - Name = create
   + XMLogicImplementation
   + XMLogicImplementation
     - OperationBody = JavaCodeTemplate=« locator = Class_Factory_LocatorURL.construct(context, "http://" + server + "/" + path + "?" + query);\n ==>> result; »
     - OperationBody = JavaCodeTemplate=« locator = Class_Factory_LocatorURL.construct(context, "http://" + server + "/" + path + "?" + query); ==>> result; »
!! back2 void()
!! back2 void()
   ~~ path
   ~~ path

Revision as of 11:28, 15 January 2010

Classification
Type Type:org/oomodels/WIML/1.0
Domain Domain:it/test
Category Type:org/oomodels/wiki/Model
More
Download Code
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]

LocatorURLWizard
«StateMachine»
serverpathqueryresultfinished[Finished]

Enter an URL step by step
...
XMLogicImplementation OnCreateInitialisationJavaCodeTemplate = « ==>> server; »
ServerString«»
...
XMLogic DefaultValueJavaCode = « "www.example.com" »
XMPresentation VisibilityStates[
    server,
    path,
    query
]
ChangeabilityStates[
    server
]
PathString«»
...
XMLogic DefaultValueJavaCode = « "my/path" »
XMPresentation VisibilityStates[
    path,
    query
]
ChangeabilityStates[
    path
]
QueryString«»
...
XMLogic DefaultValueJavaCode = « "key=value" »
XMPresentation VisibilityStates[
    query
]
ChangeabilityStates[
    query
]
URLLocatorURL«»
...
XMLogic DefaultValueJavaCode = « "" »
XMPresentation VisibilityStates[
    result
]
server──► next1void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> path; »
path──► next2void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> query; »
query──► next3void () «»
...
XMPresentation Namecreate
XMLogicImplementation OperationBodyJavaCodeTemplate = « locator = Class_Factory_LocatorURL.construct(context, "http://" + server + "/" + path + "?" + query); ==>> result; »
path──► back2void () «»
...
XMPresentation Nameback
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> server; »
query──► back3void () «»
...
XMPresentation Nameback
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> path; »
serverpathquery──► cancelvoid () «»
...
XMPresentation Namecancel
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> finished; »
result──► closevoid () «»
...
XMPresentation Nameclose
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> finished; »