-
Notifications
You must be signed in to change notification settings - Fork 0
Expected Type
In Xyna Process Modeller you model Services with Input Parameters and Output Parameters of a specific Data Type. The instances during runtime could be of another Data Type, an inheriting one, though. So if you know already during modeling time which concrete Data Type you act with, you can specialize Input and Output Parameters of Services to facilitate modeling. The specialized type of a Parameter is called its Expected Type.
Please note: A main area of application is when using the Any Type.
To specialize an Input or Output Parameter with an Expected Type, just drag a Data Type onto the Parameter, you want to specialize. The Expected Type must be a subtype of the one you want to specialize. Once dropped, it will be displayed as overlaying the original Data Type (cf. fig. 1). If you mouse over the Expected Type, you see the underlying original Data Type.
To remove an Expected Type, select Remove Expected Type from its context menu.
A Default Type is an Expected Type defined by default for an Input or for an Output Parameter of a Service. You cannot define a Default Type for custom Services but there are some special Services like the Notify or the Await defining a Default Type.