What are various kinds of invariants and rulesets used in uml?



What are various kinds of invariants and rulesets used in uml?..

Answer / Anupam Rani

In UML, invariants are conditions that must hold true for a class or a component at any point in time. There are three types: Navigability Invariants (navigability can be changed), Existence Invariants (an attribute exists if its value is not null), and Multiplicity Invariants (multiplicity rules for relationships). Rulesets are a collection of constraints that apply to a specific model element or a group of elements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More UML Interview Questions

What are the types of UML diagrams?

1 Answers  


What shall I go for Package Diagram?

1 Answers  


Explain about dynamic diagrams?

1 Answers  


What is object constraint language?

1 Answers  


What are assertion facets used for in uml?

1 Answers  


What is a pattern?

1 Answers  


What are the roles played by modules in uml?

1 Answers  


UML: IS it a process, method or notation?

6 Answers   Infosys,


What is the difference between responsibility-driven and data-driven approaches?

1 Answers  


What is the origin of UML?

1 Answers  


Explain about dependency?

1 Answers  


What are sequence diagrams in UML?

1 Answers  


Categories