Package org.eclipse.emf.ecore.impl

Examples of org.eclipse.emf.ecore.impl.ENotificationImpl


   */
  public void setIsDisjoint(boolean newIsDisjoint) {
    boolean oldIsDisjoint = isDisjoint;
    isDisjoint = newIsDisjoint;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.GENERALIZATION_SET__IS_DISJOINT, oldIsDisjoint, isDisjoint));
  }
View Full Code Here


   */
  public void setIsLeaf(boolean newIsLeaf) {
    boolean oldIsLeaf = isLeaf;
    isLeaf = newIsLeaf;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.REDEFINABLE_ELEMENT__IS_LEAF, oldIsLeaf, isLeaf));
  }
View Full Code Here

        msgs = ((InternalEObject)newContainer).eInverseAdd(this, OntoUMLPackage.CONTAINER__INSTANCIAR_ELEMENT, Container.class, msgs);
      msgs = basicSetContainer(newContainer, msgs);
      if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.ELEMENT__CONTAINER, newContainer, newContainer));
  }
View Full Code Here

  public void setSourcePropertyNameLabelAux(String newSourcePropertyNameLabelAux) {
    // TODO: implement this method to set the 'Source Property Name Label Aux' attribute
    // Ensure that you remove @generated or mark it @generated NOT
   
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.DIRECTED_RELATIONSHIP__SOURCE_PROPERTY_NAME_LABEL_AUX, getSourcePropertyNameLabelAux(), newSourcePropertyNameLabelAux));

    //throw new UnsupportedOperationException();
  }
View Full Code Here

  public void setTargetPropertyNameLabelAux(String newTargetPropertyNameLabelAux) {
    // TODO: implement this method to set the 'Target Property Name Label Aux' attribute
    // Ensure that you remove @generated or mark it @generated NOT
   
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.DIRECTED_RELATIONSHIP__TARGET_PROPERTY_NAME_LABEL_AUX, getTargetPropertyNameLabelAux(), newTargetPropertyNameLabelAux));
   
    //throw new UnsupportedOperationException();
  }
View Full Code Here

  public void setSourcePropertyCardinalitiesLabelAux(String newSourcePropertyCardinalitiesLabelAux) {
    // TODO: implement this method to set the 'Source Property Cardinalities Label Aux' attribute
    // Ensure that you remove @generated or mark it @generated NOT
   
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.DIRECTED_RELATIONSHIP__SOURCE_PROPERTY_CARDINALITIES_LABEL_AUX, getSourcePropertyCardinalitiesLabelAux(), newSourcePropertyCardinalitiesLabelAux));
   
    //throw new UnsupportedOperationException();
  }
View Full Code Here

  public void setTargetPropertyCardinalitiesLabelAux(String newTargetPropertyCardinalitiesLabelAux) {
    // TODO: implement this method to set the 'Target Property Cardinalities Label Aux' attribute
    // Ensure that you remove @generated or mark it @generated NOT
   
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.DIRECTED_RELATIONSHIP__TARGET_PROPERTY_CARDINALITIES_LABEL_AUX, getTargetPropertyCardinalitiesLabelAux(), newTargetPropertyCardinalitiesLabelAux));
   
    //throw new UnsupportedOperationException();
  }
View Full Code Here

   */
  public void setUpper(int newUpper) {
    int oldUpper = upper;
    upper = newUpper;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.MULTIPLICITY_ELEMENT__UPPER, oldUpper, upper));
  }
View Full Code Here

   */
  public void setLower(int newLower) {
    int oldLower = lower;
    lower = newLower;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.MULTIPLICITY_ELEMENT__LOWER, oldLower, lower));
  }
View Full Code Here

   */
  public void setName(String newName) {
    String oldName = name;
    name = newName;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OntoUMLPackage.NAMED_ELEMENT__NAME, oldName, name));
  }
View Full Code Here

TOP

Related Classes of org.eclipse.emf.ecore.impl.ENotificationImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.