answersLogoWhite

0

What is the roleof constraints in UML?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

A constraint is used to express a condition, restriction or assertion related to some of the semantics of a model element.

Constraint is a condition which must evaluate to true by a correct design of the system. For example, bank account balance constraint could be expressed as:

{balance >= 0}

Constraint in UML is usually written in curly braces using any computer or natural language including English, so that it might look as:

{account balance is positive}

UML prefers OCL as constraint language.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the roleof constraints in UML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is stereotype in UML?

In UML, a stereotype is a mechanism that allows users to extend the vocabulary of the modeling language by creating custom tags to attach to model elements. Stereotypes provide a way to give more specific meaning to elements that are not covered by standard UML definitions, helping to tailor the modeling language to the specific needs of a project or domain.


What is latest version of UML?

The latest version of UML is UML 2.4 (beta), released in January 2011.


Disadvantage of using uml?

UML has high learning curve.


UML diagrams for invoicing system?

UML diagram for inventary management library system


What are the difference between ERD and UML?

what is the difference between ERD and UML Flowcharts.


What is the roleof aldosterone?

Aldosterone will cause Na+ to be absorbed from a filtrate


Is Microsoft Visio an UML?

UML is visual language - various rectangles, ovals, lines, arrows, etc. each having special meaning and used to draw different diagrams.Microsof Visio is software product that you can purchase to draw UML diagrams on your computer. There are many other UML tools that you can get even for free to draw UML diagrams. Or you can draw UML diagrams with a pencil on a piece of paper.


How uml diagrams for social networking site will be made?

See examples of different types of UML diagrams, select which diagrams you need, find a tool to draw UML diagrams.


Differences or similarities between OMT and UML?

OMT is a modelling technique and UML is a Modelling language. OMT stands for object modelling technique and is given by Jim Rambaugh . UML is unified Modelling language and has a layered architecture.


How do to draw UML diagrams of calculator functions addition subtraction division etc?

uml diagram for calculator


Why uml is called unified?

the uml is as its name suggests,a unification of a number of earlier object oriented languages,


How do you draw a UML diagram for Website?

UML 2.4 has 14 different types of diagrams, so you will need to draw not one diagram but several of those. See provided link for online shopping UML examples which provides examples of several common types of UML diagrams.