| /******************************************************************************* |
| * 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>Teeth Codes</b></em>', |
| * and utility methods for working with them. |
| * <!-- end-user-doc --> |
| * @see org.eclipse.mdht.uml.fhir.core.valueset.FhirValuesetPackage#getTeethCodes() |
| * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Teeth Codes'" |
| * @generated |
| */ |
| public enum TeethCodes implements Enumerator { |
| /** |
| * The '<em><b>11</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_11_VALUE |
| * @generated |
| * @ordered |
| */ |
| _11(0, "_11", "_11"), |
| |
| /** |
| * The '<em><b>12</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_12_VALUE |
| * @generated |
| * @ordered |
| */ |
| _12(1, "_12", "_12"), |
| |
| /** |
| * The '<em><b>13</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_13_VALUE |
| * @generated |
| * @ordered |
| */ |
| _13(2, "_13", "_13"), |
| |
| /** |
| * The '<em><b>14</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_14_VALUE |
| * @generated |
| * @ordered |
| */ |
| _14(3, "_14", "_14"), |
| |
| /** |
| * The '<em><b>15</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_15_VALUE |
| * @generated |
| * @ordered |
| */ |
| _15(4, "_15", "_15"), |
| |
| /** |
| * The '<em><b>16</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_16_VALUE |
| * @generated |
| * @ordered |
| */ |
| _16(5, "_16", "_16"), |
| |
| /** |
| * The '<em><b>17</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_17_VALUE |
| * @generated |
| * @ordered |
| */ |
| _17(6, "_17", "_17"), |
| |
| /** |
| * The '<em><b>18</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_18_VALUE |
| * @generated |
| * @ordered |
| */ |
| _18(7, "_18", "_18"), |
| |
| /** |
| * The '<em><b>21</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_21_VALUE |
| * @generated |
| * @ordered |
| */ |
| _21(8, "_21", "_21"), |
| |
| /** |
| * The '<em><b>22</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_22_VALUE |
| * @generated |
| * @ordered |
| */ |
| _22(9, "_22", "_22"), |
| |
| /** |
| * The '<em><b>23</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_23_VALUE |
| * @generated |
| * @ordered |
| */ |
| _23(10, "_23", "_23"), |
| |
| /** |
| * The '<em><b>24</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_24_VALUE |
| * @generated |
| * @ordered |
| */ |
| _24(11, "_24", "_24"), |
| |
| /** |
| * The '<em><b>25</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_25_VALUE |
| * @generated |
| * @ordered |
| */ |
| _25(12, "_25", "_25"), |
| |
| /** |
| * The '<em><b>26</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_26_VALUE |
| * @generated |
| * @ordered |
| */ |
| _26(13, "_26", "_26"), |
| |
| /** |
| * The '<em><b>27</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_27_VALUE |
| * @generated |
| * @ordered |
| */ |
| _27(14, "_27", "_27"), |
| |
| /** |
| * The '<em><b>28</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_28_VALUE |
| * @generated |
| * @ordered |
| */ |
| _28(15, "_28", "_28"), |
| |
| /** |
| * The '<em><b>31</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_31_VALUE |
| * @generated |
| * @ordered |
| */ |
| _31(16, "_31", "_31"), |
| |
| /** |
| * The '<em><b>32</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_32_VALUE |
| * @generated |
| * @ordered |
| */ |
| _32(17, "_32", "_32"), |
| |
| /** |
| * The '<em><b>33</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_33_VALUE |
| * @generated |
| * @ordered |
| */ |
| _33(18, "_33", "_33"), |
| |
| /** |
| * The '<em><b>34</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_34_VALUE |
| * @generated |
| * @ordered |
| */ |
| _34(19, "_34", "_34"), |
| |
| /** |
| * The '<em><b>35</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_35_VALUE |
| * @generated |
| * @ordered |
| */ |
| _35(20, "_35", "_35"), |
| |
| /** |
| * The '<em><b>36</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_36_VALUE |
| * @generated |
| * @ordered |
| */ |
| _36(21, "_36", "_36"), |
| |
| /** |
| * The '<em><b>37</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_37_VALUE |
| * @generated |
| * @ordered |
| */ |
| _37(22, "_37", "_37"), |
| |
| /** |
| * The '<em><b>38</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_38_VALUE |
| * @generated |
| * @ordered |
| */ |
| _38(23, "_38", "_38"), |
| |
| /** |
| * The '<em><b>41</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_41_VALUE |
| * @generated |
| * @ordered |
| */ |
| _41(24, "_41", "_41"), |
| |
| /** |
| * The '<em><b>42</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_42_VALUE |
| * @generated |
| * @ordered |
| */ |
| _42(25, "_42", "_42"), |
| |
| /** |
| * The '<em><b>43</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_43_VALUE |
| * @generated |
| * @ordered |
| */ |
| _43(26, "_43", "_43"), |
| |
| /** |
| * The '<em><b>44</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_44_VALUE |
| * @generated |
| * @ordered |
| */ |
| _44(27, "_44", "_44"), |
| |
| /** |
| * The '<em><b>45</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_45_VALUE |
| * @generated |
| * @ordered |
| */ |
| _45(28, "_45", "_45"), |
| |
| /** |
| * The '<em><b>46</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_46_VALUE |
| * @generated |
| * @ordered |
| */ |
| _46(29, "_46", "_46"), |
| |
| /** |
| * The '<em><b>47</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_47_VALUE |
| * @generated |
| * @ordered |
| */ |
| _47(30, "_47", "_47"), |
| |
| /** |
| * The '<em><b>48</b></em>' literal object. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #_48_VALUE |
| * @generated |
| * @ordered |
| */ |
| _48(31, "_48", "_48"); |
| |
| /** |
| * 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 = 0; |
| |
| /** |
| * 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 = 1; |
| |
| /** |
| * 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 = 2; |
| |
| /** |
| * 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 = 3; |
| |
| /** |
| * 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 = 4; |
| |
| /** |
| * 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 = 5; |
| |
| /** |
| * 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 = 6; |
| |
| /** |
| * 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 = 7; |
| |
| /** |
| * 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 = 8; |
| |
| /** |
| * 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 = 9; |
| |
| /** |
| * 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 = 10; |
| |
| /** |
| * 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 = 11; |
| |
| /** |
| * 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 = 12; |
| |
| /** |
| * 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 = 13; |
| |
| /** |
| * 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 = 14; |
| |
| /** |
| * 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 = 15; |
| |
| /** |
| * 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 = 16; |
| |
| /** |
| * 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 = 17; |
| |
| /** |
| * 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 = 18; |
| |
| /** |
| * 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 = 19; |
| |
| /** |
| * 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 = 20; |
| |
| /** |
| * 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 = 21; |
| |
| /** |
| * 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 = 22; |
| |
| /** |
| * 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 = 23; |
| |
| /** |
| * 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 = 24; |
| |
| /** |
| * 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 = 25; |
| |
| /** |
| * 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 = 26; |
| |
| /** |
| * 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 = 27; |
| |
| /** |
| * 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 = 28; |
| |
| /** |
| * 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 = 29; |
| |
| /** |
| * 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 = 30; |
| |
| /** |
| * 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 = 31; |
| |
| /** |
| * An array of all the '<em><b>Teeth Codes</b></em>' enumerators. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private static final TeethCodes[] VALUES_ARRAY = |
| new TeethCodes[] { |
| _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>Teeth Codes</b></em>' enumerators. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static final List<TeethCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); |
| |
| /** |
| * Returns the '<em><b>Teeth 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 TeethCodes get(String literal) { |
| for (int i = 0; i < VALUES_ARRAY.length; ++i) { |
| TeethCodes result = VALUES_ARRAY[i]; |
| if (result.toString().equals(literal)) { |
| return result; |
| } |
| } |
| return null; |
| } |
| |
| /** |
| * Returns the '<em><b>Teeth 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 TeethCodes getByName(String name) { |
| for (int i = 0; i < VALUES_ARRAY.length; ++i) { |
| TeethCodes result = VALUES_ARRAY[i]; |
| if (result.getName().equals(name)) { |
| return result; |
| } |
| } |
| return null; |
| } |
| |
| /** |
| * Returns the '<em><b>Teeth 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 TeethCodes get(int value) { |
| switch (value) { |
| 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 TeethCodes(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; |
| } |
| |
| } //TeethCodes |