Class ExtObjectContainmentUpdateContext
java.lang.Object
com._1c.g5.v8.dt.md.extension.derived.ExtObjectContainmentUpdateContext
Part of the
PartBasedObjectContext
defining the DD computation context for containment objects.-
Constructor Summary
ConstructorsConstructorDescriptionExtObjectContainmentUpdateContext
(long bmObjectId) Creates new instance of the part-based context for the containment object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFeature
(org.eclipse.emf.ecore.EStructuralFeature feature) Adds new DD parts (with replacing) for this context.void
addFeatures
(Collection<org.eclipse.emf.ecore.EStructuralFeature> features) long
Gets the identifier of the associated containment BM object.Collection<org.eclipse.emf.ecore.EStructuralFeature>
Gets the set of parts being collected for the computation at the moment.
-
Constructor Details
-
ExtObjectContainmentUpdateContext
public ExtObjectContainmentUpdateContext(long bmObjectId) Creates new instance of the part-based context for the containment object.- Parameters:
bmObjectId
- The identifier of the target containment BM object
-
-
Method Details
-
addFeature
public void addFeature(org.eclipse.emf.ecore.EStructuralFeature feature) Adds new DD parts (with replacing) for this context.- Parameters:
parts
- The set of DD parts that should be updated for the containment object.
-
addFeatures
-
getBmObjectId
public long getBmObjectId()Gets the identifier of the associated containment BM object.- Returns:
- The identifier of the containment object.
-
getFeatures
Gets the set of parts being collected for the computation at the moment.- Returns:
- The set of parts to compute. Cannot be null.
-