public class ComposedProvidingRequiringEntityServices extends PCMServices
| Constructor and Description |
|---|
ComposedProvidingRequiringEntityServices() |
| Modifier and Type | Method and Description |
|---|---|
EObject |
copyToAssemblyContext(EObject variableUsageObject,
EObject assemblyContextObject)
Copies the
VariableUsage to the AssemblyContext, i.e. |
Collection<EObject> |
getVariableUsages(EObject object)
Returns a list containing all
VariableUsages associated with the
AssemblyContext. |
boolean |
isOverridden(EObject variableUsageParam,
EObject assemblyContextParam)
Computes whether or not the given
AssemblyContext has a VariableUsage
associated that overrides, i.e. |
editPCMRandomVariable, getParameters, getProfileImports, getRoleApplications, getStereotypeApplications, getStereotypeApplicationsWithoutRoles, hasRoles, isRole, isSystemRole, queryAndSetParameterValue, setParameterValuepublic ComposedProvidingRequiringEntityServices()
public Collection<EObject> getVariableUsages(EObject object)
VariableUsages associated with the
AssemblyContext. This means all usages that are defined on the context itself and
those of its encapsulated component which are not overwritten.object - AssemblyContextisOverridden(EObject, EObject)public boolean isOverridden(EObject variableUsageParam, EObject assemblyContextParam)
AssemblyContext has a VariableUsage
associated that overrides, i.e. hides the given VariableUsage
If either the parameter is not instance of VariableUsage resp. AssemblyContext, the method
will return false.variableUsageParam - VariableUsageassemblyContextParam - AssemblyContextpublic EObject copyToAssemblyContext(EObject variableUsageObject, EObject assemblyContextObject)
VariableUsage to the AssemblyContext, i.e. 'instantiates' it. This
method will return the VariableUsage or null if the parameters do not have the correct types.variableUsage - the VariableUsage to be copiedassemblyContext - the target AssemblyContext