Flow Oriented and Class Based Modelling
Flow Oriented and Class Based Modelling
Analysis Modeling
• Structured analysis
• Object oriented analysis
• The SafeHome security function enables the homeowner to configure the security system when it is
installed, monitors all sensors connected to the security system, and interacts with the homeowner through
the Internet, a PC, or a control panel.
• During installation, the SafeHome PC is used to program and configure the system. Each sensor is assigned
a number and type, a master password is programmed for arming and disarming the system, and telephone
number(s) are input for dialing when a sensor event occurs.
• When a sensor event is recognized, the software invokes an audible alarm attached to the system. After a
delay time that is specified by the homeowner during system configuration activities, the software dials a
telephone number of a monitoring service, provides information about the location, reporting the nature of
the event that has been detected. The telephone number will be redialed every 20 seconds until a telephone
connection is obtained.
• The homeowner receives security information via a control panel, the PC, or a browser, collectively called
an interface. The interface displays prompting messages and system status information on the control panel,
the PC, or the browser window. Homeowner interaction takes the following form…
Grammatical Parse
• The SafeHome security function enables the homeowner to configure the security system when it is
installed, monitors all sensors connected to the security system, and interacts with the homeowner through
the Internet, a PC, or a control panel.
• During installation, the SafeHome PC is used to program and configure the system. Each sensor is assigned
a number and type, a master password is programmed for arming and disarming the system, and
telephone number(s) are input for dialing when a sensor event occurs.
• When a sensor event is recognized, the software invokes an audible alarm attached to the system. After a
delay time that is specified by the homeowner during system configuration activities, the software dials a
telephone number of a monitoring service, provides information about the location, reporting the nature of
the event that has been detected. The telephone number will be redialed every 20 seconds until a telephone
connection is obtained.
• The homeowner receives security information via a control panel, the PC, or a browser, collectively called
an interface. The interface displays prompting messages and system status information on the control
panel, the PC, or the browser window. Homeowner interaction takes the following form…
• General classifications for a potential class
• External entity (e.g., another system, a
device, a person)
• Thing (e.g., report, screen display)
• Occurrence or event (e.g., movement,
Identifying completion)
• Role (e.g., manager, engineer, salesperson)
Analysis • Organizational unit (e.g., division, group,
Classes team)
(continued) • Place (e.g., manufacturing floor, loading
dock)
• Structure (e.g., sensor, vehicle, computer)
• Attributes of a class are those nouns from the grammatical parse that reasonably belong
to a class
• Attributes hold the values that describe the current properties or state of a class
• An attribute may also appear initially as a potential class that is later rejected because of
the class selection criteria
• In identifying attributes, the following question should be answered
• What data items (composite and/or elementary) will fully define a specific class in the
context of the problem at hand?
• Usually an item is not an attribute if more than one of them is to be associated with a
class
Defining Operations of a Class
• The SafeHome security function enables the homeowner to configure the security system when it is
installed, monitors all sensors connected to the security system, and interacts with the homeowner through
the Internet, a PC, or a control panel.
• During installation, the SafeHome PC is used to program and configure the system. Each sensor is assigned
a number and type, a master password is programmed for arming and disarming the system, and telephone
number(s) are input for dialing when a sensor event occurs.
• When a sensor event is recognized, the software invokes an audible alarm attached to the system. After a
delay time that is specified by the homeowner during system configuration activities, the software dials a
telephone number of a monitoring service, provides information about the location, reporting the nature of
the event that has been detected. The telephone number will be redialed every 20 seconds until a telephone
connection is obtained.
• The homeowner receives security information via a control panel, the PC, or a browser, collectively called
an interface. The interface displays prompting messages and system status information on the control panel,
the PC, or the browser window. Homeowner interaction takes the following form…
Identifying operations
• The SafeHome security function enables the homeowner to configure the security system when it is
installed, monitors all sensors connected to the security system, and interacts with the homeowner through
the Internet, a PC, or a control panel.
• During installation, the SafeHome PC is used to program and configure the system. Each sensor is assigned
a number and type, a master password is programmed for arming and disarming the system, and telephone
number(s) are input for dialing when a sensor event occurs.
• When a sensor event is recognized, the software invokes an audible alarm attached to the system. After a
delay time that is specified by the homeowner during system configuration activities, the software dials a
telephone number of a monitoring service, provides information about the location, reporting the nature of
the event that has been detected. The telephone number will be redialed every 20 seconds until a telephone
connection is obtained.
• The homeowner receives security information via a control panel, the PC, or a browser, collectively called
an interface. The interface displays prompting messages and system status information on the control panel,
the PC, or the browser window. Homeowner interaction takes the following form…
Class Diagram
+ componentID
- telephoneNumber
Attributes - componentStatus
- delayTime
- masterPassword
- numberOfTries
+ program()
+ display()
Operations + reset()
+ query()
- modify()
+ call()
Summary