Java 类org.eclipse.emf.common.notify.Notification 实例源码

项目:time4sys    文件:ConstraintContainerImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setAnalyzedSystem(AnalyzedSystem newAnalyzedSystem) {
    if (newAnalyzedSystem != eInternalContainer() || (eContainerFeatureID() != AnalysisPackage.CONSTRAINT_CONTAINER__ANALYZED_SYSTEM && newAnalyzedSystem != null)) {
        if (EcoreUtil.isAncestor(this, newAnalyzedSystem))
            throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
        NotificationChain msgs = null;
        if (eInternalContainer() != null)
            msgs = eBasicRemoveFromContainer(msgs);
        if (newAnalyzedSystem != null)
            msgs = ((InternalEObject)newAnalyzedSystem).eInverseAdd(this, AnalysisPackage.ANALYZED_SYSTEM__CONSTRAINT_CONTAINER, AnalyzedSystem.class, msgs);
        msgs = basicSetAnalyzedSystem(newAnalyzedSystem, msgs);
        if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, AnalysisPackage.CONSTRAINT_CONTAINER__ANALYZED_SYSTEM, newAnalyzedSystem, newAnalyzedSystem));
}
项目:Saturn    文件:HTTPTransportImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public void setPassword(ComplexValue newPassword)
{
  if (newPassword != password)
  {
    NotificationChain msgs = null;
    if (password != null)
      msgs = ((InternalEObject)password).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SoapIOResourcePackage.HTTP_TRANSPORT__PASSWORD, null, msgs);
    if (newPassword != null)
      msgs = ((InternalEObject)newPassword).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SoapIOResourcePackage.HTTP_TRANSPORT__PASSWORD, null, msgs);
    msgs = basicSetPassword(newPassword, msgs);
    if (msgs != null) msgs.dispatch();
  }
  else if (eNotificationRequired())
    eNotify(new ENotificationImpl(this, Notification.SET, SoapIOResourcePackage.HTTP_TRANSPORT__PASSWORD, newPassword, newPassword));
}
项目:Saturn    文件:PagesImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public void setRight(Page newRight)
{
  if (newRight != right)
  {
    NotificationChain msgs = null;
    if (right != null)
      msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DatacompareModulePackage.PAGES__RIGHT, null, msgs);
    if (newRight != null)
      msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DatacompareModulePackage.PAGES__RIGHT, null, msgs);
    msgs = basicSetRight(newRight, msgs);
    if (msgs != null) msgs.dispatch();
  }
  else if (eNotificationRequired())
    eNotify(new ENotificationImpl(this, Notification.SET, DatacompareModulePackage.PAGES__RIGHT, newRight, newRight));
}
项目:Saturn    文件:MQConfigurationImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public void setMQResource(ResourceDefinition newMQResource)
{
  if (newMQResource != mQResource)
  {
    NotificationChain msgs = null;
    if (mQResource != null)
      msgs = ((InternalEObject)mQResource).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - MqModulePackage.MQ_CONFIGURATION__MQ_RESOURCE, null, msgs);
    if (newMQResource != null)
      msgs = ((InternalEObject)newMQResource).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - MqModulePackage.MQ_CONFIGURATION__MQ_RESOURCE, null, msgs);
    msgs = basicSetMQResource(newMQResource, msgs);
    if (msgs != null) msgs.dispatch();
  }
  else if (eNotificationRequired())
    eNotify(new ENotificationImpl(this, Notification.SET, MqModulePackage.MQ_CONFIGURATION__MQ_RESOURCE, newMQResource, newMQResource));
}
项目:neoscada    文件:OptionsImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setDefaultUserService ( UserService newDefaultUserService )
{
    if ( newDefaultUserService != defaultUserService )
    {
        NotificationChain msgs = null;
        if ( defaultUserService != null )
            msgs = ( (InternalEObject)defaultUserService ).eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.OPTIONS__DEFAULT_USER_SERVICE, null, msgs );
        if ( newDefaultUserService != null )
            msgs = ( (InternalEObject)newDefaultUserService ).eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.OPTIONS__DEFAULT_USER_SERVICE, null, msgs );
        msgs = basicSetDefaultUserService ( newDefaultUserService, msgs );
        if ( msgs != null )
            msgs.dispatch ();
    }
    else if ( eNotificationRequired () )
        eNotify ( new ENotificationImpl ( this, Notification.SET, InfrastructurePackage.OPTIONS__DEFAULT_USER_SERVICE, newDefaultUserService, newDefaultUserService ) );
}
项目:neoscada    文件:WorldImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setDefaultCredentials ( Credentials newDefaultCredentials )
{
    if ( newDefaultCredentials != defaultCredentials )
    {
        NotificationChain msgs = null;
        if ( defaultCredentials != null )
            msgs = ( (InternalEObject)defaultCredentials ).eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.WORLD__DEFAULT_CREDENTIALS, null, msgs );
        if ( newDefaultCredentials != null )
            msgs = ( (InternalEObject)newDefaultCredentials ).eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.WORLD__DEFAULT_CREDENTIALS, null, msgs );
        msgs = basicSetDefaultCredentials ( newDefaultCredentials, msgs );
        if ( msgs != null )
            msgs.dispatch ();
    }
    else if ( eNotificationRequired () )
        eNotify ( new ENotificationImpl ( this, Notification.SET, InfrastructurePackage.WORLD__DEFAULT_CREDENTIALS, newDefaultCredentials, newDefaultCredentials ) );
}
项目:neoscada    文件:ExternalDriverImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setAccessCredentials ( Credentials newAccessCredentials )
{
    if ( newAccessCredentials != accessCredentials )
    {
        NotificationChain msgs = null;
        if ( accessCredentials != null )
            msgs = ( (InternalEObject)accessCredentials ).eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.EXTERNAL_DRIVER__ACCESS_CREDENTIALS, null, msgs );
        if ( newAccessCredentials != null )
            msgs = ( (InternalEObject)newAccessCredentials ).eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.EXTERNAL_DRIVER__ACCESS_CREDENTIALS, null, msgs );
        msgs = basicSetAccessCredentials ( newAccessCredentials, msgs );
        if ( msgs != null )
            msgs.dispatch ();
    }
    else if ( eNotificationRequired () )
        eNotify ( new ENotificationImpl ( this, Notification.SET, InfrastructurePackage.EXTERNAL_DRIVER__ACCESS_CREDENTIALS, newAccessCredentials, newAccessCredentials ) );
}
项目:neoscada    文件:ScriptItemImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetUpdateScript ( CodeFragment newUpdateScript, NotificationChain msgs )
{
    CodeFragment oldUpdateScript = updateScript;
    updateScript = newUpdateScript;
    if ( eNotificationRequired () )
    {
        ENotificationImpl notification = new ENotificationImpl ( this, Notification.SET, OsgiPackage.SCRIPT_ITEM__UPDATE_SCRIPT, oldUpdateScript, newUpdateScript );
        if ( msgs == null )
            msgs = notification;
        else
            msgs.add ( notification );
    }
    return msgs;
}
项目:rgse.ttc17.emoflon.tgg    文件:PSCHImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ING getRvAMod() {
    if (rvAMod != null && rvAMod.eIsProxy()) {
        InternalEObject oldRvAMod = (InternalEObject)rvAMod;
        rvAMod = (ING)eResolveProxy(oldRvAMod);
        if (rvAMod != oldRvAMod) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, LNGroupPPackage.PSCH__RV_AMOD, oldRvAMod, rvAMod));
        }
    }
    return rvAMod;
}
项目:rgse.ttc17.emoflon.tgg    文件:SwitchImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setSwitchOnCount(int newSwitchOnCount) {
    int oldSwitchOnCount = switchOnCount;
    switchOnCount = newSwitchOnCount;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, WiresPackage.SWITCH__SWITCH_ON_COUNT, oldSwitchOnCount, switchOnCount));
}
项目:rgse.ttc17.emoflon.tgg    文件:RADRImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setPstTmms(ING newPstTmms) {
    ING oldPstTmms = pstTmms;
    pstTmms = newPstTmms;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, LNGroupRPackage.RADR__PST_TMMS, oldPstTmms, pstTmms));
}
项目:ttc2017smartGrids    文件:PMUVoltageMeterImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setVoltageNeutMag(double newVoltageNeutMag) {
    double oldVoltageNeutMag = voltageNeutMag;
    voltageNeutMag = newVoltageNeutMag;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, OutagePreventionJointargetPackage.PMU_VOLTAGE_METER__VOLTAGE_NEUT_MAG, oldVoltageNeutMag, voltageNeutMag));
}
项目:ttc2017smartGrids    文件:MeterAssetModelImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setForm(String newForm) {
    String oldForm = form;
    form = newForm;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, InfAssetModelsPackage.METER_ASSET_MODEL__FORM, oldForm, form));
}
项目:gemoc-studio-modeldebugging    文件:ThreadImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
public void setState(State newState) {
    State oldState = state;
    state = newState == null ? STATE_EDEFAULT : newState;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, DebugPackage.THREAD__STATE, oldState,
                state));
}
项目:rgse.ttc17.emoflon.tgg    文件:ErpTimeEntryImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setErpProjectAccounting(ErpProjectAccounting newErpProjectAccounting) {
    if (newErpProjectAccounting != erpProjectAccounting) {
        NotificationChain msgs = null;
        if (erpProjectAccounting != null)
            msgs = ((InternalEObject)erpProjectAccounting).eInverseRemove(this, InfERPSupportPackage.ERP_PROJECT_ACCOUNTING__ERP_TIME_ENTRIES, ErpProjectAccounting.class, msgs);
        if (newErpProjectAccounting != null)
            msgs = ((InternalEObject)newErpProjectAccounting).eInverseAdd(this, InfERPSupportPackage.ERP_PROJECT_ACCOUNTING__ERP_TIME_ENTRIES, ErpProjectAccounting.class, msgs);
        msgs = basicSetErpProjectAccounting(newErpProjectAccounting, msgs);
        if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, InfERPSupportPackage.ERP_TIME_ENTRY__ERP_PROJECT_ACCOUNTING, newErpProjectAccounting, newErpProjectAccounting));
}
项目:Saturn    文件:MarkitWireResourceImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetTimeOut(ComplexValue newTimeOut, NotificationChain msgs)
{
  ComplexValue oldTimeOut = timeOut;
  timeOut = newTimeOut;
  if (eNotificationRequired())
  {
    ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, MarkitwireResourcePackage.MARKIT_WIRE_RESOURCE__TIME_OUT, oldTimeOut, newTimeOut);
    if (msgs == null) msgs = notification; else msgs.add(notification);
  }
  return msgs;
}
项目:rgse.ttc17.emoflon.tgg    文件:MHANImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ASG getThdVVal() {
    if (thdVVal != null && thdVVal.eIsProxy()) {
        InternalEObject oldThdVVal = (InternalEObject)thdVVal;
        thdVVal = (ASG)eResolveProxy(oldThdVVal);
        if (thdVVal != oldThdVVal) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, LNGroupMPackage.MHAN__THD_VVAL, oldThdVVal, thdVVal));
        }
    }
    return thdVVal;
}
项目:ttc2017smartGrids    文件:ShuntImpedanceInfoImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setLowVoltageOverride(float newLowVoltageOverride) {
    float oldLowVoltageOverride = lowVoltageOverride;
    lowVoltageOverride = newLowVoltageOverride;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, InfAssetsPackage.SHUNT_IMPEDANCE_INFO__LOW_VOLTAGE_OVERRIDE, oldLowVoltageOverride, lowVoltageOverride));
}
项目:ttc2017smartGrids    文件:PFRCImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setBlkV(SPS newBlkV) {
    SPS oldBlkV = blkV;
    blkV = newBlkV;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, LNGroupPPackage.PFRC__BLK_V, oldBlkV, blkV));
}
项目:ttc2017smartGrids    文件:AVCOImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ASG getLimVOv() {
    if (limVOv != null && limVOv.eIsProxy()) {
        InternalEObject oldLimVOv = (InternalEObject)limVOv;
        limVOv = (ASG)eResolveProxy(oldLimVOv);
        if (limVOv != oldLimVOv) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, LNGroupAPackage.AVCO__LIM_VOV, oldLimVOv, limVOv));
        }
    }
    return limVOv;
}
项目:ttc2017smartGrids    文件:GmlSymbolImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetGmlBaseSymbol(GmlBaseSymbol newGmlBaseSymbol, NotificationChain msgs) {
    GmlBaseSymbol oldGmlBaseSymbol = gmlBaseSymbol;
    gmlBaseSymbol = newGmlBaseSymbol;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InfGMLSupportPackage.GML_SYMBOL__GML_BASE_SYMBOL, oldGmlBaseSymbol, newGmlBaseSymbol);
        if (msgs == null) msgs = notification; else msgs.add(notification);
    }
    return msgs;
}
项目:Saturn    文件:InformixResourceImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetDatabase(ComplexValue newDatabase, NotificationChain msgs)
{
  ComplexValue oldDatabase = database;
  database = newDatabase;
  if (eNotificationRequired())
  {
    ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InformixResourcePackage.INFORMIX_RESOURCE__DATABASE, oldDatabase, newDatabase);
    if (msgs == null) msgs = notification; else msgs.add(notification);
  }
  return msgs;
}
项目:neoscada    文件:GridChildImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setHorizontalAlignment ( GridAlignment newHorizontalAlignment )
{
    GridAlignment oldHorizontalAlignment = horizontalAlignment;
    horizontalAlignment = newHorizontalAlignment == null ? HORIZONTAL_ALIGNMENT_EDEFAULT : newHorizontalAlignment;
    if ( eNotificationRequired () )
        eNotify ( new ENotificationImpl ( this, Notification.SET, VisualInterfacePackage.GRID_CHILD__HORIZONTAL_ALIGNMENT, oldHorizontalAlignment, horizontalAlignment ) );
}
项目:ttc2017smartGrids    文件:PVPHImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ING getTypRsCrv() {
    if (typRsCrv != null && typRsCrv.eIsProxy()) {
        InternalEObject oldTypRsCrv = (InternalEObject)typRsCrv;
        typRsCrv = (ING)eResolveProxy(oldTypRsCrv);
        if (typRsCrv != oldTypRsCrv) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, LNGroupPPackage.PVPH__TYP_RS_CRV, oldTypRsCrv, typRsCrv));
        }
    }
    return typRsCrv;
}
项目:ttc2017smartGrids    文件:NonStandardItemImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setAmount(float newAmount) {
    float oldAmount = amount;
    amount = newAmount;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, InfWorkPackage.NON_STANDARD_ITEM__AMOUNT, oldAmount, amount));
}
项目:rgse.ttc17.emoflon.tgg    文件:ErpPersonImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ElectronicAddress getElectronicAddress() {
    if (electronicAddress != null && electronicAddress.eIsProxy()) {
        InternalEObject oldElectronicAddress = (InternalEObject)electronicAddress;
        electronicAddress = (ElectronicAddress)eResolveProxy(oldElectronicAddress);
        if (electronicAddress != oldElectronicAddress) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfERPSupportPackage.ERP_PERSON__ELECTRONIC_ADDRESS, oldElectronicAddress, electronicAddress));
        }
    }
    return electronicAddress;
}
项目:ttc2017smartGrids    文件:TapChangerAssetModelImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setRatedApparentPower(float newRatedApparentPower) {
    float oldRatedApparentPower = ratedApparentPower;
    ratedApparentPower = newRatedApparentPower;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, InfAssetModelsPackage.TAP_CHANGER_ASSET_MODEL__RATED_APPARENT_POWER, oldRatedApparentPower, ratedApparentPower));
}
项目:ttc2017smartGrids    文件:BushingInfoImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setC1PowerFactor(float newC1PowerFactor) {
    float oldC1PowerFactor = c1PowerFactor;
    c1PowerFactor = newC1PowerFactor;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, InfAssetsPackage.BUSHING_INFO__C1_POWER_FACTOR, oldC1PowerFactor, c1PowerFactor));
}
项目:ttc2017smartGrids    文件:POPFImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ING getRsDiTmms() {
    if (rsDiTmms != null && rsDiTmms.eIsProxy()) {
        InternalEObject oldRsDiTmms = (InternalEObject)rsDiTmms;
        rsDiTmms = (ING)eResolveProxy(oldRsDiTmms);
        if (rsDiTmms != oldRsDiTmms) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, LNGroupPPackage.POPF__RS_DI_TMMS, oldRsDiTmms, rsDiTmms));
        }
    }
    return rsDiTmms;
}
项目:neoscada    文件:TextComponentImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setHeight ( int newHeight )
{
    int oldHeight = height;
    height = newHeight;
    if ( eNotificationRequired () )
        eNotify ( new ENotificationImpl ( this, Notification.SET, DetailViewPackage.TEXT_COMPONENT__HEIGHT, oldHeight, height ) );
}
项目:ttc2017smartGrids    文件:DistributionLineSegmentImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ConductorInfo getConductorInfo() {
    if (conductorInfo != null && conductorInfo.eIsProxy()) {
        InternalEObject oldConductorInfo = (InternalEObject)conductorInfo;
        conductorInfo = (ConductorInfo)eResolveProxy(oldConductorInfo);
        if (conductorInfo != oldConductorInfo) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, WiresExtPackage.DISTRIBUTION_LINE_SEGMENT__CONDUCTOR_INFO, oldConductorInfo, conductorInfo));
        }
    }
    return conductorInfo;
}
项目:ttc2017smartGrids    文件:CombinedCyclePlantImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setCombCyclePlantRating(float newCombCyclePlantRating) {
    float oldCombCyclePlantRating = combCyclePlantRating;
    combCyclePlantRating = newCombCyclePlantRating;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, ProductionPackage.COMBINED_CYCLE_PLANT__COMB_CYCLE_PLANT_RATING, oldCombCyclePlantRating, combCyclePlantRating));
}
项目:ttc2017smartGrids    文件:GmlGeometryStyleImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setGmlLabelStyle(GmlLabelStyle newGmlLabelStyle) {
    if (newGmlLabelStyle != gmlLabelStyle) {
        NotificationChain msgs = null;
        if (gmlLabelStyle != null)
            msgs = ((InternalEObject)gmlLabelStyle).eInverseRemove(this, InfGMLSupportPackage.GML_LABEL_STYLE__GML_GEOMETRY_STYLES, GmlLabelStyle.class, msgs);
        if (newGmlLabelStyle != null)
            msgs = ((InternalEObject)newGmlLabelStyle).eInverseAdd(this, InfGMLSupportPackage.GML_LABEL_STYLE__GML_GEOMETRY_STYLES, GmlLabelStyle.class, msgs);
        msgs = basicSetGmlLabelStyle(newGmlLabelStyle, msgs);
        if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, InfGMLSupportPackage.GML_GEOMETRY_STYLE__GML_LABEL_STYLE, newGmlLabelStyle, newGmlLabelStyle));
}
项目:Saturn    文件:CustomFileImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetRowSeparator(ComplexValue newRowSeparator, NotificationChain msgs)
{
  ComplexValue oldRowSeparator = rowSeparator;
  rowSeparator = newRowSeparator;
  if (eNotificationRequired())
  {
    ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FileResourcePackage.CUSTOM_FILE__ROW_SEPARATOR, oldRowSeparator, newRowSeparator);
    if (msgs == null) msgs = notification; else msgs.add(notification);
  }
  return msgs;
}
项目:n4js    文件:DeclaredVersionImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setMinor(int newMinor) {
    int oldMinor = minor;
    minor = newMinor;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, N4mfPackage.DECLARED_VERSION__MINOR, oldMinor, minor));
}
项目:ttc2017smartGrids    文件:ChangeItemImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setGmlSelector(GmlSelector newGmlSelector) {
    if (newGmlSelector != gmlSelector) {
        NotificationChain msgs = null;
        if (gmlSelector != null)
            msgs = ((InternalEObject)gmlSelector).eInverseRemove(this, InfGMLSupportPackage.GML_SELECTOR__CHANGE_ITEMS, GmlSelector.class, msgs);
        if (newGmlSelector != null)
            msgs = ((InternalEObject)newGmlSelector).eInverseAdd(this, InfGMLSupportPackage.GML_SELECTOR__CHANGE_ITEMS, GmlSelector.class, msgs);
        msgs = basicSetGmlSelector(newGmlSelector, msgs);
        if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, InfOperationsPackage.CHANGE_ITEM__GML_SELECTOR, newGmlSelector, newGmlSelector));
}
项目:ttc2017smartGrids    文件:PTUFImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setRsDlTmms(ING newRsDlTmms) {
    ING oldRsDlTmms = rsDlTmms;
    rsDlTmms = newRsDlTmms;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, LNGroupPPackage.PTUF__RS_DL_TMMS, oldRsDlTmms, rsDlTmms));
}
项目:ttc2017smartGrids    文件:ElectricityTimeEntriesImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setBilling_period_reset_lockout_time(String newBilling_period_reset_lockout_time) {
    String oldBilling_period_reset_lockout_time = billing_period_reset_lockout_time;
    billing_period_reset_lockout_time = newBilling_period_reset_lockout_time;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, COSEMObjectsPackage.ELECTRICITY_TIME_ENTRIES__BILLING_PERIOD_RESET_LOCKOUT_TIME, oldBilling_period_reset_lockout_time, billing_period_reset_lockout_time));
}
项目:ttc2017smartGrids    文件:MeterAssetPhysicalDevicePairImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public PhysicalDevice getB() {
    if (b != null && b.eIsProxy()) {
        InternalEObject oldB = (InternalEObject)b;
        b = (PhysicalDevice)eResolveProxy(oldB);
        if (b != oldB) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, GluemodelPackage.METER_ASSET_PHYSICAL_DEVICE_PAIR__B, oldB, b));
        }
    }
    return b;
}
项目:gw4e.project    文件:GraphPoliciesImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setGraphModelPolicies(String newGraphModelPolicies)
{
  String oldGraphModelPolicies = graphModelPolicies;
  graphModelPolicies = newGraphModelPolicies;
  if (eNotificationRequired())
    eNotify(new ENotificationImpl(this, Notification.SET, DSLPoliciesPackage.GRAPH_POLICIES__GRAPH_MODEL_POLICIES, oldGraphModelPolicies, graphModelPolicies));
}