aboutsummaryrefslogtreecommitdiffstats
path: root/ncomp-openstack-model/src/main/xcore-gen/org/openecomp/ncomp/openstack/location/OpenStackVersion.java
diff options
context:
space:
mode:
Diffstat (limited to 'ncomp-openstack-model/src/main/xcore-gen/org/openecomp/ncomp/openstack/location/OpenStackVersion.java')
-rw-r--r--ncomp-openstack-model/src/main/xcore-gen/org/openecomp/ncomp/openstack/location/OpenStackVersion.java370
1 files changed, 370 insertions, 0 deletions
diff --git a/ncomp-openstack-model/src/main/xcore-gen/org/openecomp/ncomp/openstack/location/OpenStackVersion.java b/ncomp-openstack-model/src/main/xcore-gen/org/openecomp/ncomp/openstack/location/OpenStackVersion.java
new file mode 100644
index 0000000..2a4184b
--- /dev/null
+++ b/ncomp-openstack-model/src/main/xcore-gen/org/openecomp/ncomp/openstack/location/OpenStackVersion.java
@@ -0,0 +1,370 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.ncomp.openstack.location;
+
+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>Open Stack Version</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackVersion()
+ * @model
+ * @generated
+ */
+public enum OpenStackVersion implements Enumerator {
+ /**
+ * The '<em><b>Folsom</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #FOLSOM_VALUE
+ * @generated
+ * @ordered
+ */
+ FOLSOM(0, "Folsom", "Folsom"), /**
+ * The '<em><b>Grizzly</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #GRIZZLY_VALUE
+ * @generated
+ * @ordered
+ */
+ GRIZZLY(0, "Grizzly", "Grizzly"), /**
+ * The '<em><b>Havana</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #HAVANA_VALUE
+ * @generated
+ * @ordered
+ */
+ HAVANA(0, "Havana", "Havana"), /**
+ * The '<em><b>Icehouse</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ICEHOUSE_VALUE
+ * @generated
+ * @ordered
+ */
+ ICEHOUSE(0, "Icehouse", "Icehouse"), /**
+ * The '<em><b>Juno</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #JUNO_VALUE
+ * @generated
+ * @ordered
+ */
+ JUNO(0, "Juno", "Juno"), /**
+ * The '<em><b>Kilo</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #KILO_VALUE
+ * @generated
+ * @ordered
+ */
+ KILO(0, "Kilo", "Kilo"), /**
+ * The '<em><b>Liberty</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #LIBERTY_VALUE
+ * @generated
+ * @ordered
+ */
+ LIBERTY(0, "Liberty", "Liberty"), /**
+ * The '<em><b>Mitaka</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MITAKA_VALUE
+ * @generated
+ * @ordered
+ */
+ MITAKA(0, "Mitaka", "Mitaka");
+
+ /**
+ * The '<em><b>Folsom</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Folsom</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #FOLSOM
+ * @model name="Folsom"
+ * @generated
+ * @ordered
+ */
+ public static final int FOLSOM_VALUE = 0;
+
+ /**
+ * The '<em><b>Grizzly</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Grizzly</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #GRIZZLY
+ * @model name="Grizzly"
+ * @generated
+ * @ordered
+ */
+ public static final int GRIZZLY_VALUE = 0;
+
+ /**
+ * The '<em><b>Havana</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Havana</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #HAVANA
+ * @model name="Havana"
+ * @generated
+ * @ordered
+ */
+ public static final int HAVANA_VALUE = 0;
+
+ /**
+ * The '<em><b>Icehouse</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Icehouse</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ICEHOUSE
+ * @model name="Icehouse"
+ * @generated
+ * @ordered
+ */
+ public static final int ICEHOUSE_VALUE = 0;
+
+ /**
+ * The '<em><b>Juno</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Juno</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #JUNO
+ * @model name="Juno"
+ * @generated
+ * @ordered
+ */
+ public static final int JUNO_VALUE = 0;
+
+ /**
+ * The '<em><b>Kilo</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Kilo</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #KILO
+ * @model name="Kilo"
+ * @generated
+ * @ordered
+ */
+ public static final int KILO_VALUE = 0;
+
+ /**
+ * The '<em><b>Liberty</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Liberty</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #LIBERTY
+ * @model name="Liberty"
+ * @generated
+ * @ordered
+ */
+ public static final int LIBERTY_VALUE = 0;
+
+ /**
+ * The '<em><b>Mitaka</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Mitaka</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MITAKA
+ * @model name="Mitaka"
+ * @generated
+ * @ordered
+ */
+ public static final int MITAKA_VALUE = 0;
+
+ /**
+ * An array of all the '<em><b>Open Stack Version</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final OpenStackVersion[] VALUES_ARRAY =
+ new OpenStackVersion[] {
+ FOLSOM,
+ GRIZZLY,
+ HAVANA,
+ ICEHOUSE,
+ JUNO,
+ KILO,
+ LIBERTY,
+ MITAKA,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Open Stack Version</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<OpenStackVersion> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Open Stack Version</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static OpenStackVersion get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ OpenStackVersion result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Open Stack Version</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static OpenStackVersion getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ OpenStackVersion result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Open Stack Version</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static OpenStackVersion get(int value) {
+ switch (value) {
+ case FOLSOM_VALUE: return FOLSOM;
+ }
+ 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 OpenStackVersion(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;
+ }
+
+} //OpenStackVersion