Attaches the given Map of variables to the given group, overwriting any existing associations.
In case the association(s) do not exist, it creates and sets the variables as described by their ids.
The group and the variables must exist.
The map key should represent the association type of the enclosed variable Set.
NOTE: this action replaces any existing associations. The resulted associations would reflect the provided context.
NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel
Parameters:
id - group to attach variables to
variableIdsPerAssociation - Map of variable ids to attach, grouped by the association type
Attaches the given Map of associations to the given group, by adding the provided variables
to the corresponding association. In case the association(s) do not exist, it creates and adds the variables
as described by their ids. The group and the variables to add must exist.
The map key should represent the association type of the enclosed variable Set.
NOTE: this action only adds to any existing attached Set. Does not fail if variable already present.
The resulted associations would reflect the merged product of the existing associations and the provided ones.
NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel
Parameters:
id - group to attach variables to
variableIdsPerAssociation - Map of variable ids to attach, grouped by the association type
Detaches the given Map of variables from the given group. The map key should represent the association
type of the enclosed variable Set. The group and the variables must exist.
NOTE: it removes from any existing attached Set. Does not fail if variable already absent.
NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel
Parameters:
id - group to attach variables to
variableIdsPerAssociation - Map of variable ids to detach, grouped by the association type
Attaches the given Map of entities to the given group, overwriting any existing associations.
In case the association(s) do not exist, it creates and sets the entities as described by their ids.
The group and the entities must exist.
The map key should represent the association type of the enclosed entity Set.
NOTE: this action replaces any existing associations. The resulted associations would reflect the provided context.
NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel
Parameters:
id - id of the group to attach entities to
entityIdsPerAssociation - Map of entity ids to attach, grouped by the association type
Attaches the given Map of entities to the given group, by adding the provided entities
to the corresponding association. In case the association(s) do not exist, it creates and
adds the entities as described by their ids. The group and the entities to add must exist.
The map key should represent the association type of the enclosed entity Set.
NOTE: this action only adds to any existing attached Set. Does not fail if entity already present.
The resulted associations would reflect the merged product of the existing associations and the provided ones.
NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel
Parameters:
id - group to attach entities to
entityIdsPerAssociation - Map of entity ids to attach, grouped by the association type
Detaches the given Map of entities from the given group. The map key should represent the association
type of the enclosed entity Set. The group and the entities must exist.
NOTE: it removes from any existing attached Set. Does not fail if entity already absent.
NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel
Parameters:
id - group to attach entities to
entityIdsPerAssociation - Map of entity ids to detach, grouped by the association type