5 Questions
What is the primary purpose of contracts for operations?
To describe the outcome of executing system operations in terms of state changes to domain objects
What do contracts describe in terms of system behavior?
The detailed system behavior in terms of state changes to objects in the Domain Model
What are the main components of an operation's contract?
Pre-conditions and post-conditions
What is the scope of an operation's contract in terms of system behavior?
The system behavior after a specific operation has executed
What is the primary focus of an operation's contract in terms of domain objects?
The state changes to domain objects
Study Notes
Operation Contracts
- Operation contracts define system behavior in terms of state changes to domain objects.
- Contracts describe detailed system behavior in terms of state changes to objects in the Domain Model, after a system operation has executed.
- An operation contract is defined mainly in terms of two key components:
- Pre-conditions
- Post-conditions
Learn about operation contracts that define system behavior, describing the outcome of executing system operations in terms of state changes to domain objects. Understand pre-conditions and post-conditions in contract definition.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free