public NotificationChain basicSetEFactoryInstance(EFactory newobj, NotificationChain msgs)
        {
            var oldobj = _eFactoryInstance;

            _eFactoryInstance = newobj;
            if (eNotificationRequired())
            {
                var notification = new ENotificationImpl(this, NotificationImpl.SET, EcorePackageImpl.EPACKAGE_EFACTORYINSTANCE, oldobj, newobj);
                if (msgs == null)
                {
                    msgs = notification;
                }
                else
                {
                    msgs.add(notification);
                }
            }
            return(msgs);
        }