blob: 4ecdbe9d96c8d0983e9895962608318611b93fbd [file] [log] [blame]
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>OclEnumeration</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="OCL Documentation">
<link rel="up" href="StandardLibrary.html" title="The OCL Standard Library">
<link rel="prev" href="OclElement.html" title="OclElement">
<link rel="next" href="OclInvalid.html" title="OclInvalid">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
OclEnumeration
</h1>
<div class="section" title="OclEnumeration">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="OclEnumeration"></a>
<span class="bold"><strong>
<code class="code">OclEnumeration</code>
</strong></span>
</h2>
</div>
</div>
</div>
<p>The OclEnumeration type is the implicit supertype of any user Enumeration type.</p>
<p>conformsTo
<a class="link" href="OclType.html" title="OclType">
<code class="code">OclType</code>
</a>
</p>
<p>
<span class="bold"><strong>Attributes</strong></span>
</p>
<p>
<code class="code">allLiterals : OrderedSet(EnumerationLiteral)</code>
</p>
<p>Evaluates to the literals of the enumeration.</p>
<p>
<span class="bold"><strong>Operations</strong></span>
</p>
<p>
<code class="code">allInstances() : Set(OclSelf)</code>
</p>
<p>Return a set of all enumeration values of
<code class="code">self</code>.
</p>
</div>
</body>
</html>