public class MARTEProfileManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
Alloc
The Constant Alloc.
|
static java.lang.String |
CoreElements
The Constant CoreElements.
|
static java.lang.String |
DataTypes
The Constant DataTypes.
|
static java.lang.String |
GCM
The Constant GCM.
|
static java.lang.String |
GQAM
The Constant GQAM.
|
static java.lang.String |
GRM
The Constant GRM.
|
static java.lang.String |
HLAM
The Constant HLAM.
|
static java.lang.String |
HRM
The Constant HRM.
|
static java.lang.String |
HwCommunication
The Constant HwCommunication.
|
static java.lang.String |
HwComputing
The Constant HwComputing.
|
static java.lang.String |
HwDevice
The Constant HwDevice.
|
static java.lang.String |
HwGeneral
The Constant HwGeneral.
|
static java.lang.String |
HwLayout
The Constant HwLayout.
|
static java.lang.String |
HwLogical
The Constant HwLogical.
|
static java.lang.String |
HwMemory
The Constant HwMemory.
|
static java.lang.String |
HwPhysical
The Constant HwPhysical.
|
static java.lang.String |
HwPower
The Constant HwPower.
|
static java.lang.String |
HwStorage
The Constant HwStorage.
|
static java.lang.String |
HwStorageManager
The Constant HwStorageManager.
|
static java.lang.String |
HwTiming
The Constant HwTiming.
|
static java.lang.String |
MARTE
The Constant MARTE.
|
static java.lang.String |
MARTE_PATH
The Constant MARTE_PATH.
|
static java.lang.String |
NFPs
The Constant NFPs.
|
static java.lang.String |
PAM
The Constant PAM.
|
static java.util.HashSet<java.lang.String> |
PREDEFINED_PROFILES
The predefined profiles.
|
static java.lang.String |
RSM
The Constant RSM.
|
static java.lang.String |
SAM
The Constant SAM.
|
static java.lang.String |
SRM
The Constant SRM.
|
static java.lang.String |
SW_Brokering
The Constant SW_Brokering.
|
static java.lang.String |
SW_Concurrency
The Constant SW_Concurrency.
|
static java.lang.String |
SW_Interaction
The Constant SW_Interaction.
|
static java.lang.String |
SW_ResourceCore
The Constant SW_ResourceCore.
|
static java.lang.String |
Time
The Constant Time.
|
static java.lang.String |
Variables
The Constant Variables.
|
static java.lang.String |
VSL
The Constant VSL.
|
Constructor and Description |
---|
MARTEProfileManager() |
Modifier and Type | Method and Description |
---|---|
static void |
applyAllocProfileTo(org.eclipse.uml2.uml.Package element)
Applied the SAM profile to the given element.
|
static void |
applyCoreElementProfileTo(org.eclipse.uml2.uml.Package element)
Applied the Core profile to the given element.
|
static void |
applyDataTypeProfileTo(org.eclipse.uml2.uml.Package element)
Applied the SAM profile to the given element.
|
static void |
applyGCMProfileTo(org.eclipse.uml2.uml.Package element)
Applied the GCM profile to the given element.
|
static void |
applyGQAMProfileTo(org.eclipse.uml2.uml.Package element)
Applied the SAM profile to the given element.
|
static void |
applyGRMProfileTo(org.eclipse.uml2.uml.Package element)
Applied the GRM and nested profiles to the given element.
|
static void |
applyHLAMProfileTo(org.eclipse.uml2.uml.Package element)
Applied the SAM profile to the given element.
|
static void |
applyHRMProfileTo(org.eclipse.uml2.uml.Package element)
Applies HRM and nested profiles to the given element.
|
static void |
applyNFPProfileTo(org.eclipse.uml2.uml.Package element)
Applied the NFP profile to the given element.
|
static void |
applyNFPsProfileTo(org.eclipse.uml2.uml.Package element)
Applied the SAM profile to the given element.
|
static void |
applySAMProfileTo(org.eclipse.uml2.uml.Package element)
Applied the SAM profile to the given element.
|
static void |
applyStereotypeTo(java.lang.String stereoName,
org.eclipse.uml2.uml.Element element)
Applies the stereotype referenced by its name to the given element.
|
static void |
applySwConcurrencyProfileTo(org.eclipse.uml2.uml.Package element)
Applied the SAM profile to the given element.
|
static void |
applySwInteractionProfileTo(org.eclipse.uml2.uml.Package element)
Applied the SwInteraction profile to the given element.
|
static void |
applyTo(org.eclipse.uml2.uml.Model model)
Applies the MARTE profile to the model.
|
static void |
applyVSLProfileTo(org.eclipse.uml2.uml.Package element)
Applied the SAM profile to the given element.
|
static void |
createModel(org.eclipse.uml2.uml.Model currentModel)
Initialize the model with the needed profiles.
|
static org.eclipse.uml2.uml.Stereotype |
getClientServerPort(org.eclipse.uml2.uml.Element element)
Return the
ClientServerPort stereotype of the given element. |
static void |
loadMARTEProfile(org.eclipse.emf.ecore.resource.ResourceSet rs)
Load MARTE profile.
|
public static final java.lang.String MARTE
public static final java.lang.String NFPs
public static final java.lang.String Time
public static final java.lang.String GRM
public static final java.lang.String Alloc
public static final java.lang.String CoreElements
public static final java.lang.String HLAM
public static final java.lang.String HRM
public static final java.lang.String HwLogical
public static final java.lang.String HwComputing
public static final java.lang.String HwCommunication
public static final java.lang.String HwTiming
public static final java.lang.String HwDevice
public static final java.lang.String HwStorage
public static final java.lang.String HwMemory
public static final java.lang.String HwStorageManager
public static final java.lang.String HwPhysical
public static final java.lang.String HwLayout
public static final java.lang.String HwPower
public static final java.lang.String HwGeneral
public static final java.lang.String SRM
public static final java.lang.String SW_ResourceCore
public static final java.lang.String SW_Concurrency
public static final java.lang.String SW_Brokering
public static final java.lang.String SW_Interaction
public static final java.lang.String GCM
public static final java.lang.String GQAM
public static final java.lang.String SAM
public static final java.lang.String PAM
public static final java.lang.String RSM
public static final java.lang.String VSL
public static final java.lang.String DataTypes
public static final java.lang.String Variables
public static final java.lang.String MARTE_PATH
public static java.util.HashSet<java.lang.String> PREDEFINED_PROFILES
public static void loadMARTEProfile(org.eclipse.emf.ecore.resource.ResourceSet rs)
rs
- the rspublic static void applyTo(org.eclipse.uml2.uml.Model model)
model
- the modelpublic static void applyHRMProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyGCMProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applySAMProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyHLAMProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyAllocProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyGQAMProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyNFPsProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyVSLProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyDataTypeProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applySwConcurrencyProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applySwInteractionProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyCoreElementProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyNFPProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyGRMProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyStereotypeTo(java.lang.String stereoName, org.eclipse.uml2.uml.Element element)
stereoName
- the name (not the qualified name)element
- the elementpublic static org.eclipse.uml2.uml.Stereotype getClientServerPort(org.eclipse.uml2.uml.Element element)
ClientServerPort
stereotype of the given element.element
- the elementpublic static void createModel(org.eclipse.uml2.uml.Model currentModel)
currentModel
- the model