Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/StatisticalQualifierKind.java')
-rw-r--r--deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/StatisticalQualifierKind.java408
1 files changed, 0 insertions, 408 deletions
diff --git a/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/StatisticalQualifierKind.java b/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/StatisticalQualifierKind.java
deleted file mode 100644
index ba9458c6f16..00000000000
--- a/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE_Library/BasicNFP_Types/StatisticalQualifierKind.java
+++ /dev/null
@@ -1,408 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * 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:
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.MARTE_Library.BasicNFP_Types;
-
-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>Statistical Qualifier Kind</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.MARTE_Library.BasicNFP_Types.BasicNFP_TypesPackage#getStatisticalQualifierKind()
- * @model
- * @generated
- */
-public enum StatisticalQualifierKind implements Enumerator {
- /**
- * The '<em><b>Max</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #MAX_VALUE
- * @generated
- * @ordered
- */
- MAX(0, "max", "max"),
-
- /**
- * The '<em><b>Min</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #MIN_VALUE
- * @generated
- * @ordered
- */
- MIN(1, "min", "min"),
-
- /**
- * The '<em><b>Mean</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #MEAN_VALUE
- * @generated
- * @ordered
- */
- MEAN(2, "mean", "mean"),
-
- /**
- * The '<em><b>Range</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #RANGE_VALUE
- * @generated
- * @ordered
- */
- RANGE(3, "range", "range"),
-
- /**
- * The '<em><b>Percent</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #PERCENT_VALUE
- * @generated
- * @ordered
- */
- PERCENT(4, "percent", "percent"),
-
- /**
- * The '<em><b>Distrib</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #DISTRIB_VALUE
- * @generated
- * @ordered
- */
- DISTRIB(5, "distrib", "distrib"),
-
- /**
- * The '<em><b>Determ</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #DETERM_VALUE
- * @generated
- * @ordered
- */
- DETERM(6, "determ", "determ"),
-
- /**
- * The '<em><b>Other</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #OTHER_VALUE
- * @generated
- * @ordered
- */
- OTHER(7, "other", "other"),
-
- /**
- * The '<em><b>Variance</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #VARIANCE_VALUE
- * @generated
- * @ordered
- */
- VARIANCE(8, "variance", "variance");
-
- /**
- * The '<em><b>Max</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Max</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #MAX
- * @model name="max"
- * @generated
- * @ordered
- */
- public static final int MAX_VALUE = 0;
-
- /**
- * The '<em><b>Min</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Min</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #MIN
- * @model name="min"
- * @generated
- * @ordered
- */
- public static final int MIN_VALUE = 1;
-
- /**
- * The '<em><b>Mean</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Mean</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #MEAN
- * @model name="mean"
- * @generated
- * @ordered
- */
- public static final int MEAN_VALUE = 2;
-
- /**
- * The '<em><b>Range</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Range</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #RANGE
- * @model name="range"
- * @generated
- * @ordered
- */
- public static final int RANGE_VALUE = 3;
-
- /**
- * The '<em><b>Percent</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Percent</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #PERCENT
- * @model name="percent"
- * @generated
- * @ordered
- */
- public static final int PERCENT_VALUE = 4;
-
- /**
- * The '<em><b>Distrib</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Distrib</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #DISTRIB
- * @model name="distrib"
- * @generated
- * @ordered
- */
- public static final int DISTRIB_VALUE = 5;
-
- /**
- * The '<em><b>Determ</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Determ</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #DETERM
- * @model name="determ"
- * @generated
- * @ordered
- */
- public static final int DETERM_VALUE = 6;
-
- /**
- * The '<em><b>Other</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Other</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #OTHER
- * @model name="other"
- * @generated
- * @ordered
- */
- public static final int OTHER_VALUE = 7;
-
- /**
- * The '<em><b>Variance</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Variance</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #VARIANCE
- * @model name="variance"
- * @generated
- * @ordered
- */
- public static final int VARIANCE_VALUE = 8;
-
- /**
- * An array of all the '<em><b>Statistical Qualifier Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final StatisticalQualifierKind[] VALUES_ARRAY =
- new StatisticalQualifierKind[] {
- MAX,
- MIN,
- MEAN,
- RANGE,
- PERCENT,
- DISTRIB,
- DETERM,
- OTHER,
- VARIANCE,
- };
-
- /**
- * A public read-only list of all the '<em><b>Statistical Qualifier Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<StatisticalQualifierKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Statistical Qualifier Kind</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static StatisticalQualifierKind get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- StatisticalQualifierKind result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Statistical Qualifier Kind</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static StatisticalQualifierKind getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- StatisticalQualifierKind result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Statistical Qualifier Kind</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static StatisticalQualifierKind get(int value) {
- switch (value) {
- case MAX_VALUE: return MAX;
- case MIN_VALUE: return MIN;
- case MEAN_VALUE: return MEAN;
- case RANGE_VALUE: return RANGE;
- case PERCENT_VALUE: return PERCENT;
- case DISTRIB_VALUE: return DISTRIB;
- case DETERM_VALUE: return DETERM;
- case OTHER_VALUE: return OTHER;
- case VARIANCE_VALUE: return VARIANCE;
- }
- 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 StatisticalQualifierKind(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;
- }
-
-} //StatisticalQualifierKind

Back to the top