Class ExtObjectContainmentUpdateContext


  • public class ExtObjectContainmentUpdateContext
    extends Object
    Part of the PartBasedObjectContext defining the DD computation context for containment objects.
    • Constructor Detail

      • 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 Detail

      • 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

        public void addFeatures​(Collection<org.eclipse.emf.ecore.EStructuralFeature> features)
      • getBmObjectId

        public long getBmObjectId()
        Gets the identifier of the associated containment BM object.
        Returns:
        The identifier of the containment object.
      • getFeatures

        public Collection<org.eclipse.emf.ecore.EStructuralFeature> getFeatures()
        Gets the set of parts being collected for the computation at the moment.
        Returns:
        The set of parts to compute. Cannot be null.