<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2005 sp2 U (http://www.altova.com)-->
<predesign_model 
        xmlns="http://www.kpi.kharkov.ua/pef" 
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xsi:schemaLocation="http://www.kpi.kharkov.ua/pef pef.xsd">
    <model_info>
        <model_id>M1</model_id>
        <model_description>Sample banking system model</model_description>
    </model_info>
    <requirements_library>
        <reqtext>
            <reqtext_id>T1</reqtext_id>
            <title>Sample banking system specification</title>
            <sentence_list>
                <sentence>
                    <sentence_id>S1</sentence_id>
                    <sentence_text>
                    The banking system deals with accounts and customers
                    </sentence_text>
                </sentence>
                <sentence>
                    <sentence_id>S2</sentence_id>
                    <sentence_text>
                    All the operations with account must be logged into the file
                    </sentence_text>
                </sentence>
                <sentence>
                    <sentence_id>S3</sentence_id>
                    <sentence_text>
                    When the customers attempt to withdraw the money from their accounts, it is necessary for them to supply a password
                    </sentence_text>
                </sentence>
            </sentence_list>
        </reqtext>
    </requirements_library>
    <thingtype_list>
        <thingtype>
            <thingtype_id>D001</thingtype_id>
            <thingtype_name>Security</thingtype_name>
            <classification>concern</classification>
            <requirement_source>
                <source>
                    <source_id>S3</source_id>
                </source>
            </requirement_source>
        </thingtype>
        <thingtype>
            <thingtype_id>D002</thingtype_id>
            <thingtype_name>Logging</thingtype_name>
            <classification>concern</classification>
            <requirement_source>
                <source>
                    <source_id>S2</source_id>
                </source>
            </requirement_source>
        </thingtype>
        <thingtype>
            <thingtype_id>D003</thingtype_id>
            <thingtype_name>Account</thingtype_name>
            <classification>thing-type</classification>
            <requirement_source>
                <source>
                    <source_id>S1</source_id>
                </source>
                <source>
                    <source_id>S2</source_id>
                </source>
                <source>
                    <source_id>S3</source_id>
                </source>
            </requirement_source>
        </thingtype>
        <thingtype>
            <thingtype_id>D004</thingtype_id>
            <thingtype_name>Customer</thingtype_name>
            <classification>thing-type</classification>
            <requirement_source>
                <source>
                    <source_id>S1</source_id>
                </source>
                <source>
                    <source_id>S3</source_id>
                </source>
            </requirement_source>
        </thingtype>
    </thingtype_list>
    <opertype_list>
        <opertype>
            <opertype_id>O001</opertype_id>
            <opertype_name>Withdraw</opertype_name>
            <opertype_type>manual</opertype_type>
            <executing>D004</executing>
            <requirement_source>
                <source>
                    <source_id>S3</source_id>
                </source>
            </requirement_source>
        </opertype>
        <opertype>
            <opertype_id>O002</opertype_id>
            <opertype_name>Ask for password</opertype_name>
            <opertype_type>auto-called</opertype_type>
            <executing>D001</executing>
            <requirement_source>
                <source>
                    <source_id>S3</source_id>
                </source>
            </requirement_source>
        </opertype>
        <opertype>
            <opertype_id>O003</opertype_id>
            <opertype_name>Log</opertype_name>
            <opertype_type>auto-called</opertype_type>
            <executing>D002</executing>
            <requirement_source>
                <source>
                    <source_id>S2</source_id>
                </source>
            </requirement_source>
        </opertype>
    </opertype_list>
    <conntype_list>
        <conntype>
            <conntype_id>C001</conntype_id>
            <conntype_name>Password for one operation</conntype_name>
            <perspective>
                <perspective_no>a</perspective_no>
                <involved_opertype>O002</involved_opertype>
                <perspective_name>Ask for password</perspective_name>
            </perspective>
            <perspective>
                <perspective_no>b</perspective_no>
                <involved_opertype>O001</involved_opertype>
                <perspective_name>Withdraw</perspective_name>
            </perspective>
            <requirement_source>
                <source>
                    <source_id>S3</source_id>
                </source>
            </requirement_source>
        </conntype>
        <conntype>
            <conntype_id>C002</conntype_id>
            <conntype_name>Logging for all operations</conntype_name>
            <perspective>
                <perspective_no>a</perspective_no>
                <involved_opertype>O003</involved_opertype>
                <perspective_name>Log</perspective_name>
            </perspective>
            <perspective>
                <perspective_no>b</perspective_no>
                <involved_thingtype>D003</involved_thingtype>
                <perspective_name>Account thing-type</perspective_name>
            </perspective>
            <requirement_source>
                <source>
                    <source_id>S2</source_id>
                </source>
            </requirement_source>
        </conntype>
    </conntype_list>
</predesign_model>
