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/MARTE_DesignModel/HRM/HwLogical/HwComputing/PLD_Class.java')
-rw-r--r--deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/PLD_Class.java327
1 files changed, 0 insertions, 327 deletions
diff --git a/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/PLD_Class.java b/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/PLD_Class.java
deleted file mode 100644
index 3a1a1a21fd8..00000000000
--- a/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/HRM/HwLogical/HwComputing/PLD_Class.java
+++ /dev/null
@@ -1,327 +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.MARTE_DesignModel.HRM.HwLogical.HwComputing;
-
-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>PLD Class</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwComputing.HwComputingPackage#getPLD_Class()
- * @model
- * @generated
- */
-public enum PLD_Class implements Enumerator {
- /**
- * The '<em><b>Symetrical Array</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #SYMETRICAL_ARRAY_VALUE
- * @generated
- * @ordered
- */
- SYMETRICAL_ARRAY(0, "symetricalArray", "symetricalArray"),
-
- /**
- * The '<em><b>Row Based</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #ROW_BASED_VALUE
- * @generated
- * @ordered
- */
- ROW_BASED(1, "rowBased", "rowBased"),
-
- /**
- * The '<em><b>Sea Of Gates</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #SEA_OF_GATES_VALUE
- * @generated
- * @ordered
- */
- SEA_OF_GATES(2, "seaOfGates", "seaOfGates"),
-
- /**
- * The '<em><b>Hierarchical PLD</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #HIERARCHICAL_PLD_VALUE
- * @generated
- * @ordered
- */
- HIERARCHICAL_PLD(3, "hierarchicalPLD", "hierarchicalPLD"),
-
- /**
- * The '<em><b>Other</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #OTHER_VALUE
- * @generated
- * @ordered
- */
- OTHER(4, "other", "other"),
-
- /**
- * The '<em><b>Undef</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #UNDEF_VALUE
- * @generated
- * @ordered
- */
- UNDEF(5, "undef", "undef");
-
- /**
- * The '<em><b>Symetrical Array</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Symetrical Array</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #SYMETRICAL_ARRAY
- * @model name="symetricalArray"
- * @generated
- * @ordered
- */
- public static final int SYMETRICAL_ARRAY_VALUE = 0;
-
- /**
- * The '<em><b>Row Based</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Row Based</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #ROW_BASED
- * @model name="rowBased"
- * @generated
- * @ordered
- */
- public static final int ROW_BASED_VALUE = 1;
-
- /**
- * The '<em><b>Sea Of Gates</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Sea Of Gates</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #SEA_OF_GATES
- * @model name="seaOfGates"
- * @generated
- * @ordered
- */
- public static final int SEA_OF_GATES_VALUE = 2;
-
- /**
- * The '<em><b>Hierarchical PLD</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Hierarchical PLD</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #HIERARCHICAL_PLD
- * @model name="hierarchicalPLD"
- * @generated
- * @ordered
- */
- public static final int HIERARCHICAL_PLD_VALUE = 3;
-
- /**
- * 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 = 4;
-
- /**
- * The '<em><b>Undef</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Undef</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #UNDEF
- * @model name="undef"
- * @generated
- * @ordered
- */
- public static final int UNDEF_VALUE = 5;
-
- /**
- * An array of all the '<em><b>PLD Class</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final PLD_Class[] VALUES_ARRAY =
- new PLD_Class[] {
- SYMETRICAL_ARRAY,
- ROW_BASED,
- SEA_OF_GATES,
- HIERARCHICAL_PLD,
- OTHER,
- UNDEF,
- };
-
- /**
- * A public read-only list of all the '<em><b>PLD Class</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<PLD_Class> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>PLD Class</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static PLD_Class get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- PLD_Class result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>PLD Class</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static PLD_Class getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- PLD_Class result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>PLD Class</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static PLD_Class get(int value) {
- switch (value) {
- case SYMETRICAL_ARRAY_VALUE: return SYMETRICAL_ARRAY;
- case ROW_BASED_VALUE: return ROW_BASED;
- case SEA_OF_GATES_VALUE: return SEA_OF_GATES;
- case HIERARCHICAL_PLD_VALUE: return HIERARCHICAL_PLD;
- case OTHER_VALUE: return OTHER;
- case UNDEF_VALUE: return UNDEF;
- }
- 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 PLD_Class(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;
- }
-
-} //PLD_Class

Back to the top