Package com._1c.g5.v8.derived.context
Class PartBasedContainmentContext
- java.lang.Object
-
- com._1c.g5.v8.derived.context.PartBasedContainmentContext
-
- All Implemented Interfaces:
IPartBasedObjectContext
- Direct Known Subclasses:
FormExtContainmentContext
,ModelUpdaterContainmentContext
public class PartBasedContainmentContext extends Object implements IPartBasedObjectContext
Part of thePartBasedObjectContext
defining the DD computation context for containment objects.
-
-
Constructor Summary
Constructors Constructor Description PartBasedContainmentContext(long bmObjectId)
Creates new instance of the part-based context for the containment object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParts(Collection<String> parts)
Adds new DD parts (with replacing) for this context.long
getBmObjectId()
Gets the identifier of the associated containment BM object.Set<String>
getParts()
Gets the set of DD parts being collected within this context.
-
-
-
Method Detail
-
addParts
public void addParts(Collection<String> parts)
Adds new DD parts (with replacing) for this context.- Parameters:
parts
- The set of DD parts that should be updated for the containment object.
-
getBmObjectId
public long getBmObjectId()
Gets the identifier of the associated containment BM object.- Returns:
- The identifier of the containment object.
-
getParts
public Set<String> getParts()
Description copied from interface:IPartBasedObjectContext
Gets the set of DD parts being collected within this context.- Specified by:
getParts
in interfaceIPartBasedObjectContext
- Returns:
- The set of DD parts scheduled for the re-computation.
-
-