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.
      • getEClass

        public org.eclipse.emf.ecore.EClass getEClass()
        Gets a EClass being associated with this context
        Returns:
        The EClass of a target object. May not be null
      • setEClass

        public void setEClass​(org.eclipse.emf.ecore.EClass eClass)
        Sets the EClass of a target object into the context
        Parameters:
        eClass - The EClass to set. May not be null