Package Subset0267.impl

Examples of Subset0267.impl.SpecsTypeImpl


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetSpecs(SpecsType newSpecs, NotificationChain msgs) {
    SpecsType oldSpecs = specs;
    specs = newSpecs;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Subset0267Package.TVARIABLE__SPECS, oldSpecs, newSpecs);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetBothWays(TBothWays newBothWays, NotificationChain msgs) {
    TBothWays oldBothWays = bothWays;
    bothWays = newBothWays;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Subset0267Package.TPACKETS__BOTH_WAYS, oldBothWays, newBothWays);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetContent(TContent newContent, NotificationChain msgs) {
    TContent oldContent = content;
    content = newContent;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Subset0267Package.TPACKET__CONTENT, oldContent, newContent);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setFormula(TFormula newFormula) {
    TFormula oldFormula = formula;
    formula = newFormula == null ? FORMULA_EDEFAULT : newFormula;
    boolean oldFormulaESet = formulaESet;
    formulaESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, Subset0267Package.SPECS_TYPE__FORMULA, oldFormula, formula, !oldFormulaESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetFormula() {
    TFormula oldFormula = formula;
    boolean oldFormulaESet = formulaESet;
    formula = FORMULA_EDEFAULT;
    formulaESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, Subset0267Package.SPECS_TYPE__FORMULA, oldFormula, FORMULA_EDEFAULT, oldFormulaESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setNumber(TIDNumber newNumber) {
    TIDNumber oldNumber = number;
    number = newNumber == null ? NUMBER_EDEFAULT : newNumber;
    boolean oldNumberESet = numberESet;
    numberESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, Subset0267Package.TPACKET__NUMBER, oldNumber, number, !oldNumberESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetNumber() {
    TIDNumber oldNumber = number;
    boolean oldNumberESet = numberESet;
    number = NUMBER_EDEFAULT;
    numberESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, Subset0267Package.TPACKET__NUMBER, oldNumber, NUMBER_EDEFAULT, oldNumberESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setLength(TLength newLength) {
    TLength oldLength = length;
    length = newLength == null ? LENGTH_EDEFAULT : newLength;
    boolean oldLengthESet = lengthESet;
    lengthESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, Subset0267Package.TTLG_VAR__LENGTH, oldLength, length, !oldLengthESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetLength() {
    TLength oldLength = length;
    boolean oldLengthESet = lengthESet;
    length = LENGTH_EDEFAULT;
    lengthESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, Subset0267Package.TTLG_VAR__LENGTH, oldLength, LENGTH_EDEFAULT, oldLengthESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setMaxVal(TMaxVal newMaxVal) {
    TMaxVal oldMaxVal = maxVal;
    maxVal = newMaxVal == null ? MAX_VAL_EDEFAULT : newMaxVal;
    boolean oldMaxValESet = maxValESet;
    maxValESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, Subset0267Package.SPECS_TYPE__MAX_VAL, oldMaxVal, maxVal, !oldMaxValESet));
View Full Code Here

TOP

Related Classes of Subset0267.impl.SpecsTypeImpl

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.