Useful Links
Computer Science
Other Tools and Technologies
UML
1. Introduction to UML
2. Fundamental UML Concepts and Building Blocks
3. Structural Diagrams
4. Behavioral Diagrams
5. Interaction Diagrams
6. Object Constraint Language (OCL)
7. UML Profiles and Extensibility
8. UML in Software Development Lifecycle
9. Advanced UML Applications
10. UML Tools and Environment
11. Best Practices and Guidelines
Object Constraint Language (OCL)
OCL Fundamentals
Purpose and Role in UML
OCL Syntax and Grammar
OCL Type System
OCL Expressions
Constraint Types
Invariants
Class Invariants
Type Invariants
Association Invariants
Pre-conditions
Operation Pre-conditions
Method Contracts
Post-conditions
Operation Post-conditions
Result Specifications
Initial Values
Derived Values
Body Expressions
OCL Language Constructs
Basic Types
Boolean Type
Integer Type
Real Type
String Type
Collection Types
Set Operations
Bag Operations
Sequence Operations
Collection Iteration
Navigation Expressions
Property Navigation
Association Navigation
Role Navigation
Logical Operators
Arithmetic Operators
Comparison Operators
Advanced OCL Features
Let Expressions
If-Then-Else Expressions
Iterate Expressions
Standard Library Operations
User-Defined Operations
OCL in Practice
Writing Effective Constraints
Constraint Validation
Tool Support for OCL
Common OCL Patterns
Previous
5. Interaction Diagrams
Go to top
Next
7. UML Profiles and Extensibility