Prev | Current Page 406 | Next

Tim Weilkiens

"Systems Engineering with SysML/UML: Modeling, Analysis, Design"


221
A constraint is a Boolean expression in either a natural language or a machinereadable
language. It refers to one or several model elements and restricts their
semantics.
A constraint is denoted within curly brackets ( Figure 3.91 ). You can optionally
state a name in front of the Boolean expression and separate from it by a colon.
A constraint is denoted either directly next to the model element concerned, or in
a comment symbol that is attached to the model element ( Figure 3.91 ).
FIGURE 3-91
Example for constraints.
class Geometric figure
radius:Integer {radius  0}
Circle Triangle
a:Integer
b:Integer
c:Integer
{c  a  b}
3.10 Other Model Elements
This page intentionally left blank
223
??? Learn the rules so you know how to break them properly. ???
(14th Dalai Lama)
The Unified Modeling Language (UML) was originally specified as a modeling
language for software development. Thanks to its wide proliferation and its integrated
extension mechanisms, such as stereotypes, it has been used successfully in
other areas as well.


Pages:
394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418
plecaki iron grip maruders Wczasy nad morzem pozycjonowanie stron w google Hotele spa