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
Part of the
PartBasedObjectContext
defining the DD computation context for containment objects.-
Constructor Summary
ConstructorsConstructorDescriptionPartBasedContainmentContext
(long bmObjectId, org.eclipse.emf.ecore.EClass eClass) Creates new instance of the part-based context for the containment object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
TODO JavaDocvoid
addParts
(Collection<String> parts) Adds new DD parts (with replacing) for this context.long
Gets the identifier of the associated containment BM object.org.eclipse.emf.ecore.EClass
Gets aEClass
of a target objectgetParts()
Gets the set of DD parts being collected within this context.
-
Constructor Details
-
PartBasedContainmentContext
public PartBasedContainmentContext(long bmObjectId, org.eclipse.emf.ecore.EClass eClass) Creates new instance of the part-based context for the containment object.- Parameters:
bmObjectId
- The identifier of the target containment BM object.eClass
-EClass
of a target containment BM object. May not benull
-
-
Method Details
-
addParts
Adds new DD parts (with replacing) for this context.- Parameters:
parts
- The set of DD parts that should be updated for the containment object.
-
addParts
TODO JavaDoc- Parameters:
parts
-
-
getBmObjectId
public long getBmObjectId()Gets the identifier of the associated containment BM object.- Returns:
- The identifier of the containment object.
-
getEClass
public org.eclipse.emf.ecore.EClass getEClass()Gets aEClass
of a target object- Returns:
- The target object
EClass
. May not benull
-
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.
-