Package Subset0267

Examples of Subset0267.TPackets


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


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setMinVal(TMinVal newMinVal) {
    TMinVal oldMinVal = minVal;
    minVal = newMinVal == null ? MIN_VAL_EDEFAULT : newMinVal;
    boolean oldMinValESet = minValESet;
    minValESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, Subset0267Package.SPECS_TYPE__MIN_VAL, oldMinVal, minVal, !oldMinValESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetMinVal() {
    TMinVal oldMinVal = minVal;
    boolean oldMinValESet = minValESet;
    minVal = MIN_VAL_EDEFAULT;
    minValESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, Subset0267Package.SPECS_TYPE__MIN_VAL, oldMinVal, MIN_VAL_EDEFAULT, oldMinValESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetPacket(TPacket newPacket, NotificationChain msgs) {
    TPacket oldPacket = packet;
    packet = newPacket;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Subset0267Package.TBOTH_WAYS__PACKET, oldPacket, newPacket);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetPackets(TPackets newPackets, NotificationChain msgs) {
    TPackets oldPackets = packets;
    packets = newPackets;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Subset0267Package.TDEFINITIONS__PACKETS, oldPackets, newPackets);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTrackToTrain(TTrackToTrain newTrackToTrain, NotificationChain msgs) {
    TTrackToTrain oldTrackToTrain = trackToTrain;
    trackToTrain = newTrackToTrain;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Subset0267Package.TPACKETS__TRACK_TO_TRAIN, oldTrackToTrain, newTrackToTrain);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTrainToTrack(TTrainToTrack newTrainToTrack, NotificationChain msgs) {
    TTrainToTrack oldTrainToTrack = trainToTrack;
    trainToTrack = newTrainToTrack;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Subset0267Package.TPACKETS__TRAIN_TO_TRACK, oldTrainToTrack, newTrainToTrack);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setTransmissionMedia(TTransmissionMedia newTransmissionMedia) {
    TTransmissionMedia oldTransmissionMedia = transmissionMedia;
    transmissionMedia = newTransmissionMedia == null ? TRANSMISSION_MEDIA_EDEFAULT : newTransmissionMedia;
    boolean oldTransmissionMediaESet = transmissionMediaESet;
    transmissionMediaESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, Subset0267Package.TPACKET__TRANSMISSION_MEDIA, oldTransmissionMedia, transmissionMedia, !oldTransmissionMediaESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetTransmissionMedia() {
    TTransmissionMedia oldTransmissionMedia = transmissionMedia;
    boolean oldTransmissionMediaESet = transmissionMediaESet;
    transmissionMedia = TRANSMISSION_MEDIA_EDEFAULT;
    transmissionMediaESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, Subset0267Package.TPACKET__TRANSMISSION_MEDIA, oldTransmissionMedia, TRANSMISSION_MEDIA_EDEFAULT, oldTransmissionMediaESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setValue(TValue newValue) {
    TValue oldValue = value;
    value = newValue == null ? VALUE_EDEFAULT : newValue;
    boolean oldValueESet = valueESet;
    valueESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, Subset0267Package.SPECIAL_TYPE__VALUE, oldValue, value, !oldValueESet));
View Full Code Here

TOP

Related Classes of Subset0267.TPackets

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.