21.07.2013 Views

Modeling with Technology FrameWork

Modeling with Technology FrameWork

Modeling with Technology FrameWork

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Arguments<br />

Arguments<br />

■ Methods identify the behaviors, or implementations, of an<br />

operation. An operation can have multiple methods. To show<br />

the details of a method, you can build a process or process step<br />

model and anchor it to the method.<br />

Defining arguments To specify the arguments for an operation, you use the Basic<br />

Operation Information form. On this form, you can name each<br />

argument and identify the class of objects that can be assigned to it.<br />

When you use <strong>FrameWork</strong> to generate code, this class is used as<br />

the data type of the argument. If you want, you can also provide an<br />

initial value for each argument.<br />

Methods<br />

Method domains The domain of each method (that is, the class of objects it applies<br />

to) for an operation must be either the base class of the operation or<br />

a subclass of the base class. Additionally, the domain must be<br />

different for each method.<br />

Creating multiple methods<br />

for an operation<br />

<strong>FrameWork</strong> uses the combination of the operation and domain to<br />

uniquely identify each method you create. As a result, when adding<br />

multiple methods to an operation, you need to specify the domain of<br />

each one as you add it. Otherwise, when you try to create the next<br />

method, it will initially have the same domain class (none) as an<br />

existing one and <strong>FrameWork</strong> will disallow the creation.<br />

Creating a method and connecting it to its domain class<br />

To create a method and connect it to its domain class:<br />

1 In the Method Tools tool folder, click and hold on the Method<br />

tool.<br />

2 Drag to your operation diagram window and release the mouse<br />

button where you want to place the method graphic.<br />

Chapter 12: Operation Models<br />

125

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!