Package | Description |
---|---|
org.polarsys.chess.core.util.uml |
Modifier and Type | Method and Description |
---|---|
static boolean |
UMLUtils.checkAllocationToCores(java.util.List<org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor> chHwProcList,
org.eclipse.uml2.uml.Model umlModel)
Checks that at least one Partition or Task is allocated on a Core that is owned by one of the HW instances in input.
|
static org.eclipse.emf.common.util.EList<org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign> |
UMLUtils.getAll2CoreAssignments(org.eclipse.uml2.uml.Model umlModel,
java.lang.String viewName)
Returns the list of assignments found in viewName where
the source anything and the target is a Processor Instance.
|
static org.eclipse.emf.common.util.EList<org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification> |
UMLUtils.getAllChrtSpecs(org.eclipse.uml2.uml.Model umlModel,
java.lang.String viewName)
This function returns the list of all the CHrtSpecifications in the given View of the model.
|
static org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.InstanceSpecification> |
UMLUtils.getAllComponentInstances(org.eclipse.uml2.uml.Model umlModel,
boolean onlyTerminal)
Returns the list of all Component Instances found in the Component View if onlyTerminal is FALSE,
Returns the list of all terminal Component Instances found in the Component View if onlyTerminal is TRUE.
|
static org.eclipse.emf.common.util.EList<org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign> |
UMLUtils.getAllPartitionAssignments(org.eclipse.uml2.uml.Model umlModel,
java.lang.String viewName)
Returns the list of assignments found in viewName where
the source is a Partition Instance and the target is a Processor Instance.
|
static org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.InstanceSpecification> |
UMLUtils.getAllPartitionInstances(org.eclipse.uml2.uml.Model umlModel)
Returns the list of all partition instances in the model.
|
static org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification |
UMLUtils.getArincProcessSpecification(org.eclipse.uml2.uml.InstanceSpecification instSpec,
org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification arincFunctionSpec)
Returns the CHRTSpecification of the ARINCProcess owning the ARINCFunction referred by the given CHRtSpecification (context field) .
|
static org.eclipse.emf.common.util.EList<org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign> |
UMLUtils.getAssignments(org.eclipse.uml2.uml.Model umlModel,
java.lang.String viewName)
Returns the list of assignments found in viewName .
|
static org.eclipse.emf.common.util.EList<org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign> |
UMLUtils.getComponent2CoreAssignments(org.eclipse.uml2.uml.Model umlModel,
java.lang.String viewName)
Returns the list of assignments found in viewName where
the source is a Component Instance and the target is a Processor Instance.
|
static org.eclipse.emf.common.util.EList<org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign> |
UMLUtils.getComponent2PartitionAssignments(org.eclipse.uml2.uml.Model umlModel,
java.lang.String viewName)
Looks for all the Component to Functional Partition Assignments in the specified View.
|
static org.eclipse.emf.common.util.EList<org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign> |
UMLUtils.getComponentAssignments(org.eclipse.uml2.uml.Model umlModel,
java.lang.String viewName)
Returns the list of assignments found in viewName where
the source is a Component Instance .
|
static org.eclipse.emf.common.util.EList<org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign> |
UMLUtils.getPartition2CoreAssignments(org.eclipse.uml2.uml.Model umlModel,
java.lang.String viewName)
Returns the list of assignments found in viewName where
the source is a Partition Instance and the target is a Processor Instance.
|
static org.eclipse.emf.common.util.EList<org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign> |
UMLUtils.getPartitionAssignments(org.eclipse.uml2.uml.Model umlModel,
org.polarsys.chess.chessmlprofile.ComponentModel.FunctionalPartition functPart)
Returns all the assignments that have the input functional partition
either in the To field (Component to Partition Assignment), or
in the From field (Partition to ProcessorAssignment).
|
static org.eclipse.uml2.uml.Component |
UMLUtils.getResourcePlatformComponent(org.eclipse.uml2.uml.Model umlModel,
java.lang.String viewName)
Gets the resource platform component.
|
static org.eclipse.uml2.uml.Component |
UMLUtils.getResourcePlatformComponentInPackage(org.eclipse.uml2.uml.Model umlModel,
org.eclipse.uml2.uml.Package pack)
Looks inside the input package pack, and returns a Component stereotyped as CHGaResourcePlatform .
|
static org.eclipse.emf.common.util.EList<org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign> |
UMLUtils.getTask2CoreAssignments(org.eclipse.uml2.uml.Model umlModel,
java.lang.String viewName)
Returns the list of assignments found in viewName where
the source is a Slot Instance and the target is a Processor Instance.
|
static org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification |
UMLUtils.getUpdatedArincFunChrtSpec(org.eclipse.uml2.uml.InstanceSpecification instance,
org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification arincFunctChrtspec)
Returns the CHRtSpecification for an ARINCFunction,
deriving it from the CHRtSpecification of the related CHRtProcess
and the occurrencyKind of the ARINCFunction itself.
|