public class GeneratorUtils
extends java.lang.Object
Constructor and Description |
---|
GeneratorUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
buildTask2CoreAssociations(org.eclipse.uml2.uml.Component hwSystem,
java.util.Map<CHCore,java.util.LinkedHashSet<java.lang.Object>> result)
Builds the task 2 core associations.
|
static void |
buildTask2SuperTaskAssociations(org.eclipse.uml2.uml.Component hwSystem,
java.util.HashMap<SupertaskInfo,java.util.LinkedHashSet<java.lang.Object>> core2supertask,
java.util.List<SupertaskInfo> supertaskInfoList)
Builds the task 2 super task associations.
|
static void |
eraseProcessorInfo(org.eclipse.uml2.uml.InstanceSpecification processorInstance)
Erase processor info.
|
static org.eclipse.uml2.uml.InstanceSpecification |
writeSupertaskinfo(java.util.List<SupertaskInfo> supertaskInfoList)
Write supertaskinfo.
|
public static void buildTask2SuperTaskAssociations(org.eclipse.uml2.uml.Component hwSystem, java.util.HashMap<SupertaskInfo,java.util.LinkedHashSet<java.lang.Object>> core2supertask, java.util.List<SupertaskInfo> supertaskInfoList)
hwSystem
- the hw systemcore2supertask
- the core 2 supertasksupertaskInfoList
- the supertask info listpublic static void eraseProcessorInfo(org.eclipse.uml2.uml.InstanceSpecification processorInstance)
processorInstance
- the processor instancepublic static org.eclipse.uml2.uml.InstanceSpecification writeSupertaskinfo(java.util.List<SupertaskInfo> supertaskInfoList)
supertaskInfoList
- the supertask info listpublic static void buildTask2CoreAssociations(org.eclipse.uml2.uml.Component hwSystem, java.util.Map<CHCore,java.util.LinkedHashSet<java.lang.Object>> result)
hwSystem
- the hw systemresult
- the result