Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTimeKind.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTimeKind.java82
1 files changed, 57 insertions, 25 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTimeKind.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTimeKind.java
index 933c17d2993..c33ef419d6c 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTimeKind.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/BindingTimeKind.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* 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
@@ -22,13 +22,12 @@ import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
- * <!-- begin-user-doc --> A representation of the literals of the enumeration '
- * <em><b>Binding Time Kind</b></em>', and utility methods for working with them. <!-- end-user-doc
+ * <!-- begin-user-doc --> A representation of the literals of the enumeration ' <em><b>Binding Time Kind</b></em>', and utility methods for working with them. <!-- end-user-doc
* --> <!-- begin-model-doc --> The binding time kind gives the set of possible binding times.
- *
+ *
* Semantics: BindingTimeKind has no specific semantics. Further subclasses of BindingTimeKind will
* add semantics appropriate to the concept they represent. <!-- end-model-doc -->
- *
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getBindingTimeKind()
* @model
* @generated
@@ -38,6 +37,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>System Design Time</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #SYSTEM_DESIGN_TIME_VALUE
* @generated
* @ordered
@@ -46,6 +46,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>Code Generation Time</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #CODE_GENERATION_TIME_VALUE
* @generated
* @ordered
@@ -54,6 +55,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>Precompile Time</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #PRECOMPILE_TIME_VALUE
* @generated
* @ordered
@@ -62,6 +64,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>Link Time</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #LINK_TIME_VALUE
* @generated
* @ordered
@@ -70,6 +73,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>Post Build</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #POST_BUILD_VALUE
* @generated
* @ordered
@@ -78,6 +82,7 @@ public enum BindingTimeKind implements Enumerator {
* The '<em><b>Runtime</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #RUNTIME_VALUE
* @generated
* @ordered
@@ -90,7 +95,7 @@ public enum BindingTimeKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Variability will be bound during development of the EE-System.
- *
+ *
* From AUTOSAR:
* * Designing the VFB.
* * Software Component types (portinterfaces).
@@ -99,6 +104,7 @@ public enum BindingTimeKind implements Enumerator {
* * ECUs and interconnecting Networks
* * Designing the Communication Matrix and Data Mapping
* <!-- end-model-doc -->
+ *
* @see #SYSTEM_DESIGN_TIME
* @model name="systemDesignTime"
* @generated
@@ -112,13 +118,14 @@ public enum BindingTimeKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Variability will be bound during code generation.
- *
+ *
* From AUTOSAR:
* * Coding by hand, based on requirements document.
* * Tool based code generation, e.g. from a model.
* * The model may contain variants.
* * Only code for the selected variant(s) is actually generated.
* <!-- end-model-doc -->
+ *
* @see #CODE_GENERATION_TIME
* @model name="codeGenerationTime"
* @generated
@@ -132,10 +139,12 @@ public enum BindingTimeKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Variability will be bound during or immediately prior to code compilation.
- *
+ *
* From AUTOSAR:
- * This is typically the C-Preprocessor. Exclude parts of the code from the compilation process, e.g., because they are not required for the selected variant, because they are incompatible with the selected variant, because they require resources that are not present in the selected variant. Object code is only generated for the selected variant(s). The code that is excluded at this stage code will not be available at later stages.
+ * This is typically the C-Preprocessor. Exclude parts of the code from the compilation process, e.g., because they are not required for the selected variant, because they are incompatible with the selected variant, because they require resources that are
+ * not present in the selected variant. Object code is only generated for the selected variant(s). The code that is excluded at this stage code will not be available at later stages.
* <!-- end-model-doc -->
+ *
* @see #PRECOMPILE_TIME
* @model name="precompileTime"
* @generated
@@ -149,12 +158,13 @@ public enum BindingTimeKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Variability will be bound during linking.
- *
+ *
* From AUTOSAR:
* Configure what is included in object code, and what is omitted
* Based on which variant(s) are selected
* E.g. for modules that are delivered as object code (as opposed to those that are delivered as source code)
* <!-- end-model-doc -->
+ *
* @see #LINK_TIME
* @model name="linkTime"
* @generated
@@ -169,6 +179,7 @@ public enum BindingTimeKind implements Enumerator {
* <!-- begin-model-doc -->
* Variability will be bound at certain occasions after shipment, for example when the vehicle is in a workshop.
* <!-- end-model-doc -->
+ *
* @see #POST_BUILD
* @model name="postBuild"
* @generated
@@ -182,9 +193,11 @@ public enum BindingTimeKind implements Enumerator {
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Variability will be bound by the customer after shipment by way of vehicle configuration.
- *
- * Variability with such a late binding time can also be seen as a special functionality of the system which is not documented as variability at all. However, it is sometimes advantageous to represent such cases as variability in order to be able to seamlessly include them in the overall variability management activities.
+ *
+ * Variability with such a late binding time can also be seen as a special functionality of the system which is not documented as variability at all. However, it is sometimes advantageous to represent such cases as variability in order to be able to
+ * seamlessly include them in the overall variability management activities.
* <!-- end-model-doc -->
+ *
* @see #RUNTIME
* @model name="runtime"
* @generated
@@ -196,6 +209,7 @@ public enum BindingTimeKind implements Enumerator {
* An array of all the '<em><b>Binding Time Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final BindingTimeKind[] VALUES_ARRAY = new BindingTimeKind[] {
@@ -205,12 +219,12 @@ public enum BindingTimeKind implements Enumerator {
LINK_TIME,
POST_BUILD,
RUNTIME,
- };
+ };
/**
* A public read-only list of all the '<em><b>Binding Time Kind</b></em>' enumerators. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final List<BindingTimeKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -218,16 +232,23 @@ public enum BindingTimeKind implements Enumerator {
/**
* Returns the '<em><b>Binding Time Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static BindingTimeKind get(int value) {
switch (value) {
- case SYSTEM_DESIGN_TIME_VALUE: return SYSTEM_DESIGN_TIME;
- case CODE_GENERATION_TIME_VALUE: return CODE_GENERATION_TIME;
- case PRECOMPILE_TIME_VALUE: return PRECOMPILE_TIME;
- case LINK_TIME_VALUE: return LINK_TIME;
- case POST_BUILD_VALUE: return POST_BUILD;
- case RUNTIME_VALUE: return RUNTIME;
+ case SYSTEM_DESIGN_TIME_VALUE:
+ return SYSTEM_DESIGN_TIME;
+ case CODE_GENERATION_TIME_VALUE:
+ return CODE_GENERATION_TIME;
+ case PRECOMPILE_TIME_VALUE:
+ return PRECOMPILE_TIME;
+ case LINK_TIME_VALUE:
+ return LINK_TIME;
+ case POST_BUILD_VALUE:
+ return POST_BUILD;
+ case RUNTIME_VALUE:
+ return RUNTIME;
}
return null;
}
@@ -235,6 +256,7 @@ public enum BindingTimeKind implements Enumerator {
/**
* Returns the '<em><b>Binding Time Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static BindingTimeKind get(String literal) {
@@ -250,7 +272,7 @@ public enum BindingTimeKind implements Enumerator {
/**
* Returns the '<em><b>Binding Time Kind</b></em>' literal with the specified name. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static BindingTimeKind getByName(String name) {
@@ -265,18 +287,21 @@ public enum BindingTimeKind implements Enumerator {
/**
* <!-- 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;
@@ -284,6 +309,7 @@ public enum BindingTimeKind implements Enumerator {
/**
* Only this class can construct instances.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private BindingTimeKind(int value, String name, String literal) {
@@ -294,32 +320,38 @@ public enum BindingTimeKind implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getLiteral() {
- return literal;
+ return literal;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public int getValue() {
- return value;
+ return value;
}
/**
* Returns the literal value of the enumerator, which is its string representation. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override

Back to the top