Artefact:Model/org/oomodels/sandbox/business/foundation/locations/LocatorURLWizard

From OOModels
Jump to navigationJump to search
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
]
ChangeabilityModes[
    readonly,
    readwrite,
    transactionreadonly,
    transactionreadwrite
]
PathString«»
...
XMLogic DefaultValueJavaCode = « "my/path" »
XMPresentation VisibilityStates[
    path,
    query
]
ChangeabilityStates[
    path
]
ChangeabilityModes[
    readonly,
    readwrite,
    transactionreadonly,
    transactionreadwrite
]
QueryString«»
...
XMLogic DefaultValueJavaCode = « "key=value" »
XMPresentation VisibilityStates[
    query
]
ChangeabilityStates[
    query
]
ChangeabilityModes[
    readonly,
    readwrite,
    transactionreadonly,
    transactionreadwrite
]
URLLocatorURL«»
...
XMLogic DefaultValueJavaCode = « null »
XMPresentation VisibilityStates[
    result
]
server──► next1void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> path; »
path──► next2void () «»
...
XMPresentation Namenext
XMLogicImplementation OperationBodyJavaCodeTemplate = « ==>> query; »
query──► next3void () «»
...
XMPresentation Namecreate
XMLogicImplementation OperationBodyJavaCodeTemplate = « url = 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; »