<html> | |
<head> | |
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<title>Enumeration</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="Collection.html" title="Collection(T)"> | |
<link rel="next" href="EnumerationLiteral.html" title="EnumerationLiteral"> | |
</head> | |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> | |
<h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> | |
Enumeration | |
</h1> | |
<div class="section" title="Enumeration"> | |
<div class="titlepage"> | |
<div> | |
<div> | |
<h2 class="title" style="clear: both"> | |
<a name="Enumeration"></a> | |
<span class="bold"><strong> | |
<code class="code">Enumeration</code> | |
</strong></span> | |
</h2> | |
</div> | |
</div> | |
</div> | |
<p>@Deprecated: Use OclEnumeration | |
The Enumeration type is the type of an OrderedSet of EnumerationLiteral.</p> | |
<p>conformsTo | |
<a class="link" href="OclAny.html" title="OclAny"> | |
<code class="code">OclAny</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)[*|1]</code> | |
</p> | |
<p>Return a set of all enumeration values of | |
<code class="code">self</code>. | |
</p> | |
</div> | |
</body> | |
</html> |