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

From OOModels
Jump to navigationJump to search
 
Line 22: Line 22:
     - VisibilityStates = [server,path,query]
     - VisibilityStates = [server,path,query]
     - ChangeabilityStates= [server]
     - ChangeabilityStates= [server]
    - ChangeabilityModes= [readonly,readwrite,transactionreadonly,transactionreadwrite]
** Path String
** Path String
   + XMLogic
   + XMLogic
Line 28: Line 29:
     - VisibilityStates = [path,query]
     - VisibilityStates = [path,query]
     - ChangeabilityStates= [path]
     - ChangeabilityStates= [path]
    - ChangeabilityModes= [readonly,readwrite,transactionreadonly,transactionreadwrite]
** Query String
** Query String
   + XMLogic
   + XMLogic
Line 34: Line 36:
     - VisibilityStates = [query]
     - VisibilityStates = [query]
     - ChangeabilityStates= [query]
     - ChangeabilityStates= [query]
    - ChangeabilityModes= [readonly,readwrite,transactionreadonly,transactionreadwrite]
** URL LocatorURL
** URL LocatorURL
   + XMLogic
   + XMLogic

Latest revision as of 12:50, 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
]
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; »