0
1.8kviews
Define constraints. How they are applied ? Give example OR What are constraints? How they are applied?

Subject: Object Oriented Modeling and Design

Difficulty: Medium

Marks: 4 Marks

1 Answer
0
84views

Definition: Constraint is a Boolean condition involving model elements such as objects, classes, attributes, links and associations. A constraint restricts the values that entities/elements can assume.

Notation: Constraint is shown as text written inside curly bracket. {Constraint}

Example: -

Constraints on Objects: In the above example a constraint is specified …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.