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

From OOModels
Jump to navigationJump to search
Line 36: Line 36:
** URL LocatorURL
** URL LocatorURL
   + XMLogic
   + XMLogic
     - DefaultValue = JavaCode=« "" »
     - DefaultValue = JavaCode=« null »
   + XMPresentation
   + XMPresentation
     - VisibilityStates = [result]
     - VisibilityStates = [result]

Revision as of 11:52, 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 = « null »
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; »