| /******************************************************************************* |
| * Copyright (c) 2016 David Carlson and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * David Carlson (Clinical Cloud Solutions, LLC) - initial API and implementation |
| *******************************************************************************/ |
| /** |
| */ |
| package org.eclipse.mdht.uml.fhir.core.valueset; |
| |
| import java.util.Arrays; |
| import java.util.Collections; |
| import java.util.List; |
| |
| import org.eclipse.emf.common.util.Enumerator; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the literals of the enumeration '<em><b>Tooth Codes</b></em>', |
| * and utility methods for working with them. |
| * <!-- end-user-doc --> |
| * @see org.eclipse.mdht.uml.fhir.core.valueset.FhirValuesetPackage#getToothCodes() |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Tooth Codes'" |
| * @generated |
| */ |
| public enum ToothCodes implements Enumerator { |
| /** |
| * The '<em><b>0</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_0_VALUE |
| * @generated |
| * @ordered |
| */ |
| _0(0, "_0", "_0"), |
| |
| /** |
| * The '<em><b>1</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_1_VALUE |
| * @generated |
| * @ordered |
| */ |
| _1(1, "_1", "_1"), |
| |
| /** |
| * The '<em><b>2</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_2_VALUE |
| * @generated |
| * @ordered |
| */ |
| _2(2, "_2", "_2"), |
| |
| /** |
| * The '<em><b>3</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_3_VALUE |
| * @generated |
| * @ordered |
| */ |
| _3(3, "_3", "_3"), |
| |
| /** |
| * The '<em><b>4</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_4_VALUE |
| * @generated |
| * @ordered |
| */ |
| _4(4, "_4", "_4"), |
| |
| /** |
| * The '<em><b>5</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_5_VALUE |
| * @generated |
| * @ordered |
| */ |
| _5(5, "_5", "_5"), |
| |
| /** |
| * The '<em><b>6</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_6_VALUE |
| * @generated |
| * @ordered |
| */ |
| _6(6, "_6", "_6"), |
| |
| /** |
| * The '<em><b>7</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_7_VALUE |
| * @generated |
| * @ordered |
| */ |
| _7(7, "_7", "_7"), |
| |
| /** |
| * The '<em><b>8</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_8_VALUE |
| * @generated |
| * @ordered |
| */ |
| _8(8, "_8", "_8"), |
| |
| /** |
| * The '<em><b>11</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_11_VALUE |
| * @generated |
| * @ordered |
| */ |
| _11(9, "_11", "_11"), |
| |
| /** |
| * The '<em><b>12</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_12_VALUE |
| * @generated |
| * @ordered |
| */ |
| _12(10, "_12", "_12"), |
| |
| /** |
| * The '<em><b>13</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_13_VALUE |
| * @generated |
| * @ordered |
| */ |
| _13(11, "_13", "_13"), |
| |
| /** |
| * The '<em><b>14</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_14_VALUE |
| * @generated |
| * @ordered |
| */ |
| _14(12, "_14", "_14"), |
| |
| /** |
| * The '<em><b>15</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_15_VALUE |
| * @generated |
| * @ordered |
| */ |
| _15(13, "_15", "_15"), |
| |
| /** |
| * The '<em><b>16</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_16_VALUE |
| * @generated |
| * @ordered |
| */ |
| _16(14, "_16", "_16"), |
| |
| /** |
| * The '<em><b>17</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_17_VALUE |
| * @generated |
| * @ordered |
| */ |
| _17(15, "_17", "_17"), |
| |
| /** |
| * The '<em><b>18</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_18_VALUE |
| * @generated |
| * @ordered |
| */ |
| _18(16, "_18", "_18"), |
| |
| /** |
| * The '<em><b>21</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_21_VALUE |
| * @generated |
| * @ordered |
| */ |
| _21(17, "_21", "_21"), |
| |
| /** |
| * The '<em><b>22</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_22_VALUE |
| * @generated |
| * @ordered |
| */ |
| _22(18, "_22", "_22"), |
| |
| /** |
| * The '<em><b>23</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_23_VALUE |
| * @generated |
| * @ordered |
| */ |
| _23(19, "_23", "_23"), |
| |
| /** |
| * The '<em><b>24</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_24_VALUE |
| * @generated |
| * @ordered |
| */ |
| _24(20, "_24", "_24"), |
| |
| /** |
| * The '<em><b>25</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_25_VALUE |
| * @generated |
| * @ordered |
| */ |
| _25(21, "_25", "_25"), |
| |
| /** |
| * The '<em><b>26</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_26_VALUE |
| * @generated |
| * @ordered |
| */ |
| _26(22, "_26", "_26"), |
| |
| /** |
| * The '<em><b>27</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_27_VALUE |
| * @generated |
| * @ordered |
| */ |
| _27(23, "_27", "_27"), |
| |
| /** |
| * The '<em><b>28</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_28_VALUE |
| * @generated |
| * @ordered |
| */ |
| _28(24, "_28", "_28"), |
| |
| /** |
| * The '<em><b>31</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_31_VALUE |
| * @generated |
| * @ordered |
| */ |
| _31(25, "_31", "_31"), |
| |
| /** |
| * The '<em><b>32</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_32_VALUE |
| * @generated |
| * @ordered |
| */ |
| _32(26, "_32", "_32"), |
| |
| /** |
| * The '<em><b>33</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_33_VALUE |
| * @generated |
| * @ordered |
| */ |
| _33(27, "_33", "_33"), |
| |
| /** |
| * The '<em><b>34</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_34_VALUE |
| * @generated |
| * @ordered |
| */ |
| _34(28, "_34", "_34"), |
| |
| /** |
| * The '<em><b>35</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_35_VALUE |
| * @generated |
| * @ordered |
| */ |
| _35(29, "_35", "_35"), |
| |
| /** |
| * The '<em><b>36</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_36_VALUE |
| * @generated |
| * @ordered |
| */ |
| _36(30, "_36", "_36"), |
| |
| /** |
| * The '<em><b>37</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_37_VALUE |
| * @generated |
| * @ordered |
| */ |
| _37(31, "_37", "_37"), |
| |
| /** |
| * The '<em><b>38</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_38_VALUE |
| * @generated |
| * @ordered |
| */ |
| _38(32, "_38", "_38"), |
| |
| /** |
| * The '<em><b>41</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_41_VALUE |
| * @generated |
| * @ordered |
| */ |
| _41(33, "_41", "_41"), |
| |
| /** |
| * The '<em><b>42</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_42_VALUE |
| * @generated |
| * @ordered |
| */ |
| _42(34, "_42", "_42"), |
| |
| /** |
| * The '<em><b>43</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_43_VALUE |
| * @generated |
| * @ordered |
| */ |
| _43(35, "_43", "_43"), |
| |
| /** |
| * The '<em><b>44</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_44_VALUE |
| * @generated |
| * @ordered |
| */ |
| _44(36, "_44", "_44"), |
| |
| /** |
| * The '<em><b>45</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_45_VALUE |
| * @generated |
| * @ordered |
| */ |
| _45(37, "_45", "_45"), |
| |
| /** |
| * The '<em><b>46</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_46_VALUE |
| * @generated |
| * @ordered |
| */ |
| _46(38, "_46", "_46"), |
| |
| /** |
| * The '<em><b>47</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_47_VALUE |
| * @generated |
| * @ordered |
| */ |
| _47(39, "_47", "_47"), |
| |
| /** |
| * The '<em><b>48</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_48_VALUE |
| * @generated |
| * @ordered |
| */ |
| _48(40, "_48", "_48"); |
| |
| /** |
| * The '<em><b>0</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>0</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_0 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='0'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _0_VALUE = 0; |
| |
| /** |
| * The '<em><b>1</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>1</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_1 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='1'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _1_VALUE = 1; |
| |
| /** |
| * The '<em><b>2</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>2</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_2 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='2'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _2_VALUE = 2; |
| |
| /** |
| * The '<em><b>3</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>3</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_3 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='3'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _3_VALUE = 3; |
| |
| /** |
| * The '<em><b>4</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>4</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_4 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='4'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _4_VALUE = 4; |
| |
| /** |
| * The '<em><b>5</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>5</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_5 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='5'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _5_VALUE = 5; |
| |
| /** |
| * The '<em><b>6</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>6</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_6 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='6'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _6_VALUE = 6; |
| |
| /** |
| * The '<em><b>7</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>7</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_7 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='7'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _7_VALUE = 7; |
| |
| /** |
| * The '<em><b>8</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>8</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_8 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='8'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _8_VALUE = 8; |
| |
| /** |
| * The '<em><b>11</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>11</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_11 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='11'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _11_VALUE = 9; |
| |
| /** |
| * The '<em><b>12</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>12</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_12 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='12'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _12_VALUE = 10; |
| |
| /** |
| * The '<em><b>13</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>13</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_13 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='13'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _13_VALUE = 11; |
| |
| /** |
| * The '<em><b>14</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>14</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_14 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='14'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _14_VALUE = 12; |
| |
| /** |
| * The '<em><b>15</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>15</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_15 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='15'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _15_VALUE = 13; |
| |
| /** |
| * The '<em><b>16</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>16</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_16 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='16'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _16_VALUE = 14; |
| |
| /** |
| * The '<em><b>17</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>17</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_17 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='17'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _17_VALUE = 15; |
| |
| /** |
| * The '<em><b>18</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>18</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_18 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='18'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _18_VALUE = 16; |
| |
| /** |
| * The '<em><b>21</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>21</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_21 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='21'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _21_VALUE = 17; |
| |
| /** |
| * The '<em><b>22</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>22</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_22 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='22'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _22_VALUE = 18; |
| |
| /** |
| * The '<em><b>23</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>23</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_23 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='23'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _23_VALUE = 19; |
| |
| /** |
| * The '<em><b>24</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>24</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_24 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='24'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _24_VALUE = 20; |
| |
| /** |
| * The '<em><b>25</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>25</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_25 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='25'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _25_VALUE = 21; |
| |
| /** |
| * The '<em><b>26</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>26</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_26 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='26'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _26_VALUE = 22; |
| |
| /** |
| * The '<em><b>27</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>27</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_27 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='27'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _27_VALUE = 23; |
| |
| /** |
| * The '<em><b>28</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>28</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_28 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='28'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _28_VALUE = 24; |
| |
| /** |
| * The '<em><b>31</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>31</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_31 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='31'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _31_VALUE = 25; |
| |
| /** |
| * The '<em><b>32</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>32</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_32 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='32'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _32_VALUE = 26; |
| |
| /** |
| * The '<em><b>33</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>33</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_33 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='33'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _33_VALUE = 27; |
| |
| /** |
| * The '<em><b>34</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>34</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_34 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='34'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _34_VALUE = 28; |
| |
| /** |
| * The '<em><b>35</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>35</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_35 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='35'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _35_VALUE = 29; |
| |
| /** |
| * The '<em><b>36</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>36</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_36 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='36'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _36_VALUE = 30; |
| |
| /** |
| * The '<em><b>37</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>37</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_37 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='37'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _37_VALUE = 31; |
| |
| /** |
| * The '<em><b>38</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>38</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_38 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='38'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _38_VALUE = 32; |
| |
| /** |
| * The '<em><b>41</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>41</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_41 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='41'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _41_VALUE = 33; |
| |
| /** |
| * The '<em><b>42</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>42</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_42 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='42'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _42_VALUE = 34; |
| |
| /** |
| * The '<em><b>43</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>43</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_43 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='43'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _43_VALUE = 35; |
| |
| /** |
| * The '<em><b>44</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>44</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_44 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='44'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _44_VALUE = 36; |
| |
| /** |
| * The '<em><b>45</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>45</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_45 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='45'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _45_VALUE = 37; |
| |
| /** |
| * The '<em><b>46</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>46</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_46 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='46'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _46_VALUE = 38; |
| |
| /** |
| * The '<em><b>47</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>47</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_47 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='47'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _47_VALUE = 39; |
| |
| /** |
| * The '<em><b>48</b></em>' literal value. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of '<em><b>48</b></em>' literal object isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @see #_48 |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='48'" |
| * @generated |
| * @ordered |
| */ |
| public static final int _48_VALUE = 40; |
| |
| /** |
| * An array of all the '<em><b>Tooth Codes</b></em>' enumerators. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private static final ToothCodes[] VALUES_ARRAY = |
| new ToothCodes[] { |
| _0, |
| _1, |
| _2, |
| _3, |
| _4, |
| _5, |
| _6, |
| _7, |
| _8, |
| _11, |
| _12, |
| _13, |
| _14, |
| _15, |
| _16, |
| _17, |
| _18, |
| _21, |
| _22, |
| _23, |
| _24, |
| _25, |
| _26, |
| _27, |
| _28, |
| _31, |
| _32, |
| _33, |
| _34, |
| _35, |
| _36, |
| _37, |
| _38, |
| _41, |
| _42, |
| _43, |
| _44, |
| _45, |
| _46, |
| _47, |
| _48, |
| }; |
| |
| /** |
| * A public read-only list of all the '<em><b>Tooth Codes</b></em>' enumerators. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static final List<ToothCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); |
| |
| /** |
| * Returns the '<em><b>Tooth Codes</b></em>' literal with the specified literal value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param literal the literal. |
| * @return the matching enumerator or <code>null</code>. |
| * @generated |
| */ |
| public static ToothCodes get(String literal) { |
| for (int i = 0; i < VALUES_ARRAY.length; ++i) { |
| ToothCodes result = VALUES_ARRAY[i]; |
| if (result.toString().equals(literal)) { |
| return result; |
| } |
| } |
| return null; |
| } |
| |
| /** |
| * Returns the '<em><b>Tooth Codes</b></em>' literal with the specified name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param name the name. |
| * @return the matching enumerator or <code>null</code>. |
| * @generated |
| */ |
| public static ToothCodes getByName(String name) { |
| for (int i = 0; i < VALUES_ARRAY.length; ++i) { |
| ToothCodes result = VALUES_ARRAY[i]; |
| if (result.getName().equals(name)) { |
| return result; |
| } |
| } |
| return null; |
| } |
| |
| /** |
| * Returns the '<em><b>Tooth Codes</b></em>' literal with the specified integer value. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the integer value. |
| * @return the matching enumerator or <code>null</code>. |
| * @generated |
| */ |
| public static ToothCodes get(int value) { |
| switch (value) { |
| case _0_VALUE: return _0; |
| case _1_VALUE: return _1; |
| case _2_VALUE: return _2; |
| case _3_VALUE: return _3; |
| case _4_VALUE: return _4; |
| case _5_VALUE: return _5; |
| case _6_VALUE: return _6; |
| case _7_VALUE: return _7; |
| case _8_VALUE: return _8; |
| case _11_VALUE: return _11; |
| case _12_VALUE: return _12; |
| case _13_VALUE: return _13; |
| case _14_VALUE: return _14; |
| case _15_VALUE: return _15; |
| case _16_VALUE: return _16; |
| case _17_VALUE: return _17; |
| case _18_VALUE: return _18; |
| case _21_VALUE: return _21; |
| case _22_VALUE: return _22; |
| case _23_VALUE: return _23; |
| case _24_VALUE: return _24; |
| case _25_VALUE: return _25; |
| case _26_VALUE: return _26; |
| case _27_VALUE: return _27; |
| case _28_VALUE: return _28; |
| case _31_VALUE: return _31; |
| case _32_VALUE: return _32; |
| case _33_VALUE: return _33; |
| case _34_VALUE: return _34; |
| case _35_VALUE: return _35; |
| case _36_VALUE: return _36; |
| case _37_VALUE: return _37; |
| case _38_VALUE: return _38; |
| case _41_VALUE: return _41; |
| case _42_VALUE: return _42; |
| case _43_VALUE: return _43; |
| case _44_VALUE: return _44; |
| case _45_VALUE: return _45; |
| case _46_VALUE: return _46; |
| case _47_VALUE: return _47; |
| case _48_VALUE: return _48; |
| } |
| return null; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private final int value; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private final String name; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private final String literal; |
| |
| /** |
| * Only this class can construct instances. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private ToothCodes(int value, String name, String literal) { |
| this.value = value; |
| this.name = name; |
| this.literal = literal; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public int getValue() { |
| return value; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getName() { |
| return name; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getLiteral() { |
| return literal; |
| } |
| |
| /** |
| * Returns the literal value of the enumerator, which is its string representation. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public String toString() { |
| return literal; |
| } |
| |
| } //ToothCodes |