blob: 7f44926d8058becfcf0b57f27aee7b5ef3fe5468 [file] [log] [blame]
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>CheckStatement</title>
<link href="book.css" rel="stylesheet" type="text/css">
<meta content="DocBook XSL Stylesheets V1.75.1" name="generator">
<link rel="home" href="index.html" title="QVT Declarative Documentation">
<link rel="up" href="qvtimperative.html" title="qvtimperative">
<link rel="prev" href="BufferStatement.html" title="BufferStatement">
<link rel="next" href="ConnectionVariable.html" title="ConnectionVariable">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
CheckStatement
</h1>
<div class="section" title="CheckStatement">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="CheckStatement"></a>
<span class="bold"><strong>
<code class="code">CheckStatement</code>
</strong></span>
</h2>
</div>
</div>
</div>
<p>A CheckStatement evaluates a predicate. If the evaluation is false, the mapping execution
terminates fails and does nothing.</p>
<p>syntax:
<code class="code">check expression;</code>
</p>
<p>conformsTo
<a class="link" href="ObservableStatement.html" title="ObservableStatement">
<code class="code">ObservableStatement</code>
</a>
</p>
<p>
<span class="bold"><strong>Associations</strong></span>
</p>
<p>
<code class="code">ownedExpression : OCLExpression[1]</code>
</p>
</div>
</body>
</html>