Class BmUnsettablePropertyFieldModel<T>

    • Constructor Detail

      • BmUnsettablePropertyFieldModel

        public BmUnsettablePropertyFieldModel​(org.eclipse.emf.ecore.EObject object,
                                              org.eclipse.emf.ecore.EStructuralFeature feature)
        Parameters:
        object - the object, cannot be null
        feature - the object feature, cannot be null
    • Method Detail

      • dispose

        public void dispose()
        Description copied from interface: IModel
        Disposes this model.
        Specified by:
        dispose in interface IModel
        Overrides:
        dispose in class BmValue<T>
      • setObjectValue

        protected void setObjectValue​(org.eclipse.emf.ecore.EObject object,
                                      org.eclipse.emf.ecore.EStructuralFeature feature,
                                      T newValue)
        Description copied from class: BmValue
        Sets the new value of the provided model object feature during the commit.
        The method is invoked within the task, so the given objects have the relevant state (e.g. attached to transaction).
        Overrides:
        setObjectValue in class BmValue<T>
        Parameters:
        object - the object to set new value, cannot be null.
        feature - the feture to set, cannot be null.
        newValue - the new value to set, can be null.