System Analyst Notes-object-oriented methodology

Source: Internet
Author: User

Object-oriented methodology
Object-oriented testing:
Algorithm layer: Tests a single method (member function). Methods: Equivalence class partitioning, group and function testing, recursive function testing and polymorphic message testing.
Class Layer: Tests a single object class. Invariant boundary test, modal class test, non-modal class test.
Template layer: Test object Integration (the interaction of a set of classes that coordinate work). Polymorphic Service testing and flattening testing.
System layer: Tests the entire object-oriented system.

UML Things (elements)
1, structural things. Classes, interfaces, collaborations, use cases, activity classes, artifacts, nodes.
2, action things. Interactive, state machine.
3, group things. Package.
4, annotate things.

UML2.0 14 Kinds of graphs:
1, class diagram. Describe a set of classes, interfaces, collaborations, and relationships between them.
2, Object graph. Describe a group of objects and their relationships.
3, Component diagram. Describe a encapsulated class and its interfaces, ports, and internal structures consisting of embedded artifacts and join artifacts.
4, combined structure diagram. Describes the internal structure of a structured class, such as a component or class, including the point of interaction between a structured class and the rest of the system.
5, use case diagram. Describe a set of use cases, participants, and their relationships.
6, Sequence diagram. Consists of a set of objects or actors and the messages that may occur between them.
7, communication diagram. It emphasizes the structure of the object or actor that is sending and receiving messages.
8, timing diagram. It emphasizes the time that messages span different objects or participants.
9, State diagram. He describe a state machine consisting of state, shift, time, and activity.
10, activity diagram. Shows a process or other calculation structure as an internal step-by control flow and data flow.
11, deployment diagram. The runtime's processing node and the component configuration in which it survives.
12, product drawings. Describes a system physical structure in a computer. Artifacts include: files, databases, and similar sets of physical bits.
13, Package diagram. Describe the organizational units that are decomposed into the model itself, and the dependencies between them.
14, interactive overview diagram. A combination of activity diagrams and sequence diagrams.

Interaction diagram: Sequence diagram, communication diagram, timing diagram. Sequence diagrams emphasize timing, and communication diagrams emphasize relationships.
Structure diagram: Class diagram, object graph, Component diagram, deployment diagram.
Behavior diagram: Use case diagram, sequence diagram, activity diagram, State diagram, communication diagram.

UML Relationships:
Dependency, generalization, association (aggregation, composition), implementation.

OOA includes three activities: Modeling system functions, discovering and identifying business objects, organizing objects, and determining relationships between objects.

Ooa Cleanup Candidates:
1, Synonyms for objects
2, a noun outside the system range.
3, a noun that does not have a unique behavior.
4. A noun that is not clear.
5, another object of the action or attribute of the noun.

System Analyst Notes-object-oriented methodology

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.